/home/runner/work/kynema-sgf/kynema-sgf/src/equation_systems/icns/source_terms/ForestForcing.H Source File

Kynema-SGF API: /home/runner/work/kynema-sgf/kynema-sgf/src/equation_systems/icns/source_terms/ForestForcing.H Source File
Kynema-SGF API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
ForestForcing.H
Go to the documentation of this file.
1#ifndef FORESTFORCING_H
2#define FORESTFORCING_H
3
5#include "src/core/SimTime.H"
6#include "src/CFDSim.H"
7
8namespace kynema_sgf::pde::icns {
9
16class ForestForcing : public MomentumSource::Register<ForestForcing>
17{
18public:
19 static std::string identifier() { return "ForestForcing"; }
20
21 explicit ForestForcing(const CFDSim& sim);
22
23 ~ForestForcing() override;
24
25 void operator()(
26 int lev, FieldState fstate, amrex::MultiFab& src_term) const override;
27
28private:
29 const CFDSim& m_sim;
31};
32
33} // namespace kynema_sgf::pde::icns
34
35#endif
Definition CFDSim.H:55
Definition Field.H:112
void operator()(int lev, FieldState fstate, amrex::MultiFab &src_term) const override
Definition ForestForcing.cpp:16
const CFDSim & m_sim
Definition ForestForcing.H:29
static std::string identifier()
Definition ForestForcing.H:19
const Field & m_velocity
Definition ForestForcing.H:30
ForestForcing(const CFDSim &sim)
Definition ForestForcing.cpp:10
FieldState
Definition FieldDescTypes.H:16
Definition ABLForcing.cpp:14