LifeV
test_quadrule.hpp File Reference

Quadrature Rule test. More...

#include <fstream>
#include <Epetra_SerialComm.h>
#include <lifev/core/LifeV.hpp>
#include <lifev/core/fem/QuadratureRule.hpp>
#include "SetOfFun.hpp"
+ Include dependency graph for test_quadrule.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 LifeV
 Default Physical Solver.
 

Typedefs

typedef std::vector< QuadratureRule const * > container_Type
 
typedef container_Type::const_iterator constIterator_Type
 

Functions

template<typename Mesh >
bool quad_check_doe (const ReferenceFE &refFE, const GeometricMap &geoMap, const container_Type &allQuad, std::string output_file)
 
template<typename Mesh >
bool quad_check_cr (const ReferenceFE &refFE, const GeometricMap &geoMap, const container_Type &allQuad, std::string output_name)
 

Detailed Description

Quadrature Rule test.

Author
Samuel Quinodoz samue.nosp@m.l.qu.nosp@m.inodo.nosp@m.z@ep.nosp@m.fl.ch
Umberto Villa uvill.nosp@m.a@em.nosp@m.ory.e.nosp@m.du
Contributor:
Maintainer:
Umberto Villa uvill.nosp@m.a@em.nosp@m.ory.e.nosp@m.du
@date 02-03-2010

The program tests the degree of exactness (DoE) and the convergence rate (CR) of all the quadrature rule in 3D (Tetrahedra) or in 2D (Triangles).

The code produce the following output:

quadRuleTetra.txt ==> Show the Degree of Exactness of all the quadrature rules on Tetrahedral elements quadRuleTetra.plt ==> Show the Convergence Rate of all the quadrature rules on Tetrahedral elements using gnuplot

Definition in file test_quadrule.hpp.