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

#include <FortranInterfaceBasalFriction.H>

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

Public Member Functions

 FortranInterfaceBasalFriction ()
 constructor More...
 
virtual ~FortranInterfaceBasalFriction ()
 destructor More...
 
virtual BasalFrictionnew_basalFriction () const
 factory method More...
 
virtual void setBasalFriction (LevelData< FArrayBox > &a_C, LevelSigmaCS &a_coordSys, Real a_time, Real a_dt)
 define basal friction coefficient C and place in a_betaSqr More...
 
virtual void setReferenceFAB (Real *a_data_ptr, const int *a_dimInfo, const RealVect &a_dx, const IntVect &a_ghost, const bool a_nodal=false)
 
- Public Member Functions inherited from BasalFriction
virtual ~BasalFriction ()
 virtual destructor More...
 

Protected Attributes

FArrayBox m_fab
 
RealVect m_dx
 
IntVect m_ghost
 
bool m_verbose
 

Additional Inherited Members

- Static Public Member Functions inherited from BasalFriction
static BasalFrictionparse (const char *a_prefix, const RealVect &a_domainSize)
 

Constructor & Destructor Documentation

◆ FortranInterfaceBasalFriction()

FortranInterfaceBasalFriction::FortranInterfaceBasalFriction ( )

constructor

References m_verbose.

Referenced by new_basalFriction().

◆ ~FortranInterfaceBasalFriction()

virtual FortranInterfaceBasalFriction::~FortranInterfaceBasalFriction ( )
inlinevirtual

Member Function Documentation

◆ new_basalFriction()

BasalFriction * FortranInterfaceBasalFriction::new_basalFriction ( ) const
virtual

factory method

return a pointer to a new BasalFriction object

Implements BasalFriction.

References FortranInterfaceBasalFriction(), m_dx, m_fab, and m_ghost.

Referenced by ~FortranInterfaceBasalFriction().

◆ setBasalFriction()

void FortranInterfaceBasalFriction::setBasalFriction ( LevelData< FArrayBox > &  a_C,
LevelSigmaCS a_coordSys,
Real  a_time,
Real  a_dt 
)
virtual

define basal friction coefficient C and place in a_betaSqr

time and dt are included in case this is time-dependent. Units should be Pa*a/m

Implements BasalFriction.

References LevelSigmaCS::dx(), FillFromReference(), m_dx, m_fab, m_ghost, and m_verbose.

Referenced by ~FortranInterfaceBasalFriction().

◆ setReferenceFAB()

void FortranInterfaceBasalFriction::setReferenceFAB ( Real *  a_data_ptr,
const int *  a_dimInfo,
const RealVect &  a_dx,
const IntVect &  a_ghost,
const bool  a_nodal = false 
)
virtual

References m_dx, m_fab, and m_ghost.

Referenced by ~FortranInterfaceBasalFriction().

Member Data Documentation

◆ m_dx

RealVect FortranInterfaceBasalFriction::m_dx
protected

◆ m_fab

FArrayBox FortranInterfaceBasalFriction::m_fab
protected

◆ m_ghost

IntVect FortranInterfaceBasalFriction::m_ghost
protected

◆ m_verbose

bool FortranInterfaceBasalFriction::m_verbose
protected

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