BELFEM 0.9.0
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 realvalues () const
Public Member Functions inherited from belfem::sparse::DistMatrix
 DistMatrix (const SolverParameters *aParams, SpMatrix *aMatrix=nullptr)
virtual ~DistMatrix ()
const int_tdist () const
const realrhs () const
reallhs ()
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
SpMatrixmMatrix = nullptr
Cell< index_tmForwardPermutation
Cell< index_tmBackwardPermutation
Cell< index_tmIndexPermutation
Vector< int_tmSizes
Vector< int_tmDist
Vector< int_tmOffsets
Vector< realmRhs
Vector< realmMyRhs
Vector< realmLhs
Vector< realmMyLhs
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: