BISICLES AMR ice sheet model
0.9
|
Classes | |
class | PythonBasalFriction |
BasalFriction that calls a python function to compute ![]() | |
class | PythonIBC |
PythonInterface::PythonIBC, a PhysIBC-derived class which allows the bedrock and topography to be set by a user-defined python function f(x,y) . More... | |
class | PythonIceTemperatureIBC |
PhysIBC-derived class that allows the internalEnergy to set a a user-defined python function f(x,y,sigma,thickness,topography,surface) . More... | |
class | PythonMuCoefficient |
class | PythonSurfaceFlux |
Use a python function to evaluate the surface flux. More... | |
class | PythonVelocitySolver |
Functions | |
void | InitializePythonModule (PyObject **a_pModule, const std::string &a_pyModuleName) |
void | InitializePythonFunction (PyObject **a_pFunc, PyObject *a_pModule, const std::string &a_pyFuncName) |
void | FillKwargs (std::map< std::string, Real > &a_kwarg, const AmrIceBase &a_amrIce, int a_level, const DataIterator &a_dit, const IntVect &a_iv) |
void | PythonEval (PyObject *a_pyFunc, Vector< Real > &a_value, Vector< Real > &a_arg, std::map< std::string, Real > *a_kwarg=NULL) |
void PythonInterface::FillKwargs | ( | std::map< std::string, Real > & | a_kwarg, |
const AmrIceBase & | a_amrIce, | ||
int | a_level, | ||
const DataIterator & | a_dit, | ||
const IntVect & | a_iv | ||
) |
Map names to cell centered data given (a_amrIce,a_level,a_dit,a_iv)
Map names to cell centered data given (a_amrIce,a_level,a_dit,a_iv). Silently sets a_value[i] to 0.0 if a_name[i] is not known
References AmrIceBase::groundingLineProximity(), and AmrIceBase::groundingLineProximityScale().
Referenced by PythonInterface::PythonSurfaceFlux::surfaceThicknessFlux().
void PythonInterface::InitializePythonFunction | ( | PyObject ** | a_pFunc, |
PyObject * | a_pModule, | ||
const std::string & | a_pyFuncName | ||
) |
Referenced by PythonInterface::PythonVelocitySolver::define(), AmrIce::initialize(), PythonInterface::PythonBasalFriction::PythonBasalFriction(), PythonInterface::PythonIBC::PythonIBC(), PythonInterface::PythonIceTemperatureIBC::PythonIceTemperatureIBC(), PythonInterface::PythonMuCoefficient::PythonMuCoefficient(), and PythonInterface::PythonSurfaceFlux::PythonSurfaceFlux().
void PythonInterface::InitializePythonModule | ( | PyObject ** | a_pModule, |
const std::string & | a_pyModuleName | ||
) |
Referenced by PythonInterface::PythonVelocitySolver::define(), AmrIce::initialize(), PythonInterface::PythonBasalFriction::PythonBasalFriction(), PythonInterface::PythonIBC::PythonIBC(), PythonInterface::PythonIceTemperatureIBC::PythonIceTemperatureIBC(), PythonInterface::PythonMuCoefficient::PythonMuCoefficient(), and PythonInterface::PythonSurfaceFlux::PythonSurfaceFlux().
void PythonInterface::PythonEval | ( | PyObject * | a_pyFunc, |
Vector< Real > & | a_value, | ||
Vector< Real > & | a_arg, | ||
std::map< std::string, Real > * | a_kwarg = NULL |
||
) |
Referenced by PythonInterface::PythonIBC::initializeIceGeometry(), PythonInterface::PythonIceTemperatureIBC::initializeIceInternalEnergy(), PythonInterface::PythonIBC::modifyFaceVelocity(), PythonInterface::PythonIBC::modifyVelocityRHS(), PythonInterface::PythonIBC::regridIceGeometry(), PythonInterface::PythonBasalFriction::setBasalFriction(), PythonInterface::PythonMuCoefficient::setMuCoefficient(), PythonInterface::PythonVelocitySolver::solve(), PythonInterface::PythonSurfaceFlux::surfaceThicknessFlux(), and AmrIce::tagCellsLevel().