LifeV
lifev/eta/tutorials/6_ETA_functor/main.cpp File Reference

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>
+ Include dependency graph for lifev/eta/tutorials/6_ETA_functor/main.cpp:

Go to the source code of this file.

Data Structures

class  fFunctor
 
class  normFunctor
 

Typedefs

typedef RegionMesh< LinearTetramesh_Type
 
typedef MatrixEpetra< Realmatrix_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)
 

Detailed Description

Tutorial for the use of functor in the ETA framework.

Author
Samuel Quinodoz samue.nosp@m.l.qu.nosp@m.inodo.nosp@m.z@ep.nosp@m.fl.ch
Date
08-10-2010

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 Documentation

◆ mesh_Type

◆ matrix_Type

◆ vector_Type

◆ function_Type

Function Documentation

◆ fFctRaw()

Real fFctRaw ( const Real ,
const Real x,
const Real ,
const Real ,
const ID  
)

Definition at line 94 of file lifev/eta/tutorials/6_ETA_functor/main.cpp.

◆ fFct()

function_Type fFct ( fFctRaw  )

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 194 of file lifev/eta/tutorials/6_ETA_functor/main.cpp.