FieldFillPatchOpsBase Class Reference

AMR-Wind API: amr_wind::FieldFillPatchOpsBase Class Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
amr_wind::FieldFillPatchOpsBase Class Referenceabstract

#include <FieldFillPatchOps.H>

Inheritance diagram for amr_wind::FieldFillPatchOpsBase:
[legend]

Public Member Functions

 FieldFillPatchOpsBase ()=default
 
virtual ~FieldFillPatchOpsBase ()=default
 
virtual void fillpatch (const int lev, const amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, const FieldState fstate=FieldState::New)=0
 
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 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 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 set_inflow_sibling_fields (const int lev, const amrex::Real time, amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > mfabs)=0
 

Detailed Description

Abstract interface for classes that handle fill patch and physical boundary condition operations for multi-level AMR meshes.

Constructor & Destructor Documentation

◆ FieldFillPatchOpsBase()

amr_wind::FieldFillPatchOpsBase::FieldFillPatchOpsBase ( )
default

◆ ~FieldFillPatchOpsBase()

virtual amr_wind::FieldFillPatchOpsBase::~FieldFillPatchOpsBase ( )
virtualdefault

Member Function Documentation

◆ fillpatch()

virtual void amr_wind::FieldFillPatchOpsBase::fillpatch ( const int lev,
const amrex::Real time,
amrex::MultiFab & mfab,
const amrex::IntVect & nghost,
const FieldState fstate = FieldState::New )
pure virtual

Implementation that handles filling patches on a single level as well as across a coarse-fine interface.

Implemented in amr_wind::ABLFillInflow, amr_wind::ABLFillMPL, amr_wind::FieldFillConstScalar, amr_wind::FieldFillPatchOps< BCOpCreator >, and amr_wind::FieldFillPatchOps< FieldBCDirichlet >.

◆ fillpatch_from_coarse()

virtual void amr_wind::FieldFillPatchOpsBase::fillpatch_from_coarse ( const int lev,
const amrex::Real time,
amrex::MultiFab & mfab,
const amrex::IntVect & nghost,
const FieldState fstate = FieldState::New )
pure virtual

◆ fillpatch_sibling_fields()

virtual void amr_wind::FieldFillPatchOpsBase::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 )
pure virtual

Implementation that handles filling patches on a single level as well as across a coarse-fine interface, for an array of different fields

Implemented in amr_wind::ABLFillInflow, amr_wind::ABLFillMPL, amr_wind::FieldFillConstScalar, amr_wind::FieldFillPatchOps< BCOpCreator >, and amr_wind::FieldFillPatchOps< FieldBCDirichlet >.

◆ fillphysbc()

virtual void amr_wind::FieldFillPatchOpsBase::fillphysbc ( const int lev,
const amrex::Real time,
amrex::MultiFab & mfab,
const amrex::IntVect & nghost,
const FieldState fstate = FieldState::New )
pure virtual

◆ set_inflow()

virtual void amr_wind::FieldFillPatchOpsBase::set_inflow ( const int lev,
const amrex::Real time,
amrex::MultiFab & mfab,
const amrex::IntVect & nghost,
const FieldState fstate = FieldState::New )
pure virtual

◆ set_inflow_sibling_fields()

virtual void amr_wind::FieldFillPatchOpsBase::set_inflow_sibling_fields ( const int lev,
const amrex::Real time,
amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > mfabs )
pure virtual

The documentation for this class was generated from the following file: