BISICLES AMR ice sheet model  0.9
Public Member Functions | List of all members
PythonInterface::PythonIceTemperatureIBC Class Reference

PhysIBC-derived class that allows the internalEnergy to set a a user-defined python function f(x,y,sigma,thickness,topography,surface) . More...

#include <PythonInterface.H>

Inheritance diagram for PythonInterface::PythonIceTemperatureIBC:
Inheritance graph
[legend]
Collaboration diagram for PythonInterface::PythonIceTemperatureIBC:
Collaboration graph
[legend]

Public Member Functions

virtual ~PythonIceTemperatureIBC ()
 
 PythonIceTemperatureIBC (const std::string &a_pyModuleName, const std::string &a_pyFuncName)
 
virtual PythonIceTemperatureIBCnew_internalEnergyIBC ()
 same as new_physIBC, except pointer cast to an IceInternalEnergyIBC More...
 
virtual void basalHeatFlux (LevelData< FArrayBox > &a_flux, const AmrIceBase &a_amrIce, int a_level, Real a_dt)
 set basal heat flux 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)
 
- Public Member Functions inherited from IceInternalEnergyIBC
virtual ~IceInternalEnergyIBC ()
 
virtual void define (const ProblemDomain &a_domain, const Real &a_dx)
 
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)
 

Detailed Description

PhysIBC-derived class that allows the internalEnergy to set a a user-defined python function f(x,y,sigma,thickness,topography,surface) .

Reflection boundary conditions are imposed on each edge.

Constructor & Destructor Documentation

◆ ~PythonIceTemperatureIBC()

PythonInterface::PythonIceTemperatureIBC::~PythonIceTemperatureIBC ( )
virtual

◆ PythonIceTemperatureIBC()

PythonInterface::PythonIceTemperatureIBC::PythonIceTemperatureIBC ( const std::string &  a_pyModuleName,
const std::string &  a_pyFuncName 
)

Member Function Documentation

◆ basalHeatFlux()

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

set basal heat flux

Implements IceInternalEnergyIBC.

References initializeIceInternalEnergy().

Referenced by new_internalEnergyIBC().

◆ initializeIceInternalEnergy()

void PythonInterface::PythonIceTemperatureIBC::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()

PythonInterface::PythonIceTemperatureIBC * PythonInterface::PythonIceTemperatureIBC::new_internalEnergyIBC ( )
virtual

same as new_physIBC, except pointer cast to an IceInternalEnergyIBC

Implements IceInternalEnergyIBC.

References basalHeatFlux().

◆ setIceInternalEnergyBC()

void PythonInterface::PythonIceTemperatureIBC::setIceInternalEnergyBC ( LevelData< FArrayBox > &  a_E,
LevelData< FArrayBox > &  a_tillWaterDepth,
LevelData< FArrayBox > &  a_surfaceE,
LevelData< FArrayBox > &  a_basalE,
const LevelSigmaCS a_coordSys 
)
virtual

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