LifeV
lifev/eta/tutorials/8_ETA_block_manip/main.cpp File Reference

Tutorial for a "better" usage of the blocks. More...

+ Include dependency graph for lifev/eta/tutorials/8_ETA_block_manip/main.cpp:

Go to the source code of this file.

Typedefs

typedef RegionMesh< LinearTetramesh_Type
 
typedef MatrixEpetra< Realmatrix_Type
 
typedef VectorEpetra vector_Type
 
typedef MatrixEpetraStructured< RealblockMatrix_Type
 
typedef VectorEpetraStructured blockVector_Type
 

Functions

int main (int argc, char **argv)
 

Detailed Description

Tutorial for a "better" usage of the blocks.

Author
Samuel Quinodoz samue.nosp@m.l.qu.nosp@m.inodo.nosp@m.z@ep.nosp@m.fl.ch
Date
02-07-2012

In the previous tutorial, we saw how to use the ETA framework with block structured matrices. This tutorial aims at investigating that more in detail.

In particular, 4 different strategies are proposed for the assembly of the Stokes matrix. The first one is the most simple strategy, but not the most efficient one. Two intermediate strategies are developed to show the influence of the different points. The last strategy represents the most efficient way of assembling the matrix.

In practice, only the first (simplest) and last (fastest) strategy should be considered since intermediate strategies have no advantages.

Tutorials that should be read before: 1,4,7

Definition in file lifev/eta/tutorials/8_ETA_block_manip/main.cpp.

Typedef Documentation

◆ mesh_Type

◆ matrix_Type

◆ vector_Type

◆ blockMatrix_Type

◆ blockVector_Type

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)