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

simple implementation of SurfaceFlux which sets surface flux to zero More...

#include <SurfaceFlux.H>

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

Public Member Functions

 zeroFlux ()
 
virtual ~zeroFlux ()
 
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...
 

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

simple implementation of SurfaceFlux which sets surface flux to zero

Run-time configuration is carried out in SurfaceFlux::parse. A Zeroflux object will be created if the string A.B.C.type = zeroFlux is found

Constructor & Destructor Documentation

◆ zeroFlux()

zeroFlux::zeroFlux ( )
inline

Referenced by new_surfaceFlux().

◆ ~zeroFlux()

virtual zeroFlux::~zeroFlux ( )
inlinevirtual

Member Function Documentation

◆ new_surfaceFlux()

SurfaceFlux * zeroFlux::new_surfaceFlux ( )
virtual

factory method

return a pointerto a new SurfaceFlux object

Implements SurfaceFlux.

References zeroFlux().

◆ surfaceThicknessFlux()

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

Implements SurfaceFlux.


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