BELFEM 0.9.0
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 ()
garray_size () const
n_rows () const
realdiagonal_values ()
realoffdiagonal_values ()
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

◆ 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: