Loading...
Searching...
No Matches
Public Member Functions | List of all members
bitpit::ProxySystemMatrixOrdering< RowRankStorage, ColRankStorage > Class Template Reference

The ProxySystemMatrixOrdering class defines allows to use a matrix ordering defined in some external storage. More...

Inheritance diagram for bitpit::ProxySystemMatrixOrdering< RowRankStorage, ColRankStorage >:
Inheritance graph
[legend]
Collaboration diagram for bitpit::ProxySystemMatrixOrdering< RowRankStorage, ColRankStorage >:
Collaboration graph
[legend]

Public Member Functions

 ProxySystemMatrixOrdering (const RowRankStorage *rowRankStorage, const ColRankStorage *colRankStorage)
 
long getColPermutationRank (long col) const override
 
long getRowPermutationRank (long row) const override
 

Detailed Description

template<typename RowRankStorage, typename ColRankStorage>
class bitpit::ProxySystemMatrixOrdering< RowRankStorage, ColRankStorage >

The ProxySystemMatrixOrdering class defines allows to use a matrix ordering defined in some external storage.

If the system is partitioned, each process can reorder only it's local part of the matix.

Definition at line 120 of file system_solvers_large.hpp.

Constructor & Destructor Documentation

◆ ProxySystemMatrixOrdering()

template<typename RowRankStorage , typename ColRankStorage >
bitpit::ProxySystemMatrixOrdering< RowRankStorage, ColRankStorage >::ProxySystemMatrixOrdering ( const RowRankStorage * rowRankStorage,
const ColRankStorage * colRankStorage )

Constructor.

Parameters
rowRankStorageis the storage for the row ranks
colRankStorageis the storage for the column ranks

Definition at line 48 of file system_solvers_large.tpp.

Member Function Documentation

◆ getColPermutationRank()

template<typename RowRankStorage , typename ColRankStorage >
long bitpit::ProxySystemMatrixOrdering< RowRankStorage, ColRankStorage >::getColPermutationRank ( long col) const
overridevirtual

Get the rank of the specified local column.

The permutation rank defines the position, in the final assembled matrix, of the specified local column (i.e., the position of the specified local column after applying the reordering).

Parameters
colis the local column
Returns
The rank of the specified local column.

Implements bitpit::SystemMatrixOrdering.

Definition at line 81 of file system_solvers_large.tpp.

◆ getRowPermutationRank()

template<typename RowRankStorage , typename ColRankStorage >
long bitpit::ProxySystemMatrixOrdering< RowRankStorage, ColRankStorage >::getRowPermutationRank ( long row) const
overridevirtual

Get the rank of the specified local row.

The permutation rank defines the position, in the final assembled matrix, of the specified local row (i.e., the position of the specified local row after applying the reordering).

Parameters
rowis the local row
Returns
The rank of the specified local row.

Implements bitpit::SystemMatrixOrdering.

Definition at line 65 of file system_solvers_large.tpp.


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