/home/runner/work/amr-wind/amr-wind/amr-wind/physics/mms/MMSForcing.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/physics/mms/MMSForcing.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
MMSForcing.H
Go to the documentation of this file.
1#ifndef MMSFORCING_H
2#define MMSFORCING_H
3
6
8
9class MMSForcing : public MomentumSource::Register<MMSForcing>
10{
11public:
12 static std::string identifier() { return "MMSForcing"; }
13
14 explicit MMSForcing(const CFDSim& sim);
15
16 ~MMSForcing() override = default;
17
18 void operator()(
19 const int lev,
20 const amrex::MFIter& mfi,
21 const amrex::Box& bx,
22 const FieldState fstate,
23 const amrex::Array4<amrex::Real>& src_term) const override;
24
25private:
27};
28} // namespace amr_wind::pde::icns::mms
29
30#endif /* MMSFORCING_H */
Definition CFDSim.H:51
Definition Field.H:116
Definition MMSForcing.H:10
static std::string identifier()
Definition MMSForcing.H:12
MMSForcing(const CFDSim &sim)
Definition MMSForcing.cpp:9
const Field & m_mms_vel_source
Definition MMSForcing.H:26
void operator()(const int lev, const amrex::MFIter &mfi, const amrex::Box &bx, const FieldState fstate, const amrex::Array4< amrex::Real > &src_term) const override
Definition MMSForcing.cpp:15
FieldState
Definition FieldDescTypes.H:14
Definition MMSForcing.cpp:5