LifeV
|
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>
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 explaining how to debug a failing expression.
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 RegionMesh<LinearTetra> mesh_Type |
Definition at line 83 of file lifev/eta/tutorials/5_ETA_debug_expressions/main.cpp.
typedef MatrixEpetra<Real> matrix_Type |
Definition at line 84 of file lifev/eta/tutorials/5_ETA_debug_expressions/main.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 87 of file lifev/eta/tutorials/5_ETA_debug_expressions/main.cpp.