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"
14
#include "
include/ModelComponent.hpp
"
15
16
namespace
Nextsim {
17
class
DummyDynamics
:
public
IDynamics
{
18
public
:
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 */
IDynamics.hpp
ModelComponent.hpp
Nextsim::DummyDynamics
Definition
DummyDynamics.hpp:17
Nextsim::DummyDynamics::setData
void setData(const ModelState::DataMap &) override
Set the initial data of the component from the passed ModelState.
Definition
DummyDynamics.hpp:24
Nextsim::DummyDynamics::getName
std::string getName() const override
Returns the name of the component.
Definition
DummyDynamics.hpp:21
Nextsim::IDynamics
Definition
IDynamics.hpp:15
Nextsim::TimestepTime
Definition
Time.hpp:219
core
src
modules
include
DummyDynamics.hpp
Generated by
1.12.0