BISICLES AMR ice sheet model
0.9
|
BasalFriction that computes from data on a non-uniform grid.
More...
#include <LevelDataBasalFriction.H>
Public Member Functions | |
MultiLevelDataBasalFriction (const Vector< RefCountedPtr< LevelData< FArrayBox > > > &a_C, const RealVect &a_dxCrse, const Vector< int > a_ratio) | |
construct from non-uniform grid data More... | |
virtual | ~MultiLevelDataBasalFriction () |
virtual BasalFriction * | new_basalFriction () const |
factory method More... | |
void | setBasalFriction (LevelData< FArrayBox > &a_C, RealVect a_dx, Real a_time, Real a_dt) |
Copy data from the stored AMR HIerarchy. More... | |
virtual void | setBasalFriction (LevelData< FArrayBox > &a_C, LevelSigmaCS &a_coordSys, Real a_time, Real a_dt) |
compute basal friction coefficient beta^2 and place in a_betaSqr More... | |
![]() | |
virtual | ~BasalFriction () |
virtual destructor More... | |
Protected Attributes | |
Vector< RefCountedPtr< LevelData< FArrayBox > > > | m_C |
RealVect | m_dxCrse |
Vector< int > | m_ratio |
bool | m_verbose |
Additional Inherited Members | |
![]() | |
static BasalFriction * | parse (const char *a_prefix, const RealVect &a_domainSize) |
BasalFriction that computes from data on a non-uniform grid.
Run time configuration is carried out in BasalFriction::parse(A, ... ) If the option A.beta_type = LevelData
is found, then the expected form is:
inputLevelData.frictionFile = <string>
inputLevelData.frictionName = <string>
|
inline |
construct from non-uniform grid data
a_C | data on a non-uniform grid. |
a_dxCrse | coarse level mesh spacing. |
a_ratio | refinement ratio between levels |
|
inlinevirtual |
|
inlinevirtual |
factory method
Implements BasalFriction.
References LevelDataBasalFriction::m_C, and LevelDataBasalFriction::setBasalFriction().
void MultiLevelDataBasalFriction::setBasalFriction | ( | LevelData< FArrayBox > & | a_C, |
RealVect | a_dx, | ||
Real | a_time, | ||
Real | a_dt | ||
) |
Copy data from the stored AMR HIerarchy.
a_C | single level of output data |
a_C | a_dx mesh spacing for a_C |
a_time | time |
a_dt | timestep |
References FillFromReference(), flattenCellData(), LevelDataBasalFriction::m_C, LevelDataBasalFriction::m_verbose, and LevelDataBasalFriction::setBasalFriction().
|
inlinevirtual |
compute basal friction coefficient beta^2 and place in a_betaSqr
time and dt are included in case this is time-dependent. Units should usually be chosen so that the basal traction is measured in Pascals when
is measured in meters per year.
a_betaSqr | basal friction coefficient beta^2 data |
a_coordSys | ice sheet geometry |
a_time | current time |
a_dt | current time step |
Implements BasalFriction.
References LevelSigmaCS::dx(), and LevelDataBasalFriction::setBasalFriction().
|
protected |
|
protected |
|
protected |
|
protected |