LifeV
lifev/eta/tutorials/9_ETA_gradient_interpolation/main.cpp File Reference

Tutorial for gradient interpolation. 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 <lifev/core/util/LifeChrono.hpp>
#include <boost/shared_ptr.hpp>
+ Include dependency graph for lifev/eta/tutorials/9_ETA_gradient_interpolation/main.cpp:

Go to the source code of this file.

Typedefs

typedef RegionMesh< LinearTetramesh_Type
 
typedef MatrixEpetra< Realmatrix_Type
 
typedef VectorEpetra vector_Type
 

Functions

Real uFct (const Real &, const Real &x, const Real &y, const Real &z, const ID &i)
 Functions. More...
 
int main (int argc, char **argv)
 

Detailed Description

Tutorial for gradient interpolation.

Author
Luca Pasquale luca..nosp@m.pasq.nosp@m.uale@.nosp@m.mail.nosp@m..poli.nosp@m.mi.i.nosp@m.t
Date
2013-05

In this tutorial we use two expressions available when integrating with Expression Templates:

  • interpoaltion of the gradient of a given function
  • multiplication by a MatrixSmall We do this by multiplying the gradient by the identity matrix (i.e. we're integrating the divergence)

Tutorials that should be read before: 1,3

Definition in file lifev/eta/tutorials/9_ETA_gradient_interpolation/main.cpp.

Typedef Documentation

◆ mesh_Type

◆ matrix_Type

◆ vector_Type

Function Documentation

◆ uFct()

Real uFct ( const Real ,
const Real x,
const Real y,
const Real z,
const ID i 
)

Functions.

Definition at line 102 of file lifev/eta/tutorials/9_ETA_gradient_interpolation/main.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)