LifeV
|
Tutorial for the use of block structures with the ETA framework. More...
#include <Epetra_ConfigDefs.h>
#include <Epetra_SerialComm.h>
#include <lifev/core/LifeV.hpp>
#include <lifev/core/mesh/MeshPartitioner.hpp>
#include <lifev/core/mesh/RegionMesh3DStructured.hpp>
#include <lifev/core/mesh/RegionMesh.hpp>
#include <lifev/core/array/MatrixEpetra.hpp>
#include <lifev/core/array/VectorEpetra.hpp>
#include <lifev/core/array/MatrixEpetraStructured.hpp>
#include <lifev/core/array/VectorEpetraStructured.hpp>
#include <lifev/eta/fem/ETFESpace.hpp>
#include <lifev/eta/expression/Integrate.hpp>
#include <lifev/core/fem/FESpace.hpp>
#include <boost/shared_ptr.hpp>
Go to the source code of this file.
Typedefs | |
typedef RegionMesh< LinearTetra > | mesh_Type |
typedef MatrixEpetra< Real > | matrix_Type |
typedef VectorEpetra | vector_Type |
typedef MatrixEpetraStructured< Real > | blockMatrix_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) |
Tutorial for the use of block structures with the ETA framework.
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 RegionMesh<LinearTetra> mesh_Type |
Definition at line 90 of file lifev/eta/tutorials/7_ETA_blocks/main.cpp.
typedef MatrixEpetra<Real> matrix_Type |
Definition at line 91 of file lifev/eta/tutorials/7_ETA_blocks/main.cpp.
typedef VectorEpetra vector_Type |
Definition at line 92 of file lifev/eta/tutorials/7_ETA_blocks/main.cpp.
typedef MatrixEpetraStructured<Real> blockMatrix_Type |
Definition at line 93 of file lifev/eta/tutorials/7_ETA_blocks/main.cpp.
Definition at line 94 of file lifev/eta/tutorials/7_ETA_blocks/main.cpp.
typedef FESpace<mesh_Type, MapEpetra>::function_Type function_Type |
Definition at line 95 of file lifev/eta/tutorials/7_ETA_blocks/main.cpp.
Definition at line 102 of file lifev/eta/tutorials/7_ETA_blocks/main.cpp.
function_Type forceFct | ( | forceFctRaw | ) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 113 of file lifev/eta/tutorials/7_ETA_blocks/main.cpp.