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

#include <cl_SolverDistMatrix.hpp>

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

Public Member Functions

 DistMatrixAIJ (const SolverParameters *aParams, SpMatrix *aMatrix)
void distribute_values (SpMatrix *aMatrix) override
T * diagonal_pointers ()
T * offdiagonal_pointers ()
T * diagonal_indices ()
T * offdiagonal_indices ()
T * garray ()
T garray_size () const
T n_rows () const
real * diagonal_values ()
real * offdiagonal_values ()
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

◆ DistMatrixAIJ()

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

Member Function Documentation

◆ diagonal_indices()

template<typename T>
T * belfem::sparse::DistMatrixAIJ< T >::diagonal_indices ( )
inline

◆ diagonal_pointers()

template<typename T>
T * belfem::sparse::DistMatrixAIJ< T >::diagonal_pointers ( )
inline

◆ diagonal_values()

template<typename T>
real * belfem::sparse::DistMatrixAIJ< T >::diagonal_values ( )
inline

◆ distribute_sparsity_pattern()

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

◆ distribute_values()

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

◆ garray()

template<typename T>
T * belfem::sparse::DistMatrixAIJ< T >::garray ( )
inline

◆ garray_size()

template<typename T>
T belfem::sparse::DistMatrixAIJ< T >::garray_size ( ) const
inline

◆ n_rows()

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

◆ offdiagonal_indices()

template<typename T>
T * belfem::sparse::DistMatrixAIJ< T >::offdiagonal_indices ( )
inline

◆ offdiagonal_pointers()

template<typename T>
T * belfem::sparse::DistMatrixAIJ< T >::offdiagonal_pointers ( )
inline

◆ offdiagonal_values()

template<typename T>
real * belfem::sparse::DistMatrixAIJ< T >::offdiagonal_values ( )
inline

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