BISICLES AMR ice sheet model  0.9
Public Member Functions | Protected Attributes | List of all members
GroundingLineLocalizedFlux Class Reference

#include <GroundingLineLocalizedFlux.H>

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

Public Member Functions

 GroundingLineLocalizedFlux (SurfaceFlux *a_groundingLineFlux, SurfaceFlux *a_ambientFlux, const Real &a_powerOfThickness)
 
 ~GroundingLineLocalizedFlux ()
 destructor More...
 
virtual SurfaceFluxnew_surfaceFlux ()
 factory method 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...
 
- Public Member Functions inherited from SurfaceFlux
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

Vector< Real > m_abscissae
 
Vector< Real > m_ordinates
 

Additional Inherited Members

- Static Public Member Functions inherited from SurfaceFlux
static SurfaceFluxparse (const char *a_prefix)
 assemble a SurfaceFlux* object from ParmParse inputs More...
 

Detailed Description

surface flux which has a piecwise linear dependence on thickness H.

Constructor & Destructor Documentation

◆ GroundingLineLocalizedFlux()

GroundingLineLocalizedFlux::GroundingLineLocalizedFlux ( SurfaceFlux a_groundingLineFlux,
SurfaceFlux a_ambientFlux,
const Real &  a_powerOfThickness 
)

◆ ~GroundingLineLocalizedFlux()

GroundingLineLocalizedFlux::~GroundingLineLocalizedFlux ( )
inline

destructor

References new_surfaceFlux(), and surfaceThicknessFlux().

Member Function Documentation

◆ new_surfaceFlux()

SurfaceFlux * GroundingLineLocalizedFlux::new_surfaceFlux ( )
virtual

factory method

return a pointer to a new SurfaceFlux object

Implements SurfaceFlux.

References SurfaceFlux::new_surfaceFlux(), and surfaceThicknessFlux().

Referenced by ~GroundingLineLocalizedFlux().

◆ surfaceThicknessFlux()

void GroundingLineLocalizedFlux::surfaceThicknessFlux ( LevelData< FArrayBox > &  a_flux,
const AmrIceBase a_amrIce,
int  a_level,
Real  a_dt 
)
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. flux should be defined in meters/second in the current implementation.

Implements SurfaceFlux.

References AmrIceBase::geometry(), AmrIceBase::groundingLineProximity(), and SurfaceFlux::surfaceThicknessFlux().

Referenced by new_surfaceFlux(), and ~GroundingLineLocalizedFlux().

Member Data Documentation

◆ m_abscissae

Vector<Real> GroundingLineLocalizedFlux::m_abscissae
protected

◆ m_ordinates

Vector<Real> GroundingLineLocalizedFlux::m_ordinates
protected

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