/home/runner/work/amr-wind/amr-wind/amr-wind/core/FieldFillPatchOps.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
FieldFillPatchOps.H
Go to the documentation of this file.
Definition FieldFillPatchOps.H:101
void fillpatch_from_coarse(int, amrex::Real, amrex::MultiFab &mfab, const amrex::IntVect &, const FieldState) override
Implementation that handles filling patches from a coarse to fine level.
Definition FieldFillPatchOps.H:133
void set_inflow(int, amrex::Real, amrex::MultiFab &, const amrex::IntVect &, const FieldState) override
Definition FieldFillPatchOps.H:153
void fillphysbc(int, amrex::Real, amrex::MultiFab &mfab, const amrex::IntVect &, const FieldState) override
Implementation that handles filling physical boundary conditions.
Definition FieldFillPatchOps.H:143
FieldFillConstScalar(Field &, amrex::Real fill_val)
Definition FieldFillPatchOps.H:103
void fillpatch_sibling_fields(int, amrex::Real, amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > &mfabs, amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > &, amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > &, const amrex::IntVect &, const amrex::Vector< amrex::BCRec > &, const amrex::Vector< amrex::BCRec > &, const FieldState) override
Definition FieldFillPatchOps.H:117
void fillpatch(int, amrex::Real, amrex::MultiFab &mfab, const amrex::IntVect &, const FieldState) override
Definition FieldFillPatchOps.H:107
Definition FieldFillPatchOps.H:39
FieldFillPatchOpsBase()=default
virtual 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 > &fillpatch_bcrec, const amrex::Vector< amrex::BCRec > &physbc_bcrec, const FieldState fstate=FieldState::New)=0
virtual ~FieldFillPatchOpsBase()=default
virtual void set_inflow_sibling_fields(const int lev, const amrex::Real time, amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > mfabs)=0
virtual void fillphysbc(const int lev, const amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState fstate=FieldState::New)=0
Implementation that handles filling physical boundary conditions.
virtual void set_inflow(const int lev, const amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState fstate=FieldState::New)=0
virtual void fillpatch_from_coarse(const int lev, const amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState fstate=FieldState::New)=0
Implementation that handles filling patches from a coarse to fine level.
virtual void fillpatch(const int lev, const amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState fstate=FieldState::New)=0
Definition FieldFillPatchOps.H:174
amrex::Vector< amrex::MultiFab * > get_mfab_vec(int lev)
Definition FieldFillPatchOps.H:224
FieldFillPatchOps(Field &field, const amrex::AmrCore &mesh, const SimTime &time, FieldInterpolator itype=FieldInterpolator::CellConsLinear, FieldInterpolator face_itype=FieldInterpolator::FaceDivFree)
Definition FieldFillPatchOps.H:185
void check_face_mapper()
Definition FieldFillPatchOps.H:485
typename BCOpCreator::FunctorType Functor
Definition FieldFillPatchOps.H:176
amrex::Interpolater * m_mapper
Function that handles interpolation from coarse to fine level.
Definition FieldFillPatchOps.H:506
Functor bc_functor_face(const int face_dir)
Definition FieldFillPatchOps.H:483
void set_inflow(int lev, amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState) override
Definition FieldFillPatchOps.H:362
void set_inflow_sibling_fields(const int lev, const amrex::Real time, const amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > mfabs) override
Definition FieldFillPatchOps.H:412
void fillpatch(int lev, amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState fstate=FieldState::New) override
Definition FieldFillPatchOps.H:240
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 FieldFillPatchOps.H:330
FieldFillPatchOps(Field &field, const amrex::AmrCore &mesh, const SimTime &time, const BCOpCreator &bc_op, FieldInterpolator itype=FieldInterpolator::CellConsLinear, FieldInterpolator face_itype=FieldInterpolator::FaceDivFree)
Definition FieldFillPatchOps.H:201
amrex::Interpolater * m_face_mapper
Function that handles interpolation from coarse to fine level for faces.
Definition FieldFillPatchOps.H:509
void fillphysbc(int lev, amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState) override
Implementation that handles filling physical boundary conditions.
Definition FieldFillPatchOps.H:350
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 > &fillpatch_bcrec, const amrex::Vector< amrex::BCRec > &physbc_bcrec, const FieldState) override
Definition FieldFillPatchOps.H:270
Definition Field.H:116
int num_time_states() const
Number of exact time states available for this field.
Definition Field.H:140
const amrex::GpuArray< BC, AMREX_SPACEDIM *2 > & bc_type() const
Definition Field.H:171
int num_comp() const
Number of components for this field.
Definition Field.H:134
Field & state(const FieldState fstate)
Return field at a different time state.
Definition Field.cpp:114
amrex::Vector< amrex::BCRec > & bcrec() const
Return reference to host view of BCRec array.
Definition Field.H:188
Definition SimTime.H:30
amrex::Interpolater * get_interpolation_operator(const FieldInterpolator itype)
Definition FieldUtils.H:85
@ mass_inflow_outflow
@ mass_inflow
Definition BCInterface.cpp:7
Definition FieldBCOps.H:228
DirichletOp< InflowOpType, WallOpType > FunctorType
Definition FieldBCOps.H:231
Generated by 1.12.0