PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Public Member Functions | Private Member Functions | Private Attributes | List of all members
pism::Poisson Class Reference

#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::Scalarsolution () 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 Gridm_grid
 
Logger::ConstPtr m_log
 
std::shared_ptr< petsc::DMm_da
 
petsc::KSP m_KSP
 
petsc::Mat m_A
 
array::Scalar m_b
 
array::Scalar m_x
 
array::Scalar1 m_mask
 

Detailed Description

Definition at line 29 of file Poisson.hh.


The documentation for this class was generated from the following files: