LifeV
MatrixGraph Class Reference

#include <MatrixGraph.hpp>

+ Collaboration diagram for MatrixGraph:

Public Types

typedef RegionMesh< LinearTetramesh_Type
 
typedef boost::shared_ptr< mesh_TypemeshPtr_Type
 
typedef Epetra_Comm comm_Type
 
typedef boost::shared_ptr< comm_TypecommPtr_Type
 
typedef Epetra_FECrsGraph graph_Type
 
typedef boost::shared_ptr< graph_TypegraphPtr_Type
 
typedef FESpace< mesh_Type, MapEpetrafespace_Type
 
typedef boost::shared_ptr< fespace_TypefespacePtr_Type
 

Public Member Functions

 MatrixGraph (const meshPtr_Type &mesh, const commPtr_Type &comm, const ReferenceFE *refFE)
 Constructor. More...
 
 ~MatrixGraph ()
 Destructor. More...
 

Private Attributes

meshPtr_Type M_mesh
 
commPtr_Type M_comm
 
int M_numElements
 
int M_numScalarDofs
 
double ** M_elements
 
const ReferenceFEM_referenceFE
 
int ** M_rows
 
int ** M_cols
 

Methods

void buildGraph (const int &numElements, CurrentFE *fe, const fespacePtr_Type &fespace, graphPtr_Type &matrix_graph)
 Build the matrix graph. More...
 

Detailed Description

Definition at line 52 of file MatrixGraph.hpp.

Member Typedef Documentation

◆ mesh_Type

Definition at line 56 of file MatrixGraph.hpp.

◆ meshPtr_Type

typedef boost::shared_ptr<mesh_Type> meshPtr_Type

Definition at line 57 of file MatrixGraph.hpp.

◆ comm_Type

typedef Epetra_Comm comm_Type

Definition at line 59 of file MatrixGraph.hpp.

◆ commPtr_Type

typedef boost::shared_ptr< comm_Type > commPtr_Type

Definition at line 60 of file MatrixGraph.hpp.

◆ graph_Type

typedef Epetra_FECrsGraph graph_Type

Definition at line 62 of file MatrixGraph.hpp.

◆ graphPtr_Type

typedef boost::shared_ptr<graph_Type> graphPtr_Type

Definition at line 63 of file MatrixGraph.hpp.

◆ fespace_Type

Definition at line 65 of file MatrixGraph.hpp.

◆ fespacePtr_Type

typedef boost::shared_ptr<fespace_Type> fespacePtr_Type

Definition at line 66 of file MatrixGraph.hpp.

Constructor & Destructor Documentation

◆ MatrixGraph()

MatrixGraph ( const meshPtr_Type mesh,
const commPtr_Type comm,
const ReferenceFE refFE 
)

Constructor.

Parameters
mesh- input mesh
comm- communicator

Definition at line 11 of file MatrixGraph.cpp.

+ Here is the caller graph for this function:

◆ ~MatrixGraph()

Destructor.

Definition at line 19 of file MatrixGraph.cpp.

Member Function Documentation

◆ buildGraph()

void buildGraph ( const int &  numElements,
CurrentFE fe,
const fespacePtr_Type fespace,
graphPtr_Type matrix_graph 
)

Build the matrix graph.

Parameters
numElements- data file
fe- current FE
fespace- FE space

Definition at line 41 of file MatrixGraph.cpp.

Field Documentation

◆ M_mesh

meshPtr_Type M_mesh
private

Definition at line 93 of file MatrixGraph.hpp.

◆ M_comm

commPtr_Type M_comm
private

Definition at line 94 of file MatrixGraph.hpp.

◆ M_numElements

int M_numElements
private

Definition at line 96 of file MatrixGraph.hpp.

◆ M_numScalarDofs

int M_numScalarDofs
private

Definition at line 97 of file MatrixGraph.hpp.

◆ M_elements

double** M_elements
private

Definition at line 99 of file MatrixGraph.hpp.

◆ M_referenceFE

const ReferenceFE* M_referenceFE
private

Definition at line 100 of file MatrixGraph.hpp.

◆ M_rows

int** M_rows
private

Definition at line 102 of file MatrixGraph.hpp.

◆ M_cols

int** M_cols
private

Definition at line 103 of file MatrixGraph.hpp.


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