/home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/ABLFillMPL.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/ABLFillMPL.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
ABLFillMPL.H
Go to the documentation of this file.
1#ifndef ABLFILLMPL_H
2#define ABLFILLMPL_H
3
7
8namespace amr_wind {
9
18class ABLFillMPL : public FieldFillPatchOps<FieldBCDirichlet>
19{
20public:
22 Field& field,
23 const amrex::AmrCore& mesh,
24 const SimTime& time,
25 const ABLModulatedPowerLaw& abl_mpl);
26
27 ~ABLFillMPL() override;
28
29 void fillpatch(
30 const int lev,
31 const amrex::Real time,
32 amrex::MultiFab& mfab,
33 const amrex::IntVect& nghost,
34 const FieldState fstate = FieldState::New) override;
35
37 const int lev,
38 const amrex::Real time,
39 amrex::Array<amrex::MultiFab*, AMREX_SPACEDIM>& mfabs,
40 amrex::Array<amrex::MultiFab*, AMREX_SPACEDIM>& ffabs,
41 amrex::Array<amrex::MultiFab*, AMREX_SPACEDIM>& cfabs,
42 const amrex::IntVect& nghost,
43 const amrex::Vector<amrex::BCRec>& bcrec,
44 const amrex::Vector<amrex::BCRec>& /* unused */,
45 const FieldState fstate = FieldState::New) override;
46
49 const int lev,
50 const amrex::Real time,
51 amrex::MultiFab& mfab,
52 const amrex::IntVect& nghost,
53 const FieldState fstate = FieldState::New) override;
54
56 void fillphysbc(
57 const int lev,
58 const amrex::Real time,
59 amrex::MultiFab& mfab,
60 const amrex::IntVect& nghost,
61 const FieldState fstate = FieldState::New) override;
62
63protected:
65};
66
67} // namespace amr_wind
68
69#endif /* ABLFILLMPL_H */
Definition ABLFillMPL.H:19
ABLFillMPL(Field &field, const amrex::AmrCore &mesh, const SimTime &time, const ABLModulatedPowerLaw &abl_mpl)
Definition ABLFillMPL.cpp:5
void fillpatch(const int lev, const amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState fstate=FieldState::New) override
Definition ABLFillMPL.cpp:17
void fillpatch_sibling_fields(const int lev, const amrex::Real time, amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > &mfabs, amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > &ffabs, amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > &cfabs, const amrex::IntVect &nghost, const amrex::Vector< amrex::BCRec > &bcrec, const amrex::Vector< amrex::BCRec > &, const FieldState fstate=FieldState::New) override
Definition ABLFillMPL.cpp:68
void fillpatch_from_coarse(const int lev, const amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState fstate=FieldState::New) override
Implementation that handles filling patches from a coarse to fine level.
Definition ABLFillMPL.cpp:34
const ABLModulatedPowerLaw & m_abl_mpl
Definition ABLFillMPL.H:64
void fillphysbc(const int lev, const amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState fstate=FieldState::New) override
Implementation that handles filling physical boundary conditions.
Definition ABLFillMPL.cpp:51
~ABLFillMPL() override
Definition ABLModulatedPowerLaw.H:19
Definition FieldFillPatchOps.H:174
Definition Field.H:116
Definition SimTime.H:30
FieldState
Definition FieldDescTypes.H:14
@ New
Same as FieldState::NP1.
Definition BCInterface.cpp:7