PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Classes | Namespaces | Typedefs | Functions
grounded_cell_fraction.cc File Reference
#include <cassert>
#include <cmath>
#include "pism/geometry/grounded_cell_fraction.hh"
#include "pism/util/error_handling.hh"
#include "pism/util/pism_utilities.hh"
#include "pism/util/array/Scalar.hh"

Go to the source code of this file.

Classes

struct  pism::Point
 

Namespaces

 pism
 

Typedefs

typedef stencils::Box< double > pism::Box
 

Functions

static double pism::triangle_area (const Point &a, const Point &b, const Point &c)
 
Point pism::intersect_ab (double a, double b)
 
Point pism::intersect_bc (double b, double c)
 
Point pism::intersect_ac (double a, double c)
 
bool pism::invalid (const Point &p)
 
static bool pism::same (const Point &a, const Point &b)
 
double pism::grounded_area_fraction (double a, double b, double c)
 
static double pism::F (double SL, double B, double H, double alpha)
 
static Box pism::F (const Box &SL, const Box &B, const Box &H, double alpha)
 
void pism::compute_grounded_cell_fraction (double ice_density, double ocean_density, const array::Scalar1 &sea_level, const array::Scalar1 &ice_thickness, const array::Scalar1 &bed_topography, array::Scalar &result)