20 #ifndef AGECOLUMNSYSTEM_H
21 #define AGECOLUMNSYSTEM_H
23 #include "pism/util/ColumnSystem.hh"
31 const std::string &my_prefix,
32 double dx,
double dy,
double dt,
38 void init(
int i,
int j,
double thickness);
40 void solve(std::vector<double> &x);
std::vector< double > m_A_s
std::vector< double > m_A_n
std::vector< double > m_A_w
AgeColumnSystem(const std::vector< double > &storage_grid, const std::string &my_prefix, double dx, double dy, double dt, const array::Array3D &age, const array::Array3D &u3, const array::Array3D &v3, const array::Array3D &w3)
std::vector< double > m_A_e
std::vector< double > m_A
void init(int i, int j, double thickness)
const array::Array3D & m_age3
void solve(std::vector< double > &x)
First-order upwind scheme with implicit in the vertical: one column solve.
Tridiagonal linear system for vertical column of age (pure advection) problem.
A virtual class collecting methods common to ice and bedrock 3D fields.
Base class for tridiagonal systems in the ice.