|
BISICLES AMR ice sheet model
0.9
|
BasalFriction that computes
from data on a uniform grid.
More...
#include <LevelDataBasalFriction.H>


Public Member Functions | |
| LevelDataBasalFriction (RefCountedPtr< LevelData< FArrayBox > > a_C, const RealVect &a_dx) | |
| construct from uniform grid data More... | |
| LevelDataBasalFriction (RefCountedPtr< std::map< Real, std::string > > &a_timeFileMap, const std::string &a_name) | |
| construct from a sequence of files More... | |
| virtual | ~LevelDataBasalFriction () |
| virtual BasalFriction * | new_basalFriction () const |
| factory method 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... | |
Public Member Functions inherited from BasalFriction | |
| virtual | ~BasalFriction () |
| virtual destructor More... | |
Protected Attributes | |
| RefCountedPtr< std::map< Real, std::string > > | m_timeFileMap |
| Real | m_startTime |
| Real | m_endTime |
| RefCountedPtr< LevelData< FArrayBox > > | m_C |
| RefCountedPtr< LevelData< FArrayBox > > | m_endC |
| RealVect | m_dx |
| bool | m_verbose |
| std::string | m_name |
Additional Inherited Members | |
Static Public Member Functions inherited from BasalFriction | |
| static BasalFriction * | parse (const char *a_prefix, const RealVect &a_domainSize) |
BasalFriction that computes
from data on a 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>for a single file or
inputLevelData.frictionFileFormat = <string>inputLevelData.frictionName = <string>inputLevelData.frictionFileStartTime = <int>inputLevelData.frictionFileTimeStep = <int>for a sequence of files
|
inline |
construct from uniform grid data
| a_C | data on a uniform grid. |
| a_dx | uniform grid mesh spacing. |
Referenced by new_basalFriction().
|
inline |
construct from a sequence of files
| a_timeFileMap | maps model times to filenames |
| a_name | name of the field in all hdf5 files |
|
inlinevirtual |
|
inlinevirtual |
factory method
Implements BasalFriction.
References LevelDataBasalFriction(), m_C, m_dx, m_name, m_timeFileMap, and setBasalFriction().
|
virtual |
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(), FillFromReference(), m_C, m_dx, m_endC, m_endTime, m_name, m_startTime, m_timeFileMap, m_verbose, and readLevelData().
Referenced by new_basalFriction(), MultiLevelDataBasalFriction::new_basalFriction(), and MultiLevelDataBasalFriction::setBasalFriction().
|
protected |
|
protected |
Referenced by new_basalFriction(), and setBasalFriction().
|
protected |
Referenced by setBasalFriction().
|
protected |
Referenced by setBasalFriction().
|
protected |
Referenced by new_basalFriction(), and setBasalFriction().
|
protected |
Referenced by setBasalFriction().
|
protected |
Referenced by new_basalFriction(), and setBasalFriction().
|
protected |
Referenced by setBasalFriction(), and MultiLevelDataBasalFriction::setBasalFriction().
1.8.13