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"
16
#include "
include/ModelComponent.hpp
"
17
18
namespace
Nextsim {
19
class
Dynamics
:
public
IDynamics
{
20
public
:
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
;
27
private
:
28
// TODO: How to get the template parameters here?
29
DynamicsKernel<2, 6> kernel;
30
};
31
}
32
33
#endif
/* DYNAMICS_HPP */
IDynamics.hpp
ModelComponent.hpp
Nextsim::Dynamics
Definition
Dynamics.hpp:19
Nextsim::Dynamics::getName
std::string getName() const override
Returns the name of the component.
Definition
Dynamics.hpp:23
Nextsim::Dynamics::setData
void setData(const ModelState::DataMap &) override
Set the initial data of the component from the passed ModelState.
Definition
Dynamics.cpp:27
Nextsim::IDynamics
Definition
IDynamics.hpp:15
Nextsim::TimestepTime
Definition
Time.hpp:219
core
src
modules
include
Dynamics.hpp
Generated by
1.12.0