PISM, A Parallel Ice Sheet Model
stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
|
#include <Poisson.hh>
Public Member Functions | |
Poisson (std::shared_ptr< const Grid > grid) | |
int | solve (const array::Scalar &mask, const array::Scalar &bc, double rhs, bool reuse_matrix=false) |
const array::Scalar & | solution () const |
Private Member Functions | |
void | assemble_matrix (const array::Scalar1 &mask, Mat A) |
void | assemble_rhs (double rhs, const array::Scalar &mask, const array::Scalar &bc, array::Scalar &b) |
Private Attributes | |
std::shared_ptr< const Grid > | m_grid |
Logger::ConstPtr | m_log |
std::shared_ptr< petsc::DM > | m_da |
petsc::KSP | m_KSP |
petsc::Mat | m_A |
array::Scalar | m_b |
array::Scalar | m_x |
array::Scalar1 | m_mask |
Definition at line 29 of file Poisson.hh.