BISICLES AMR ice sheet model
0.9
|
A straight or twisting ice stream of width W with a discontinous C. More...
#include <singularStreamFriction.H>
Public Member Functions | |
singularStreamFriction (const Real &a_slippyC, const Real &a_stickyC, const Real &a_width, const Real &a_twistNumber, const Real &a_twistAmplitude, const RealVect &a_domainSize) | |
constructor More... | |
virtual | ~singularStreamFriction () |
destructor 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 beta^2 and place in a_betaSqr More... | |
void | setParameters (const Real &a_slippyC, const Real &a_stickyC, const Real &a_width, const Real &a_twistNumber, const Real &a_twistAmplitude, const RealVect &a_domainSize) |
set friction value in Pa*a/m) More... | |
![]() | |
virtual | ~BasalFriction () |
virtual destructor More... | |
Public Attributes | |
Real | m_slippyC |
Real | m_stickyC |
Real | m_width |
Real | m_twistNumber |
Real | m_twistAmplitude |
RealVect | m_domainSize |
Additional Inherited Members | |
![]() | |
static BasalFriction * | parse (const char *a_prefix, const RealVect &a_domainSize) |
A straight or twisting ice stream of width W with a discontinous C.
Domain dimensions are 0 < x < X , 0 < y < Y
C = C_slippy if |y - a(x)| < W/2, C_sticky otherwise a(x) = Y/2 + A * sin(2 * pi * n * x / X)
singularStreamFriction::singularStreamFriction | ( | const Real & | a_slippyC, |
const Real & | a_stickyC, | ||
const Real & | a_width, | ||
const Real & | a_twistNumber, | ||
const Real & | a_twistAmplitude, | ||
const RealVect & | a_domainSize | ||
) |
constructor
Referenced by new_basalFriction().
|
virtual |
destructor
|
virtual |
factory method
return a pointer to a new BasalFriction object
Implements BasalFriction.
References m_domainSize, m_slippyC, m_stickyC, m_twistAmplitude, m_twistNumber, m_width, and singularStreamFriction().
|
virtual |
define basal friction coefficient beta^2 and place in a_betaSqr
define basal friction coefficient C and place in a_C
time and dt are included in case this is time-dependent. Units should be Pa*a/m (any conversion to mks units is internal to the AmrIce code)
Implements BasalFriction.
References LevelSigmaCS::dx(), m_domainSize, m_slippyC, m_stickyC, m_twistAmplitude, m_twistNumber, and m_width.
void singularStreamFriction::setParameters | ( | const Real & | a_slippyC, |
const Real & | a_stickyC, | ||
const Real & | a_width, | ||
const Real & | a_twistNumber, | ||
const Real & | a_twistAmplitude, | ||
const RealVect & | a_domainSize | ||
) |
set friction value in Pa*a/m)
RealVect singularStreamFriction::m_domainSize |
Referenced by new_basalFriction(), and setBasalFriction().
Real singularStreamFriction::m_slippyC |
Referenced by new_basalFriction(), and setBasalFriction().
Real singularStreamFriction::m_stickyC |
Referenced by new_basalFriction(), and setBasalFriction().
Real singularStreamFriction::m_twistAmplitude |
Referenced by new_basalFriction(), and setBasalFriction().
Real singularStreamFriction::m_twistNumber |
Referenced by new_basalFriction(), and setBasalFriction().
Real singularStreamFriction::m_width |
Referenced by new_basalFriction(), and setBasalFriction().