PISM, A Parallel Ice Sheet Model
stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
|
#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.