#include <QuadratureFormula.hpp>


Public Types | |
| enum | { numberOfQuadraturePoints = 8 } |
Public Member Functions | |
| const TinyVector< 3 > & | operator[] (const size_t &i) const |
| const TinyVector < numberOfQuadraturePoints, TinyVector< 3 > > & | vertices () const |
| size_t | numberOfVertices () const |
| real_t | weight (const size_t &i) const |
| QuadratureFormulaQ1Hexahedron () | |
Static Public Member Functions | |
| static QuadratureFormulaQ1Hexahedron & | instance () |
| static void | create () |
| static void | destroy () |
Static Protected Attributes | |
| static QuadratureFormulaQ1Hexahedron * | __pInstance |
Private Member Functions | |
| void | __setQuadratureVertices () |
Private Attributes | |
| TinyVector < numberOfQuadraturePoints, TinyVector< 3 > > | __integrationVertices |
| TinyVector < numberOfQuadraturePoints, real_t > | __weight |
Definition at line 395 of file QuadratureFormula.hpp.
| anonymous enum |
Definition at line 399 of file QuadratureFormula.hpp.
00399 { 00400 numberOfQuadraturePoints = 8 00401 };
| QuadratureFormulaQ1Hexahedron::QuadratureFormulaQ1Hexahedron | ( | ) | [inline] |
Definition at line 429 of file QuadratureFormula.hpp.
References __setQuadratureVertices().
00430 { 00431 this->__setQuadratureVertices(); 00432 }

| const TinyVector<3>& QuadratureFormulaQ1Hexahedron::operator[] | ( | const size_t & | i | ) | const [inline] |
Definition at line 409 of file QuadratureFormula.hpp.
References __integrationVertices.
00410 { 00411 return __integrationVertices[i]; 00412 }
| const TinyVector<numberOfQuadraturePoints,TinyVector<3> >& QuadratureFormulaQ1Hexahedron::vertices | ( | ) | const [inline] |
Definition at line 414 of file QuadratureFormula.hpp.
References __integrationVertices.
Referenced by ConformTransformationQ1HexahedronJacobian::ConformTransformationQ1HexahedronJacobian(), and Q1HexahedronFiniteElement::integrationVertices().
00415 { 00416 return __integrationVertices; 00417 }
| size_t QuadratureFormulaQ1Hexahedron::numberOfVertices | ( | ) | const [inline] |
Definition at line 419 of file QuadratureFormula.hpp.
References numberOfQuadraturePoints.
00420 { 00421 return numberOfQuadraturePoints; 00422 }
| real_t QuadratureFormulaQ1Hexahedron::weight | ( | const size_t & | i | ) | const [inline] |
Definition at line 424 of file QuadratureFormula.hpp.
References __weight.
00425 { 00426 return __weight[i]; 00427 }
| void QuadratureFormulaQ1Hexahedron::__setQuadratureVertices | ( | ) | [inline, private] |
Definition at line 435 of file QuadratureFormula.hpp.
References __integrationVertices, __weight, and numberOfQuadraturePoints.
Referenced by QuadratureFormulaQ1Hexahedron().
00436 { 00437 __weight = 1./numberOfQuadraturePoints; 00438 00439 TinyVector<2, real_t> X; 00440 00441 X[0] = 0.5 - std::sqrt(3.)/6.; 00442 X[1] = 0.5 + std::sqrt(3.)/6.; 00443 00444 for (size_t i=0; i<numberOfQuadraturePoints; ++i) { 00445 __integrationVertices[i][0] = X[i%2]; 00446 __integrationVertices[i][1] = X[(i/2)%2]; 00447 __integrationVertices[i][2] = X[(i/4)%2]; 00448 } 00449 }
| static QuadratureFormulaQ1Hexahedron & StaticBase< QuadratureFormulaQ1Hexahedron >::instance | ( | ) | [inline, static, inherited] |
Access to auto instanciated static;
Definition at line 46 of file StaticBase.hpp.
Referenced by MeshOfHexahedra::buildLocalizationTools(), ConformTransformationQ1HexahedronJacobian::ConformTransformationQ1HexahedronJacobian(), and Q1HexahedronFiniteElement::integrationVertices().
00047 { 00048 return *__pInstance; 00049 }
| static void StaticBase< QuadratureFormulaQ1Hexahedron >::create | ( | ) | [inline, static, inherited] |
Creates __pInstance in Embedding class.
Definition at line 55 of file StaticBase.hpp.
Referenced by ThreadStaticCenter::ThreadStaticCenter().
00056 { 00057 __pInstance = new EmbeddingClass(); 00058 }
| static void StaticBase< QuadratureFormulaQ1Hexahedron >::destroy | ( | ) | [inline, static, inherited] |
Destroyes __autoInstanciated in Embedding class.
Definition at line 64 of file StaticBase.hpp.
Referenced by ThreadStaticCenter::~ThreadStaticCenter().
00065 { 00066 delete __pInstance; 00067 }
TinyVector<numberOfQuadraturePoints,TinyVector<3> > QuadratureFormulaQ1Hexahedron::__integrationVertices [private] |
Definition at line 404 of file QuadratureFormula.hpp.
Referenced by __setQuadratureVertices(), operator[](), and vertices().
TinyVector<numberOfQuadraturePoints, real_t> QuadratureFormulaQ1Hexahedron::__weight [private] |
Definition at line 406 of file QuadratureFormula.hpp.
Referenced by __setQuadratureVertices(), and weight().
QuadratureFormulaQ1Hexahedron * StaticBase< QuadratureFormulaQ1Hexahedron >::__pInstance [static, protected, inherited] |
The static variable
Definition at line 37 of file StaticBase.hpp.
1.5.6