/home/runner/work/amr-wind/amr-wind/amr-wind/ocean_waves/boundary_ops/OceanWavesFillInflow.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/ocean_waves/boundary_ops/OceanWavesFillInflow.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
OceanWavesFillInflow.H
Go to the documentation of this file.
1#ifndef OCEANWAVESFILLINFLOW_H
2#define OCEANWAVESFILLINFLOW_H
3
7
8namespace amr_wind {
9
10class OceanWavesFillInflow : public FieldFillPatchOps<FieldBCDirichlet>
11{
12public:
14 Field& field,
15 const amrex::AmrCore& mesh,
16 const SimTime& time,
17 const OceanWavesBoundary& ow_bndry);
18
20
21 void fillpatch(
22 int lev,
23 amrex::Real time,
24 amrex::MultiFab& mfab,
25 const amrex::IntVect& nghost,
26 const FieldState fstate = FieldState::New) override;
27
29 int lev,
30 amrex::Real time,
31 amrex::Array<amrex::MultiFab*, AMREX_SPACEDIM>& mfabs,
32 amrex::Array<amrex::MultiFab*, AMREX_SPACEDIM>& ffabs,
33 amrex::Array<amrex::MultiFab*, AMREX_SPACEDIM>& cfabs,
34 const amrex::IntVect& nghost,
35 const amrex::Vector<amrex::BCRec>& bcrec,
36 const amrex::Vector<amrex::BCRec>& /* unused */,
37 const FieldState fstate = FieldState::New) override;
38
41 int lev,
42 amrex::Real time,
43 amrex::MultiFab& mfab,
44 const amrex::IntVect& nghost,
45 const FieldState fstate = FieldState::New) override;
46
48 void fillphysbc(
49 int lev,
50 amrex::Real time,
51 amrex::MultiFab& mfab,
52 const amrex::IntVect& nghost,
53 const FieldState fstate = FieldState::New) override;
54
55protected:
57};
58
59} // namespace amr_wind
60
61#endif /* ABLFILLINFLOW_H */
Definition FieldFillPatchOps.H:174
Definition Field.H:116
Definition OceanWavesBoundary.H:18
Definition OceanWavesFillInflow.H:11
const OceanWavesBoundary & m_ow_bndry
Definition OceanWavesFillInflow.H: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 OceanWavesFillInflow.cpp:56
OceanWavesFillInflow(Field &field, const amrex::AmrCore &mesh, const SimTime &time, const OceanWavesBoundary &ow_bndry)
Definition OceanWavesFillInflow.cpp:6
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 OceanWavesFillInflow.cpp:37
void fillpatch(int lev, amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState fstate=FieldState::New) override
Definition OceanWavesFillInflow.cpp:18
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 OceanWavesFillInflow.cpp:75
Definition SimTime.H:30
FieldState
Definition FieldDescTypes.H:14
@ New
Same as FieldState::NP1.
Definition BCInterface.cpp:7