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

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