BISICLES AMR ice sheet model
0.9
|
Allows pre-defined basal friction coefficients to be passed in and copied. More...
#include <CopyBasalFriction.H>
Public Member Functions | |
CopyBasalFriction () | |
null constructor More... | |
CopyBasalFriction (Vector< RefCountedPtr< LevelData< FArrayBox > > > &a_vectBeta, Vector< ProblemDomain > &a_vectDomain) | |
Set reference value for friction coefficients – calls associated define. More... | |
virtual | ~CopyBasalFriction () |
destructor More... | |
void | define (Vector< RefCountedPtr< LevelData< FArrayBox > > > &a_vectBeta, Vector< ProblemDomain > &a_vectDomain) |
Set reference value for friction coefficients. More... | |
virtual BasalFriction * | new_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 | ~BasalFriction () |
virtual destructor More... | |
Protected Attributes | |
Vector< RefCountedPtr< LevelData< FArrayBox > > > | m_vectBeta |
frictional coefficient values More... | |
Vector< ProblemDomain > | m_vectDomains |
Problem domains are used to index levels. More... | |
bool | m_verbose |
Additional Inherited Members | |
![]() | |
static BasalFriction * | parse (const char *a_prefix, const RealVect &a_domainSize) |
Allows pre-defined basal friction coefficients to be passed in and copied.
use of the refCountedPtr means that we can reference a single location which can be set and modified elsewhere. This is primarily intended for use with the solverBenchmark code, but may find uses within the main BISICLES code as well. Will obviously need to be redefined at regridding time
CopyBasalFriction::CopyBasalFriction | ( | ) |
CopyBasalFriction::CopyBasalFriction | ( | Vector< RefCountedPtr< LevelData< FArrayBox > > > & | a_vectBeta, |
Vector< ProblemDomain > & | a_vectDomain | ||
) |
Set reference value for friction coefficients – calls associated define.
References define().
|
inlinevirtual |
destructor
References define(), new_basalFriction(), and setBasalFriction().
void CopyBasalFriction::define | ( | Vector< RefCountedPtr< LevelData< FArrayBox > > > & | a_vectBeta, |
Vector< ProblemDomain > & | a_vectDomain | ||
) |
Set reference value for friction coefficients.
References m_vectBeta, and m_vectDomains.
Referenced by CopyBasalFriction(), and ~CopyBasalFriction().
|
virtual |
factory method
return a pointer to a new BasalFriction object
Implements BasalFriction.
References CopyBasalFriction(), m_vectBeta, m_vectDomains, and m_verbose.
Referenced by ~CopyBasalFriction().
|
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 m_vectBeta, and m_vectDomains.
Referenced by ~CopyBasalFriction().
|
protected |
frictional coefficient values
Referenced by define(), new_basalFriction(), and setBasalFriction().
|
protected |
Problem domains are used to index levels.
Referenced by define(), new_basalFriction(), and setBasalFriction().
|
protected |
Referenced by CopyBasalFriction(), and new_basalFriction().