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

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/ABLFillInflow.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
ABLFillInflow.H
Go to the documentation of this file.
1#ifndef ABLFILLINFLOW_H
2#define ABLFILLINFLOW_H
3
7
8namespace amr_wind {
9
18class ABLFillInflow : public FieldFillPatchOps<FieldBCDirichlet>
19{
20public:
22 Field& field,
23 const amrex::AmrCore& mesh,
24 const SimTime& time,
25 const ABLBoundaryPlane& bndry_plane);
26
27 ~ABLFillInflow() override;
28
29 void fillpatch(
30 int lev,
31 amrex::Real time,
32 amrex::MultiFab& mfab,
33 const amrex::IntVect& nghost,
34 const FieldState fstate = FieldState::New) override;
35
37 int lev,
38 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 int lev,
50 amrex::Real time,
51 amrex::MultiFab& mfab,
52 const amrex::IntVect& nghost,
53 const FieldState fstate = FieldState::New) override;
54
56 void fillphysbc(
57 int lev,
58 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 /* ABLFILLINFLOW_H */
Definition ABLBoundaryPlane.H:110
Definition ABLFillInflow.H:19
const ABLBoundaryPlane & m_bndry_plane
Definition ABLFillInflow.H:64
void fillpatch_from_coarse(int lev, 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 ABLFillInflow.cpp:30
void fillpatch(int lev, amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState fstate=FieldState::New) override
Definition ABLFillInflow.cpp:17
ABLFillInflow(Field &field, const amrex::AmrCore &mesh, const SimTime &time, const ABLBoundaryPlane &bndry_plane)
Definition ABLFillInflow.cpp:5
void fillpatch_sibling_fields(int lev, 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 ABLFillInflow.cpp:56
void fillphysbc(int lev, amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState fstate=FieldState::New) override
Implementation that handles filling physical boundary conditions.
Definition ABLFillInflow.cpp:43
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