Class IDynamics¶
Defined in File IDynamics.hpp
Inheritance Relationships¶
Base Type¶
public Nextsim::ModelComponent(Class ModelComponent)
Derived Types¶
public Nextsim::BBMDynamics(Class BBMDynamics)public Nextsim::DummyDynamics(Class DummyDynamics)public Nextsim::FreeDriftDynamics(Class FreeDriftDynamics)public Nextsim::MEVPDynamics(Class MEVPDynamics)
Class Documentation¶
-
class IDynamics : public Nextsim::ModelComponent¶
Subclassed by Nextsim::BBMDynamics, Nextsim::DummyDynamics, Nextsim::FreeDriftDynamics, Nextsim::MEVPDynamics
Public Functions
-
inline IDynamics()¶
-
inline IDynamics(bool usesDamageIn)¶
-
virtual ~IDynamics() = default¶
-
inline virtual ModelState getStatePrognostic() const override¶
Returns the state of the ModelComponent.
Returns the state of the ModelComponent and any ModelComponents it depends on.
The state returned by this function contains all the data necessary to restart this component and all components that it calls.
-
inline virtual ModelState getStateDiagnostic() const override¶
Returns all data and configuration from this component.
The state returned by this function contains all available data in this component and all components that it calls.
-
inline virtual void setData(const ModelState::DataMap &ms) override¶
Set the initial data of the component from the passed ModelState.
- Parameters:
state – The ModelState containing the data to be set.
-
virtual void update(const TimestepTime &tst) = 0¶
-
inline virtual bool usesDamage() const¶
Returns whether the dynamics implementation uses the damage field.
-
inline virtual void advectField(FloatType timestep, ModelArray &field, FloatType lowerLimit = -std::numeric_limits<FloatType>::infinity(), FloatType upperLimit = std::numeric_limits<FloatType>::infinity())¶
-
virtual void prepareAdvection() = 0¶
Protected Attributes
-
ModelArrayAccessor<Protected::ICE_U, RW> uiceAccessor¶
-
ModelArrayAccessor<Protected::ICE_V, RW> viceAccessor¶
-
ModelArrayAccessor<Protected::IO_STRESS_X, RW> tauxAccessor¶
-
ModelArrayAccessor<Protected::IO_STRESS_Y, RW> tauyAccessor¶
-
ModelArrayAccessor<Protected::SHEAR, RW> shearAccessor¶
-
ModelArrayAccessor<Protected::DIV, RW> divergenceAccessor¶
-
ModelArrayAccessor<Protected::SIGMAI, RW> sigmaIAccessor¶
-
ModelArrayAccessor<Protected::SIGMAII, RW> sigmaIIAccessor¶
-
ModelArrayAccessor<Shared::DAMAGE, RW> damageAccessor¶
-
ModelArrayAccessor<Protected::WIND_U> uwindAccessor¶
-
ModelArrayAccessor<Protected::WIND_V> vwindAccessor¶
-
ModelArrayAccessor<Protected::OCEAN_U> uoceanAccessor¶
-
ModelArrayAccessor<Protected::OCEAN_V> voceanAccessor¶
-
ModelArrayAccessor<Protected::SSH> sshAccessor¶
-
bool m_usesDamage¶
-
ModelArrayAccessor<Shared::H_ICE_DG, RW> hiceDGAccessor¶
-
ModelArrayAccessor<Shared::C_ICE_DG, RW> ciceDGAccessor¶
-
ModelArrayAccessor<Shared::H_SNOW_DG, RW> hsnowDGAccessor¶
Protected Static Functions
-
static inline bool checkSpherical(const ModelState::DataMap &ms)¶
-
inline IDynamics()¶