BISICLES AMR ice sheet model
0.9
|
simple implementation of SurfaceFlux which sets surface flux to a constant in space and time More...
#include <SurfaceFlux.H>
Public Member Functions | |
constantFlux () | |
constantFlux (const Real &a_fluxVal) | |
Construct a constantFlux with a given constant value. More... | |
virtual | ~constantFlux () |
virtual SurfaceFlux * | new_surfaceFlux () |
factory method: return a pointer to a new SurfaceFlux object 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 (const Real &a_fluxVal) |
set flux value in meters/year 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 | |
Real | m_fluxVal |
bool | m_isValSet |
Additional Inherited Members | |
![]() | |
static SurfaceFlux * | parse (const char *a_prefix) |
assemble a SurfaceFlux* object from ParmParse inputs More... | |
simple implementation of SurfaceFlux which sets surface flux to a constant in space and time
Run-time configuration is carried out in SurfaceFlux::parse. If the string A.B.C.type = constantFlux
is found, then the expected form is:
A.B.C.flux_value = <float>
constantFlux::constantFlux | ( | ) |
Referenced by new_surfaceFlux(), and SurfaceFlux::parse().
|
inline |
Construct a constantFlux with a given constant value.
|
inlinevirtual |
References SurfaceFlux::new_surfaceFlux(), and SurfaceFlux::surfaceThicknessFlux().
|
virtual |
factory method: return a pointer to a new SurfaceFlux object
Implements SurfaceFlux.
References constantFlux(), m_fluxVal, and m_isValSet.
void constantFlux::setFluxVal | ( | const Real & | a_fluxVal | ) |
set flux value in meters/year
References m_fluxVal, and m_isValSet.
Referenced by CrevasseCalvingModel::CrevasseCalvingModel(), and SurfaceFlux::parse().
|
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
Implements SurfaceFlux.
References m_fluxVal, and m_isValSet.
|
protected |
Referenced by new_surfaceFlux(), setFluxVal(), and surfaceThicknessFlux().
|
protected |
Referenced by new_surfaceFlux(), setFluxVal(), and surfaceThicknessFlux().