BISICLES AMR ice sheet model
0.9
|
Physical/domain initial and boundary conditions. More...
#include <LevelDataTemperatureIBC.H>
Public Member Functions | |
LevelDataTemperatureIBC (RefCountedPtr< LevelData< FArrayBox > > a_bulkData, #if BISICLES_Z==BISICLES_LAYERED RefCountedPtr< LevelData< FArrayBox > > a_surfaceData, RefCountedPtr< LevelData< FArrayBox > > a_basalHeatFlux, #endif const RealVect &a_dx, const Real &a_defaultTemperature, const bool &a_dataIsInternalEnergy) | |
Constructor. More... | |
virtual | ~LevelDataTemperatureIBC () |
Destructor. More... | |
virtual void | define (const ProblemDomain &a_domain, const Real &a_dx) |
Define the object. More... | |
virtual LevelDataTemperatureIBC * | new_internalEnergyIBC () |
Factory method - this object is its own factory. More... | |
virtual void | basalHeatFlux (LevelData< FArrayBox > &a_flux, const AmrIceBase &a_amrIce, int a_level, Real a_dt) |
set a basal heat flux. units are Joules / Year More... | |
virtual void | initializeIceInternalEnergy (LevelData< FArrayBox > &a_E, LevelData< FArrayBox > &a_tillWaterDepth, LevelData< FArrayBox > &a_surfaceE, LevelData< FArrayBox > &a_basalE, const AmrIceBase &a_amrIce, int a_level, Real a_dt) |
![]() | |
virtual void | setIceInternalEnergyBC (LevelData< FArrayBox > &a_E, LevelData< FArrayBox > &a_tillWaterDepth, LevelData< FArrayBox > &a_surfaceE, LevelData< FArrayBox > &a_basalE, const LevelSigmaCS &a_coordSys) |
![]() | |
virtual | ~IceInternalEnergyIBC () |
virtual PhysIBC * | new_physIBC () |
Factory method - this object is its own factory. More... | |
virtual void | initialize (LevelData< FArrayBox > &a_U) |
virtual void | primBC (FArrayBox &a_WGdnv, const FArrayBox &a_Wextrap, const FArrayBox &a_W, const int &a_dir, const Side::LoHiSide &a_side, const Real &a_time) |
Set boundary fluxes. More... | |
virtual void | setBdrySlopes (FArrayBox &a_dW, const FArrayBox &a_W, const int &a_dir, const Real &a_time) |
Set boundary slopes. More... | |
virtual void | artViscBC (FArrayBox &a_F, const FArrayBox &a_U, const FArrayBox &a_divVel, const int &a_dir, const Real &a_time) |
Static Public Member Functions | |
static LevelDataTemperatureIBC * | parse (ParmParse &a_pp) |
Physical/domain initial and boundary conditions.
PhysIBC-derived class which stores initial temperature data and imposes either periodic or reflection boundary conditions
LevelDataTemperatureIBC::LevelDataTemperatureIBC | ( | RefCountedPtr< LevelData< FArrayBox > > | a_bulkData, |
#if | BISICLES_Z = =BISICLES_LAYERED RefCountedPtr< LevelData< FArrayBox > > a_surfaceData , |
||
RefCountedPtr< LevelData< FArrayBox > > | a_basalHeatFlux, | ||
#endif const RealVect & | a_dx, | ||
const Real & | a_defaultTemperature, | ||
const bool & | a_dataIsInternalEnergy | ||
) |
Constructor.
Referenced by new_internalEnergyIBC(), and parse().
|
virtual |
Destructor.
|
virtual |
set a basal heat flux. units are Joules / Year
Implements IceInternalEnergyIBC.
References AmrIceBase::dx(), FillFromReference(), AmrIceBase::grids(), and ReflectGhostCells().
Referenced by define().
|
virtual |
Define the object.
Set the problem domain index space and the grid spacing for this initial and boundary condition object.
Reimplemented from IceInternalEnergyIBC.
References basalHeatFlux().
|
virtual |
|
virtual |
Factory method - this object is its own factory.
Return a pointer to a new IceInternalEnergyIBC object with m_isDefined = false (i.e., its define() must be called before it is used).
Implements IceInternalEnergyIBC.
References LevelDataTemperatureIBC().
|
static |
References LevelDataTemperatureIBC(), IceThermodynamics::m_ice_heat_capacity, and readLevelData().
Referenced by init_bisicles_instance(), and main().