LifeV
|
Tutorial introducing the expression assembly. 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/eta/fem/ETFESpace.hpp>
#include <lifev/eta/expression/Integrate.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 |
Functions | |
int | main (int argc, char **argv) |
Tutorial introducing the expression assembly.
In this first tutorial, we assemble the matrix associated to a scalar laplacian problem. The basics of the ETA module are explained and are pushed further in the next tutorials.
ETA stands Expression Template Assembly, in reference to the metaprogramming technique used.
Definition in file lifev/eta/tutorials/1_ETA_laplacian/main.cpp.
typedef RegionMesh<LinearTetra> mesh_Type |
Definition at line 107 of file lifev/eta/tutorials/1_ETA_laplacian/main.cpp.
typedef MatrixEpetra<Real> matrix_Type |
Definition at line 108 of file lifev/eta/tutorials/1_ETA_laplacian/main.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 118 of file lifev/eta/tutorials/1_ETA_laplacian/main.cpp.