BELFEM 0.9.3
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
belfem::sparse::DistMatrixCSR< T > Class Template Reference

#include <cl_SolverDistMatrix.hpp>

Inheritance diagram for belfem::sparse::DistMatrixCSR< T >:
[legend]
Collaboration diagram for belfem::sparse::DistMatrixCSR< T >:
[legend]

Public Member Functions

 DistMatrixCSR (const SolverParameters *aParams, SpMatrix *aMatrix)
void distribute_values (SpMatrix *aMatrix) override
const T * pointers () const
const T * indices () const
const T n_rows () const
const real * values () const
Public Member Functions inherited from belfem::sparse::DistMatrix
 DistMatrix (const SolverParameters *aParams, SpMatrix *aMatrix=nullptr)
virtual ~DistMatrix ()
const int_t * dist () const
const real * rhs () const
real * lhs ()
index_t size () const
Vector< real > & lhs_vector ()
Vector< real > & rhs_vector ()
void distribute_rhs (const Vector< real > &aRhs)
void distribute_lhs (const Vector< real > &aLhs)
void collect_lhs (Vector< real > &aLhs)

Protected Member Functions

void distribute_sparsity_pattern () override
Protected Member Functions inherited from belfem::sparse::DistMatrix
void determine_sizes_and_offsets ()

Additional Inherited Members

Protected Attributes inherited from belfem::sparse::DistMatrix
const proc_t mCommRank
const proc_t mCommSize
const bool mPermutationSwitch
const ReorderingMethod mReorderingMethod
SpMatrix * mMatrix = nullptr
Cell< index_t > mForwardPermutation
Cell< index_t > mBackwardPermutation
Cell< index_t > mIndexPermutation
Vector< int_t > mSizes
Vector< int_t > mDist
Vector< int_t > mOffsets
Vector< real > mRhs
Vector< real > mMyRhs
Vector< real > mLhs
Vector< real > mMyLhs
index_t mNumRows
index_t mMyNumRows

Constructor & Destructor Documentation

◆ DistMatrixCSR()

template<typename T>
belfem::sparse::DistMatrixCSR< T >::DistMatrixCSR ( const SolverParameters * aParams,
SpMatrix * aMatrix )
inline

Member Function Documentation

◆ distribute_sparsity_pattern()

template<typename T>
void belfem::sparse::DistMatrixCSR< T >::distribute_sparsity_pattern ( )
inlineoverrideprotectedvirtual

◆ distribute_values()

template<typename T>
void belfem::sparse::DistMatrixCSR< T >::distribute_values ( SpMatrix * aMatrix)
inlineoverridevirtual

◆ indices()

template<typename T>
const T * belfem::sparse::DistMatrixCSR< T >::indices ( ) const
inline

◆ n_rows()

template<typename T>
const T belfem::sparse::DistMatrixCSR< T >::n_rows ( ) const
inline

◆ pointers()

template<typename T>
const T * belfem::sparse::DistMatrixCSR< T >::pointers ( ) const
inline

◆ values()

template<typename T>
const real * belfem::sparse::DistMatrixCSR< T >::values ( ) const
inline

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