15 #ifndef _VERTICALCONDUCTIONINTERNALENERGYIBC_H_ 16 #define _VERTICALCONDUCTIONINTERNALENERGYIBC_H_ 19 #include "ParmParse.H" 21 #include "NamespaceHeader.H" 48 virtual void define(
const ProblemDomain& a_domain,
62 int a_level, Real a_dt);
64 #if BISICLES_Z == BISICLES_LAYERED 66 LevelData<FArrayBox>& a_tillWaterDepth,
67 LevelData<FArrayBox>& a_surfaceE,
68 LevelData<FArrayBox>& a_basalE,
70 int a_level, Real a_dt);
72 #elif BISICLES_Z == BISICLES_FULLZ 73 #error BISICLES_FULLZ not implemented 84 if (m_basalDissipation == NULL)
86 CH_assert(m_basalDissipation != NULL);
87 MayDay::Error(
"no basal dissipation");
89 return *m_basalDissipation;
96 MayDay::Error(
"invalid operator");
102 MayDay::Error(
"invalid operator");
107 #include "NamespaceFooter.H" virtual VerticalConductionInternalEnergyIBC * new_internalEnergyIBC()
Factory method - this object is its own factory.
Definition: VerticalConductionInternalEnergyIBC.cpp:167
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)
Definition: VerticalConductionInternalEnergyIBC.cpp:81
VerticalConductionInternalEnergyIBC(SurfaceFlux *a_basalDissipation)
Constructor.
Definition: VerticalConductionInternalEnergyIBC.cpp:39
static VerticalConductionInternalEnergyIBC * parse(ParmParse &)
Definition: VerticalConductionInternalEnergyIBC.cpp:32
virtual void define(const ProblemDomain &a_domain, const Real &a_dx)
Define the object.
Definition: VerticalConductionInternalEnergyIBC.cpp:61
abstract class defining the surface flux interface
Definition: SurfaceFlux.H:39
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
Definition: VerticalConductionInternalEnergyIBC.cpp:68
Partial implementation of IceInternalEnergyIBC, provides reflection (or periodic) boundary conditions...
Definition: IceInternalEnergyIBC.H:164
Physical/domain initial and boundary conditions.
Definition: VerticalConductionInternalEnergyIBC.H:30
abstract base class for amr ice sheet models (AmrIce, AMRIceControl)
Definition: AmrIceBase.H:21
virtual ~VerticalConductionInternalEnergyIBC()
Destructor.
Definition: VerticalConductionInternalEnergyIBC.cpp:52