waves
Basic FE playground
katoptron::Matrices< scalar > Class Template Reference

Class which includes all the Trilinos matrices (Tpetra matrices and Xpetra matrices) used in the simulation. More...

#include <Matrices.h>

Public Types

typedef Map::local_ordinal_type local_ordinal_type
 
typedef Map::global_ordinal_type global_ordinal_type
 
typedef Map::node_type node_type
 
typedef Map::tpetra_map_type tpetra_map_type
 
typedef Map::xpetra_bmap_type xpetra_bmap_type
 
typedef Tpetra::CrsGraph< local_ordinal_type, global_ordinal_type, node_typetpetra_graph_type
 
typedef Tpetra::CrsMatrix< scalar, local_ordinal_type, global_ordinal_type, node_typetpetra_crs_type
 
typedef Xpetra::Matrix< scalar, local_ordinal_type, global_ordinal_type, node_typexpetra_mat_type
 
typedef Xpetra::CrsMatrix< scalar, local_ordinal_type, global_ordinal_type, node_typexpetra_crs_type
 
typedef Xpetra::CrsMatrixWrap< scalar, local_ordinal_type, global_ordinal_type, node_typexpetra_wcrs_type
 
typedef Xpetra::BlockedCrsMatrix< scalar, local_ordinal_type, global_ordinal_type, node_typexpetra_bcrs_type
 
typedef Xpetra::TpetraCrsMatrix< scalar, local_ordinal_type, global_ordinal_type, node_typexpetra_tcrs_type
 

Public Member Functions

 Matrices (Teuchos::RCP< Graph > graph)
 Matrices constructor. More...
 

Public Attributes

Teuchos::RCP< tpetra_crs_typeK
 
Teuchos::RCP< tpetra_crs_typeS
 
Teuchos::RCP< tpetra_crs_typeL
 
Teuchos::RCP< tpetra_crs_typeB
 
Teuchos::RCP< tpetra_crs_typeB_T
 
Teuchos::RCP< tpetra_crs_typeB_1
 
Teuchos::RCP< tpetra_crs_typeB_2
 
Teuchos::RCP< tpetra_crs_typeB_G
 
Teuchos::RCP< tpetra_crs_typeC
 
Teuchos::RCP< tpetra_crs_typeCb
 
Teuchos::RCP< xpetra_crs_typexA
 
Teuchos::RCP< xpetra_crs_typexB
 
Teuchos::RCP< xpetra_crs_typexB_T
 
Teuchos::RCP< xpetra_crs_typexC
 
Teuchos::RCP< xpetra_wcrs_typexwA
 
Teuchos::RCP< xpetra_wcrs_typexwB
 
Teuchos::RCP< xpetra_wcrs_typexwB_T
 
Teuchos::RCP< xpetra_wcrs_typexwC
 
Teuchos::RCP< xpetra_bcrs_typeblockedMatrix
 
Teuchos::RCP< xpetra_mat_typeA
 

Detailed Description

template<typename scalar>
class katoptron::Matrices< scalar >

Class which includes all the Trilinos matrices (Tpetra matrices and Xpetra matrices) used in the simulation.

In the case of the saddle point matrix arising from the Mortar FEM, the block matrix is stored as follows:

\[ \begin{bmatrix} \boldsymbol{A} & \boldsymbol{B}_1 \\ \boldsymbol{B}_2 & \boldsymbol{C} \end{bmatrix}. \]

Member Typedef Documentation

◆ global_ordinal_type

template<typename scalar >
typedef Map::global_ordinal_type katoptron::Matrices< scalar >::global_ordinal_type

◆ local_ordinal_type

template<typename scalar >
typedef Map::local_ordinal_type katoptron::Matrices< scalar >::local_ordinal_type

◆ node_type

template<typename scalar >
typedef Map::node_type katoptron::Matrices< scalar >::node_type

◆ tpetra_crs_type

template<typename scalar >
typedef Tpetra::CrsMatrix<scalar, local_ordinal_type, global_ordinal_type, node_type> katoptron::Matrices< scalar >::tpetra_crs_type

◆ tpetra_graph_type

template<typename scalar >
typedef Tpetra::CrsGraph<local_ordinal_type, global_ordinal_type, node_type> katoptron::Matrices< scalar >::tpetra_graph_type

◆ tpetra_map_type

template<typename scalar >
typedef Map::tpetra_map_type katoptron::Matrices< scalar >::tpetra_map_type

◆ xpetra_bcrs_type

