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

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/equation_systems/SourceTerm.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
SourceTerm.H
Go to the documentation of this file.
1#ifndef SOURCETERM_H
2#define SOURCETERM_H
3
8#include "AMReX_MultiFab.H"
9
10namespace amr_wind {
11class CFDSim;
12
13namespace pde {
14
18class SourceTerm : public Factory<SourceTerm, const CFDSim&>
19{
20public:
21 static std::string base_identifier() { return "SourceTerm"; }
22
23 ~SourceTerm() override = default;
24
25 virtual void operator()(
26 const int lev,
27 const amrex::MFIter& mfi,
28 const amrex::Box& bx,
29 const FieldState fstate,
30 const amrex::Array4<amrex::Real>& src_term) const = 0;
31};
32
33} // namespace pde
34} // namespace amr_wind
35
36#endif /* SOURCETERM_H */
Definition SourceTerm.H:19
static std::string base_identifier()
Definition SourceTerm.H:21
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
~SourceTerm() override=default
FieldState
Definition FieldDescTypes.H:14
Definition BCInterface.cpp:7
Definition Factory.H:65