48 #include <Epetra_ConfigDefs.h> 53 #include <lifev/core/fem/ReferenceFE.hpp> 54 #include <lifev/core/fem/QuadratureRule.hpp> 55 #include <lifev/core/fem/CurrentFE.hpp> 56 #include <lifev/core/filter/GetPot.hpp> 57 #include <lifev/core/mesh/RegionMesh.hpp> 58 #include <lifev/core/mesh/RegionMesh3DStructured.hpp> 59 #include <lifev/core/fem/DOF.hpp> 63 int main (
int argc,
char** argv )
65 using namespace LifeV;
68 std::cout <<
"MPI Initialization" << std::endl;
69 MPI_Init ( &argc, &argv );
72 bool checkGlobal (
true), check (
true);
76 allQuadRuleTetra.reserve (5);
77 allQuadRuleTetra.push_back (&quadRuleTetra1pt);
78 allQuadRuleTetra.push_back (&quadRuleTetra4pt);
79 allQuadRuleTetra.push_back (&quadRuleTetra5pt);
80 allQuadRuleTetra.push_back (&quadRuleTetra15pt);
81 allQuadRuleTetra.push_back (&quadRuleTetra64pt);
85 allQuadRuleTria.reserve (5);
86 allQuadRuleTria.push_back (&quadRuleTria1pt);
87 allQuadRuleTria.push_back (&quadRuleTria3pt);
88 allQuadRuleTria.push_back (&quadRuleTria4pt);
89 allQuadRuleTria.push_back (&quadRuleTria6pt);
90 allQuadRuleTria.push_back (&quadRuleTria7pt);
94 allQuadRuleSegments.reserve (3);
95 allQuadRuleSegments.push_back (&quadRuleSeg1pt);
96 allQuadRuleSegments.push_back (&quadRuleSeg2pt);
97 allQuadRuleSegments.push_back (&quadRuleSeg3pt);
100 check = quad_check_doe< RegionMesh<LinearTetra> > (feTetraP1, geoLinearTetra, allQuadRuleTetra,
"quadRuleTetra");
101 checkGlobal = checkGlobal & check;
102 check = quad_check_cr< RegionMesh<LinearTetra> > (feTetraP1, geoLinearTetra, allQuadRuleTetra,
"quadRuleTetra");
103 checkGlobal = checkGlobal & check;
106 for (constIterator_Type it (allQuadRuleTria.begin() ); it != allQuadRuleTria.end(); ++it)
108 check = (*it)->degreeOfExactness() == (*it)->checkExactness();
109 checkGlobal = checkGlobal & check;
113 for (constIterator_Type it (allQuadRuleSegments.begin() ); it != allQuadRuleSegments.end(); ++it)
115 check = (*it)->degreeOfExactness() == (*it)->checkExactness();
116 checkGlobal = checkGlobal & check;
120 std::cout <<
"MPI Finalization" << std::endl;
int main(int argc, char **argv)
std::vector< QuadratureRule const * > container_Type