/home/runner/work/kynema-sgf/kynema-sgf/src/equation_systems/density/DensitySource.H Source File

Kynema-SGF API: /home/runner/work/kynema-sgf/kynema-sgf/src/equation_systems/density/DensitySource.H Source File
Kynema-SGF API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
DensitySource.H
Go to the documentation of this file.
1#ifndef DENSITYSOURCE_H
2#define DENSITYSOURCE_H
3
4#include "src/core/Factory.H"
8#include "AMReX_MultiFab.H"
9
10namespace kynema_sgf {
11
12class CFDSim;
13
14namespace pde {
15
16class DensitySource : public Factory<DensitySource, const CFDSim&>
17{
18public:
19 static std::string base_identifier() { return "DensitySource"; }
20
21 ~DensitySource() override = default;
22
23 virtual void
24 operator()(int lev, FieldState fstate, amrex::MultiFab& src_term) const = 0;
25};
26
27} // namespace pde
28} // namespace kynema_sgf
29
30#endif /* DENSITYSOURCE_H */
Definition CFDSim.H:55
Definition DensitySource.H:17
static std::string base_identifier()
Definition DensitySource.H:19
virtual void operator()(int lev, FieldState fstate, amrex::MultiFab &src_term) const =0
~DensitySource() override=default
FieldState
Definition FieldDescTypes.H:16
Definition AdvOp_Godunov.H:22
This test case is intended as an evaluation of the momentum advection scheme.
Definition BCInterface.cpp:10