Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
amrex::PhysBCFunct< F > Class Template Reference

#include <AMReX_PhysBCFunct.H>

Public Member Functions

 PhysBCFunct ()=default
 PhysBCFunct (const Geometry &geom, const Vector< BCRec > &bcr, F const &f)
 PhysBCFunct (const Geometry &geom, const Vector< BCRec > &bcr, F &&f)
void define (const Geometry &geom, const Vector< BCRec > &bcr, F const &f)
void define (const Geometry &geom, const Vector< BCRec > &bcr, F &&f)
void operator() (MultiFab &mf, int icomp, int ncomp, IntVect const &nghost, Real time, int bccomp)
void FillBoundary (MultiFab &mf, int icomp, int ncomp, IntVect const &nghost, Real time, int bccomp)

Constructor & Destructor Documentation

◆ PhysBCFunct() [1/3]

template<class F>
amrex::PhysBCFunct< F >::PhysBCFunct ( )
default

◆ PhysBCFunct() [2/3]

template<class F>
amrex::PhysBCFunct< F >::PhysBCFunct ( const Geometry & geom,
const Vector< BCRec > & bcr,
F const & f )
inline

◆ PhysBCFunct() [3/3]

template<class F>
amrex::PhysBCFunct< F >::PhysBCFunct ( const Geometry & geom,
const Vector< BCRec > & bcr,
F && f )
inline

Member Function Documentation

◆ define() [1/2]

template<class F>
void amrex::PhysBCFunct< F >::define ( const Geometry & geom,
const Vector< BCRec > & bcr,
F && f )
inline

◆ define() [2/2]

template<class F>
void amrex::PhysBCFunct< F >::define ( const Geometry & geom,
const Vector< BCRec > & bcr,
F const & f )
inline

◆ FillBoundary()

template<class F>
void amrex::PhysBCFunct< F >::FillBoundary ( MultiFab & mf,
int icomp,
int ncomp,
IntVect const & nghost,
Real time,
int bccomp )
inline

◆ operator()()

template<class F>
void amrex::PhysBCFunct< F >::operator() ( MultiFab & mf,
int icomp,
int ncomp,
IntVect const & nghost,
Real time,
int bccomp )
inline

create a grown domain box containing valid + periodic cells

if there are cells not in the valid + periodic grown box we need to fill them here

Based on BCRec for the domain, we need to make BCRec for this Box

Note that we pass 0 as starting component of bcrs.


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