LifeV
lifev/eta/tutorials/5_ETA_debug_expressions/main.cpp File Reference

Tutorial explaining how to debug a failing expression. 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>
+ Include dependency graph for lifev/eta/tutorials/5_ETA_debug_expressions/main.cpp:

Go to the source code of this file.

Typedefs

typedef RegionMesh< LinearTetramesh_Type
 
typedef MatrixEpetra< Realmatrix_Type
 

Functions

int main (int argc, char **argv)
 

Detailed Description

Tutorial explaining how to debug a failing expression.

Author
Samuel Quinodoz samue.nosp@m.l.qu.nosp@m.inodo.nosp@m.z@ep.nosp@m.fl.ch
Date
29-06-2012

The ETA framework relies heavily on template mechanisms to work. This provides a clean interface and good performances. A drawback is that the compilation errors that one can get when making a mistake in the expression are extremly complicated and nearly impossible to understand for non-expert developers.

We explain here how to find out where is the problem and what are the exact criteria that makes an expression well-formed or ill-formed.

Tutorials that should be read before: 1,2

Definition in file lifev/eta/tutorials/5_ETA_debug_expressions/main.cpp.

Typedef Documentation

◆ mesh_Type

◆ matrix_Type

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)