LifeV
|
Tutorial for the use of functor in 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/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.
Data Structures | |
class | fFunctor |
class | normFunctor |
Typedefs | |
typedef RegionMesh< LinearTetra > | mesh_Type |
typedef MatrixEpetra< Real > | matrix_Type |
typedef VectorEpetra | vector_Type |
typedef FESpace< mesh_Type, MapEpetra >::function_Type | function_Type |
Functions | |
Real | fFctRaw (const Real &, const Real &x, const Real &, const Real &, const ID &) |
function_Type | fFct (fFctRaw) |
int | main (int argc, char **argv) |
Tutorial for the use of functor in the ETA framework.
In this tutorial, we show how the functors can be used to add functionalities to the ETA framework.
We show, in particular, how to assemble a SUPG stabilized advection diffusion matrix. We also show how to integrate functions without interpolating them.
Tutorials that should be read before: 1,2,3
Definition in file lifev/eta/tutorials/6_ETA_functor/main.cpp.
typedef RegionMesh<LinearTetra> mesh_Type |
Definition at line 83 of file lifev/eta/tutorials/6_ETA_functor/main.cpp.
typedef MatrixEpetra<Real> matrix_Type |
Definition at line 84 of file lifev/eta/tutorials/6_ETA_functor/main.cpp.
typedef VectorEpetra vector_Type |
Definition at line 85 of file lifev/eta/tutorials/6_ETA_functor/main.cpp.
typedef FESpace<mesh_Type, MapEpetra>::function_Type function_Type |
Definition at line 86 of file lifev/eta/tutorials/6_ETA_functor/main.cpp.
Definition at line 94 of file lifev/eta/tutorials/6_ETA_functor/main.cpp.
function_Type fFct | ( | fFctRaw | ) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 194 of file lifev/eta/tutorials/6_ETA_functor/main.cpp.