![]() |
waves
Basic FE playground
|
Class which is used to store Teuchos::RCP to the algebraic information of the problem: More...
#include <Algebraic.h>
Public Member Functions | |
Algebraic (Teuchos::RCP< Map > map, Teuchos::RCP< Domain< scalar >> domain) | |
Algebraic constructor. More... | |
Teuchos::RCP< Tpetra::Vector< scalar, local_ordinal_type, global_ordinal_type > > | readVectorFromFile (std::string &name, size_t myRank) |
Function to read a vector from file and distribute it to the MPI processes. More... | |
Public Attributes | |
Teuchos::RCP< Map > | map |
Teuchos::RCP< Graph > | graph |
Teuchos::RCP< Matrices< scalar > > | matrices |
Teuchos::RCP< Vectors< scalar > > | vectors |
Private Types | |
typedef Map::local_ordinal_type | local_ordinal_type |
typedef Map::global_ordinal_type | global_ordinal_type |
Class which is used to store Teuchos::RCP to the algebraic information of the problem:
|
private |
|
private |
katoptron::Algebraic< scalar >::Algebraic | ( | Teuchos::RCP< Map > | _map, |
Teuchos::RCP< Domain< scalar >> | domain | ||
) |
Algebraic constructor.
This contrusctor calls the constructor of the katoptron::Graph, katoptron::Matrices, and katoptron::Vectors classes. To do so, we need information regarding the distributions of the nodes and elements over the MPI processes (information included in the katoptron::Map class) and information regarding the connectivity between the degrees of freedom (or, equivalently, between the nodes) (information included in katoptron::Domain::elementsList).
Arguments:
Teuchos::RCP< Tpetra::Vector< scalar, Map::local_ordinal_type, Map::global_ordinal_type > > katoptron::Algebraic< scalar >::readVectorFromFile | ( | std::string & | name, |
size_t | myRank | ||
) |
Function to read a vector from file and distribute it to the MPI processes.
Arguments:
Teuchos::RCP<Graph> katoptron::Algebraic< scalar >::graph |
Teuchos::RCP<Map> katoptron::Algebraic< scalar >::map |
Teuchos::RCP<Matrices<scalar> > katoptron::Algebraic< scalar >::matrices |
Teuchos::RCP<Vectors<scalar> > katoptron::Algebraic< scalar >::vectors |