BISICLES AMR ice sheet model  0.9
Public Member Functions | Static Public Member Functions | List of all members
LevelDataTemperatureIBC Class Reference

Physical/domain initial and boundary conditions. More...

#include <LevelDataTemperatureIBC.H>

Inheritance diagram for LevelDataTemperatureIBC:
Inheritance graph
[legend]
Collaboration diagram for LevelDataTemperatureIBC:
Collaboration graph
[legend]

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 LevelDataTemperatureIBCnew_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)
 
- Public Member Functions inherited from ReflectionIceInternalEnergyIBC
virtual void setIceInternalEnergyBC (LevelData< FArrayBox > &a_E, LevelData< FArrayBox > &a_tillWaterDepth, LevelData< FArrayBox > &a_surfaceE, LevelData< FArrayBox > &a_basalE, const LevelSigmaCS &a_coordSys)
 
- Public Member Functions inherited from IceInternalEnergyIBC
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 LevelDataTemperatureIBCparse (ParmParse &a_pp)
 

Detailed Description

Physical/domain initial and boundary conditions.

PhysIBC-derived class which stores initial temperature data and imposes either periodic or reflection boundary conditions

Constructor & Destructor Documentation

◆ LevelDataTemperatureIBC()

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().

◆ ~LevelDataTemperatureIBC()

LevelDataTemperatureIBC::~LevelDataTemperatureIBC ( )
virtual

Destructor.

Member Function Documentation

◆ basalHeatFlux()

void LevelDataTemperatureIBC::basalHeatFlux ( LevelData< FArrayBox > &  a_flux,
const AmrIceBase a_amrIce,
int  a_level,
Real  a_dt 
)
virtual

set a basal heat flux. units are Joules / Year

Implements IceInternalEnergyIBC.

References AmrIceBase::dx(), FillFromReference(), AmrIceBase::grids(), and ReflectGhostCells().

Referenced by define().

◆ define()

void LevelDataTemperatureIBC::define ( const ProblemDomain &  a_domain,
const Real &  a_dx 
)
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().

◆ initializeIceInternalEnergy()

void LevelDataTemperatureIBC::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

◆ new_internalEnergyIBC()

LevelDataTemperatureIBC * LevelDataTemperatureIBC::new_internalEnergyIBC ( )
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().

◆ parse()

LevelDataTemperatureIBC * LevelDataTemperatureIBC::parse ( ParmParse &  a_pp)
static

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