netxsimdg
Loading...
Searching...
No Matches
Dynamics.hpp
Go to the documentation of this file.
1
9#ifndef DYNAMICS_HPP
10#define DYNAMICS_HPP
11
12#include "IDynamics.hpp"
13
14#include "../../../../dynamics/src/include/DynamicsKernel.hpp"
15#include "include/ModelArray.hpp"
17
18namespace Nextsim {
19class Dynamics : public IDynamics {
20public:
21 Dynamics();
22
23 std::string getName() const override { return "Dynamics"; }
24 void update(const TimestepTime& tst) override;
25
26 void setData(const ModelState::DataMap&) override;
27private:
28 // TODO: How to get the template parameters here?
29 DynamicsKernel<2, 6> kernel;
30};
31}
32
33#endif /* DYNAMICS_HPP */
std::string getName() const override
Returns the name of the component.
Definition Dynamics.hpp:23
void setData(const ModelState::DataMap &) override
Set the initial data of the component from the passed ModelState.
Definition Dynamics.cpp:27