LifeV
lifev/eta/tutorials/7_ETA_blocks/main.cpp File Reference

Tutorial for the use of block structures with the ETA framework. More...

+ Include dependency graph for lifev/eta/tutorials/7_ETA_blocks/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
 
typedef FESpace< mesh_Type, MapEpetra >::function_Type function_Type
 

Functions

Real forceFctRaw (const Real &, const Real &, const Real &, const Real &z, const ID &)
 
function_Type forceFct (forceFctRaw)
 
int main (int argc, char **argv)
 

Detailed Description

Tutorial for the use of block structures with the ETA framework.

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

In this tutorial, we explain how to assemble the linear systems associated with problems with several physical quantities. This is of particular interest for multiphysics problems.

In this tutorial, we assemble a Stokes problem and a convection problem using the blocks.

Tutorials that should be read before: 1,4

Definition in file lifev/eta/tutorials/7_ETA_blocks/main.cpp.

Typedef Documentation

◆ mesh_Type

◆ matrix_Type

◆ vector_Type

◆ blockMatrix_Type

◆ blockVector_Type

◆ function_Type

Function Documentation

◆ forceFctRaw()

Real forceFctRaw ( const Real ,
const Real ,
const Real ,
const Real z,
const ID  
)

Definition at line 102 of file lifev/eta/tutorials/7_ETA_blocks/main.cpp.

◆ forceFct()

function_Type forceFct ( forceFctRaw  )

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 113 of file lifev/eta/tutorials/7_ETA_blocks/main.cpp.