BISICLES AMR ice sheet model
0.9
|
class which takes an input fortran array More...
#include <ComplexSurfaceFlux.H>
Public Member Functions | |
fortranInterfaceFlux () | |
class which takes an input fortran array More... | |
virtual | ~fortranInterfaceFlux () |
virtual SurfaceFlux * | new_surfaceFlux () |
factory method More... | |
virtual void | surfaceThicknessFlux (LevelData< FArrayBox > &a_flux, const AmrIceBase &a_amrIce, int a_level, Real a_dt) |
define source term for thickness evolution and place it in flux More... | |
void | setFluxVal (Real *a_data_ptr, const int *a_dimInfo, const int *a_boxlo, const int *a_boxhi, const Real *a_dew, const Real *a_dns, const IntVect &a_offset, const IntVect &a_nGhost, const ProblemDomain &a_domain, const bool a_nodal) |
set fortran array-valued surface flux More... | |
bool | gridsSet () const |
has setGrids been called? More... | |
![]() | |
virtual | ~SurfaceFlux () |
virtual destructor More... | |
virtual void | evaluate (LevelData< FArrayBox > &a_data, const AmrIceBase &a_amrIce, int a_level, Real a_dt) |
Sub-classes of this class turned out to be useful for various data apart from thickness fluxes... More... | |
Protected Attributes | |
IntVect | m_fluxGhost |
bool | m_verbose |
ProblemDomain | m_domain |
DisjointBoxLayout | m_grids |
bool | m_gridsSet |
FArrayBox | m_inputFlux |
bool | m_nodalFlux |
true if inputFlux is nodeal More... | |
FArrayBox | m_ccInputFlux |
cell-centered input flux More... | |
RealVect | m_inputFluxDx |
RefCountedPtr< LevelData< FArrayBox > > | m_inputFluxLDF |
distributed version of flux More... | |
bool | m_isValSet |
Additional Inherited Members | |
![]() | |
static SurfaceFlux * | parse (const char *a_prefix) |
assemble a SurfaceFlux* object from ParmParse inputs More... | |
class which takes an input fortran array
averages or interpolates as necessary to fill the flux
fortranInterfaceFlux::fortranInterfaceFlux | ( | ) |
class which takes an input fortran array
averages or interpolates as necessary to fill the fluxconstructor
Referenced by BoxBoundedFlux::surfaceThicknessFlux().
|
inlinevirtual |
References new_surfaceFlux(), setFluxVal(), and surfaceThicknessFlux().
|
inline |
has setGrids been called?
References m_gridsSet.
|
virtual |
factory method
return a pointer to a new SurfaceFlux object
Implements SurfaceFlux.
References m_ccInputFlux, m_fluxGhost, m_grids, m_gridsSet, m_inputFlux, m_inputFluxDx, m_inputFluxLDF, m_isValSet, and m_verbose.
Referenced by BoxBoundedFlux::~BoxBoundedFlux(), ~fortranInterfaceFlux(), MaskedFlux::~MaskedFlux(), and PiecewiseLinearFlux::~PiecewiseLinearFlux().
void fortranInterfaceFlux::setFluxVal | ( | Real * | a_data_ptr, |
const int * | a_dimInfo, | ||
const int * | a_boxlo, | ||
const int * | a_boxhi, | ||
const Real * | a_dew, | ||
const Real * | a_dns, | ||
const IntVect & | a_offset, | ||
const IntVect & | a_nGhost, | ||
const ProblemDomain & | a_domain, | ||
const bool | a_nodal | ||
) |
set fortran array-valued surface flux
References FortranInterfaceIBC::setFAB(), and FortranInterfaceIBC::setGrids().
Referenced by ~fortranInterfaceFlux().
|
virtual |
define source term for thickness evolution and place it in flux
dt is included in case one needs integrals or averages over a timestep. flux should be defined in meters/second in the current implementation.
Implements SurfaceFlux.
References AmrIceBase::dx(), and FillFromReference().
Referenced by BoxBoundedFlux::~BoxBoundedFlux(), ~fortranInterfaceFlux(), MaskedFlux::~MaskedFlux(), and PiecewiseLinearFlux::~PiecewiseLinearFlux().
|
protected |
cell-centered input flux
if nodalFlux is false, this is identical to m_inputFlux. if nodalFlux is true, this contains the cell-averaged version of the inputFlux
Referenced by new_surfaceFlux().
|
protected |
|
protected |
Referenced by new_surfaceFlux().
|
protected |
Referenced by new_surfaceFlux().
|
protected |
Referenced by gridsSet(), and new_surfaceFlux().
|
protected |
Referenced by new_surfaceFlux().
|
protected |
Referenced by new_surfaceFlux().
|
protected |
distributed version of flux
Referenced by new_surfaceFlux().
|
protected |
Referenced by new_surfaceFlux().
|
protected |
true if inputFlux is nodeal
|
protected |
Referenced by new_surfaceFlux().