/home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/density/DensitySource.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/density/DensitySource.H Source File
AMR-Wind 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
8#include "AMReX_MultiFab.H"
9
10namespace amr_wind {
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 operator()(
24 const int lev,
25 const amrex::MFIter& mfi,
26 const amrex::Box& bx,
27 const FieldState fstate,
28 const amrex::Array4<amrex::Real>& src_term) const = 0;
29};
30
31} // namespace pde
32} // namespace amr_wind
33
34#endif /* DENSITYSOURCE_H */
Definition DensitySource.H:17
virtual void operator()(const int lev, const amrex::MFIter &mfi, const amrex::Box &bx, const FieldState fstate, const amrex::Array4< amrex::Real > &src_term) const =0
~DensitySource() override=default
static std::string base_identifier()
Definition DensitySource.H:19
FieldState
Definition FieldDescTypes.H:14
Definition BCInterface.cpp:7
Definition Factory.H:65