LifeV
|
Quadrature Rule test. More...
#include <fstream>
#include <Epetra_SerialComm.h>
#include <lifev/core/LifeV.hpp>
#include <lifev/core/fem/QuadratureRule.hpp>
#include "SetOfFun.hpp"
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) |
Quadrature Rule test.
@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.