netxsimdg
Loading...
Searching...
No Matches
DummyDynamics.hpp
Go to the documentation of this file.
1
8#ifndef DUMMYDYNAMICS_HPP
9#define DUMMYDYNAMICS_HPP
10
11#include "IDynamics.hpp"
12
13#include "include/ModelArray.hpp"
15
16namespace Nextsim {
17class DummyDynamics : public IDynamics {
18public:
19 DummyDynamics() = default;
20
21 std::string getName() const override { return "DummyDynamics"; }
22 void update(const TimestepTime& tst) override { };
23
24 void setData(const ModelState::DataMap&) override { };
25};
26}
27
28#endif /* DUMMYDYNAMICS_HPP */
void setData(const ModelState::DataMap &) override
Set the initial data of the component from the passed ModelState.
std::string getName() const override
Returns the name of the component.