template<typename scalar >
typedef Xpetra::BlockedCrsMatrix<scalar, local_ordinal_type, global_ordinal_type, node_type> katoptron::Matrices< scalar >::xpetra_bcrs_type

◆ xpetra_bmap_type

template<typename scalar >
typedef Map::xpetra_bmap_type katoptron::Matrices< scalar >::xpetra_bmap_type

◆ xpetra_crs_type

template<typename scalar >
typedef Xpetra::CrsMatrix<scalar, local_ordinal_type, global_ordinal_type, node_type> katoptron::Matrices< scalar >::xpetra_crs_type

◆ xpetra_mat_type

template<typename scalar >
typedef Xpetra::Matrix<scalar, local_ordinal_type, global_ordinal_type, node_type> katoptron::Matrices< scalar >::xpetra_mat_type

◆ xpetra_tcrs_type

template<typename scalar >
typedef Xpetra::TpetraCrsMatrix<scalar, local_ordinal_type, global_ordinal_type, node_type> katoptron::Matrices< scalar >::xpetra_tcrs_type

◆ xpetra_wcrs_type

template<typename scalar >
typedef Xpetra::CrsMatrixWrap<scalar, local_ordinal_type, global_ordinal_type, node_type> katoptron::Matrices< scalar >::xpetra_wcrs_type

Constructor & Destructor Documentation

◆ Matrices()

template<typename scalar >
katoptron::Matrices< scalar >::Matrices ( Teuchos::RCP< Graph graph)

Matrices constructor.

This constructor allocates the memory for the matrix \(\boldsymbol{A}\). The other matrices and the filling of the entries are done later.

Argument:

  • graph: an RCP to a Graph object.

Member Data Documentation

◆ A

template<typename scalar >
Teuchos::RCP<xpetra_mat_type> katoptron::Matrices< scalar >::A

◆ B

template<typename scalar >
Teuchos::RCP<tpetra_crs_type> katoptron::Matrices< scalar >::B

◆ B_1

template<typename scalar >
Teuchos::RCP<tpetra_crs_type> katoptron::Matrices< scalar >::B_1

◆ B_2

template<typename scalar >
Teuchos::RCP<tpetra_crs_type> katoptron::Matrices< scalar >::B_2

◆ B_G

template<typename scalar >
Teuchos::RCP<tpetra_crs_type> katoptron::Matrices< scalar >::B_G

◆ B_T

template<typename scalar >
Teuchos::RCP<tpetra_crs_type> katoptron::Matrices< scalar >::B_T

◆ blockedMatrix

template<typename scalar >
Teuchos::RCP<xpetra_bcrs_type> katoptron::Matrices< scalar >::blockedMatrix

◆ C

template<typename scalar >
Teuchos::RCP<tpetra_crs_type> katoptron::Matrices< scalar >::C

◆ Cb

template<typename scalar >
Teuchos::RCP<tpetra_crs_type> katoptron::Matrices< scalar >::Cb

◆ K

template<typename scalar >
Teuchos::RCP<tpetra_crs_type> katoptron::Matrices< scalar >::K

◆ L

template<typename scalar >
Teuchos::RCP<tpetra_crs_type> katoptron::Matrices< scalar >::L

◆ S

template<typename scalar >
Teuchos::RCP<tpetra_crs_type> katoptron::Matrices< scalar >::S

◆ xA

template<typename scalar >
Teuchos::RCP<xpetra_crs_type> katoptron::Matrices< scalar >::xA

◆ xB

template<typename scalar >
Teuchos::RCP<xpetra_crs_type> katoptron::Matrices< scalar >::xB

◆ xB_T

template<typename scalar >
Teuchos::RCP<xpetra_crs_type> katoptron::Matrices< scalar >::xB_T

◆ xC

template<typename scalar >
Teuchos::RCP<xpetra_crs_type> katoptron::Matrices< scalar >::xC

◆ xwA

template<typename scalar >
Teuchos::RCP<xpetra_wcrs_type> katoptron::Matrices< scalar >::xwA

◆ xwB

template<typename scalar >
Teuchos::RCP<xpetra_wcrs_type> katoptron::Matrices< scalar >::xwB

◆ xwB_T

template<typename scalar >
Teuchos::RCP<xpetra_wcrs_type> katoptron::Matrices< scalar >::xwB_T

◆ xwC

template<typename scalar >
Teuchos::RCP<xpetra_wcrs_type> katoptron::Matrices< scalar >::xwC

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