PISM, A Parallel Ice Sheet Model stable 0.4.1779
Classes | Functions | Variables

src/eismint/icePSTexModel.cc File Reference

#include <cstring>
#include <petsc.h>
#include "icePSTexModel.hh"
#include "Timeseries.hh"
#include "SSA.hh"

Go to the source code of this file.

Classes

struct  ExperDescription

Functions

static bool inStreamNbhd (bool strictly_in_stream, const PetscScalar angle, const PetscScalar width, const PetscScalar x, const PetscScalar y, PetscScalar &x_loc, PetscScalar &y_loc)
 Say whether we are in the stream (strictly or not), and give local coords.
static bool inStream (const PetscScalar angle, const PetscScalar width, const PetscScalar x, const PetscScalar y, PetscScalar &x_loc, PetscScalar &y_loc)
 Say whether we are strictly in the stream, and give local coords.

Variables

const PetscScalar DEFAULT_PHI_STRONG = 15.0
const PetscScalar stream_offset = 100.0e3
const PetscScalar stream_length = 650.0e3
const PetscScalar stream_change = 400.0e3
const PetscScalar xi_slop = 0.15
const PetscScalar eta_slop = 0.5
const int Nexpers = 6
const int NAME_LENGTH = 10
ExperDescription e [Nexpers]
PetscScalar stream_angle_P2 [3] = {0.0, 100.0, 225.0}

Function Documentation

static bool inStream ( const PetscScalar  angle,
const PetscScalar  width,
const PetscScalar  x,
const PetscScalar  y,
PetscScalar &  x_loc,
PetscScalar &  y_loc 
) [static]

Say whether we are strictly in the stream, and give local coords.

Definition at line 122 of file icePSTexModel.cc.

References inStreamNbhd().

Referenced by IcePSTexModel::additionalAtEndTimestep(), and IcePSTexModel::setBedElev().

static bool inStreamNbhd ( bool  strictly_in_stream,
const PetscScalar  angle,
const PetscScalar  width,
const PetscScalar  x,
const PetscScalar  y,
PetscScalar &  x_loc,
PetscScalar &  y_loc 
) [static]

Say whether we are in the stream (strictly or not), and give local coords.

Definition at line 96 of file icePSTexModel.cc.

References eta_slop, stream_change, stream_offset, and xi_slop.

Referenced by PSTYieldStress::init_till_phi(), and inStream().


Variable Documentation

const PetscScalar DEFAULT_PHI_STRONG = 15.0
const PetscScalar eta_slop = 0.5

Definition at line 33 of file icePSTexModel.cc.

Referenced by inStreamNbhd(), and PSTYieldStress::phiLocal().

const int NAME_LENGTH = 10

Definition at line 37 of file icePSTexModel.cc.

const int Nexpers = 6

Definition at line 36 of file icePSTexModel.cc.

Referenced by IcePSTexModel::setFromOptions().

PetscScalar stream_angle_P2[3] = {0.0, 100.0, 225.0}
const PetscScalar stream_change = 400.0e3
const PetscScalar stream_length = 650.0e3

Definition at line 28 of file icePSTexModel.cc.

Referenced by IcePSTexModel::setBedElev().

const PetscScalar stream_offset = 100.0e3

Definition at line 27 of file icePSTexModel.cc.

Referenced by inStreamNbhd().

const PetscScalar xi_slop = 0.15

Definition at line 32 of file icePSTexModel.cc.

Referenced by inStreamNbhd(), and PSTYieldStress::phiLocal().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines