FieldFillPatchOpsBase Class Reference

Kynema-SGF API: kynema_sgf::FieldFillPatchOpsBase Class Reference
Kynema-SGF API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
kynema_sgf::FieldFillPatchOpsBase Class Referenceabstract

#include <FieldFillPatchOps.H>

Inheritance diagram for kynema_sgf::FieldFillPatchOpsBase:
[legend]

Public Member Functions

 FieldFillPatchOpsBase ()=default
virtual ~FieldFillPatchOpsBase ()=default
virtual void fillpatch (int lev, amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, FieldState fstate=FieldState::New)=0
 Implementation that handles filling patches on a single level as well as across a coarse-fine interface.
virtual 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, FieldState fstate=FieldState::New)=0
 Implementation that handles filling patches on a single level as well as across a coarse-fine interface, for an array of different fields.
virtual void fillpatch_from_coarse (int lev, amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, FieldState fstate=FieldState::New)=0
 Implementation that handles filling patches from a coarse to fine level.
virtual void fillphysbc (int lev, amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, FieldState fstate=FieldState::New)=0
 Implementation that handles filling physical boundary conditions.
virtual void set_inflow (int lev, amrex::Real time, amrex::MultiFab &mfab, const amrex::IntVect &nghost, FieldState fstate=FieldState::New)=0
virtual void set_inflow_sibling_fields (int lev, 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()

kynema_sgf::FieldFillPatchOpsBase::FieldFillPatchOpsBase ( )
default

◆ ~FieldFillPatchOpsBase()

virtual kynema_sgf::FieldFillPatchOpsBase::~FieldFillPatchOpsBase ( )
virtualdefault

Member Function Documentation

◆ fillpatch()

virtual void kynema_sgf::FieldFillPatchOpsBase::fillpatch ( int lev,
amrex::Real time,
amrex::MultiFab & mfab,
const amrex::IntVect & nghost,
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 kynema_sgf::FieldFillConstScalar, kynema_sgf::FieldFillPatchOps< BCOpCreator >, kynema_sgf::FieldFillPatchOps< FieldBCDirichlet >, kynema_sgf::FillMPL, kynema_sgf::OceanWavesFillInflow, and kynema_sgf::PlaneFillInflow.

◆ fillpatch_from_coarse()

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

◆ fillpatch_sibling_fields()

virtual void kynema_sgf::FieldFillPatchOpsBase::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,
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 kynema_sgf::FieldFillConstScalar, kynema_sgf::FieldFillPatchOps< BCOpCreator >, kynema_sgf::FieldFillPatchOps< FieldBCDirichlet >, kynema_sgf::FillMPL, kynema_sgf::OceanWavesFillInflow, and kynema_sgf::PlaneFillInflow.

◆ fillphysbc()

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

◆ set_inflow()

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

◆ set_inflow_sibling_fields()

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

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