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 | Protected Member Functions | Protected Attributes | List of all members
pism::inverse::IPTwoBlockVec Class Reference

#include <IPTwoBlockVec.hh>

Public Member Functions

 IPTwoBlockVec (Vec a, Vec b)
 
 ~IPTwoBlockVec ()=default
 
IS blockAIndexSet ()
 
IS blockBIndexSet ()
 
void scatter (Vec a, Vec b)
 
void scatterToA (Vec a)
 
void scatterToB (Vec b)
 
void scatter (Vec ab, Vec a, Vec b)
 
void scatterToA (Vec ab, Vec a)
 
void scatterToB (Vec ab, Vec b)
 
void gather (Vec a, Vec b)
 
void gatherFromA (Vec a)
 
void gatherFromB (Vec b)
 
void gather (Vec a, Vec b, Vec ab)
 
void gatherFromA (Vec a, Vec ab)
 
void gatherFromB (Vec b, Vec ab)
 
 operator Vec ()
 

Protected Member Functions

void scatter_begin_end (VecScatter s, Vec a, Vec b, ScatterMode m)
 

Protected Attributes

petsc::Vec m_ab
 
PetscInt m_na_local
 
PetscInt m_na_global
 
PetscInt m_nb_local
 
PetscInt m_nb_global
 
petsc::IS m_a_in_ab
 
petsc::IS m_b_in_ab
 
petsc::VecScatter m_scatter_a
 
petsc::VecScatter m_scatter_b
 

Detailed Description

Definition at line 32 of file IPTwoBlockVec.hh.


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