20 #ifndef BLATTERTESTXZ_H
21 #define BLATTERTESTXZ_H
23 #include "pism/stressbalance/blatter/Blatter.hh"
26 namespace stressbalance {
53 const double *ice_bottom,
54 const double *sea_level);
61 const double *surface,
67 const double *tauc_nodal,
68 const double *f_nodal,
std::shared_ptr< const Grid > grid() const
This class represents a 2D vector field (such as ice velocity) at a certain grid point.
BlatterTestXZ(std::shared_ptr< const Grid > grid, int Mz, int coarsening_factor)
void residual_basal(const fem::Q1Element3 &element, const fem::Q1Element3Face &face, const double *tauc_nodal, const double *f_nodal, const Vector2d *u_nodal, Vector2d *residual)
Vector2d u_bc(double x, double y, double z) const
bool marine_boundary(int face, const int *node_type, const double *ice_bottom, const double *sea_level)
void residual_source_term(const fem::Q1Element3 &element, const double *surface, const double *bed, Vector2d *residual)
void residual_surface(const fem::Q1Element3 &element, const fem::Q1Element3Face &face, Vector2d *residual)
double m_A
constant ice hardness
bool dirichlet_node(const DMDALocalInfo &info, const fem::Element3::GlobalIndex &I)