QuadratureFormulaQ0Hexahedron Class Reference

#include <QuadratureFormula.hpp>

Inheritance diagram for QuadratureFormulaQ0Hexahedron:

Inheritance graph
[legend]
Collaboration diagram for QuadratureFormulaQ0Hexahedron:

Collaboration graph
[legend]

List of all members.

Public Types

enum  { numberOfQuadraturePoints = 1 }

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
 QuadratureFormulaQ0Hexahedron ()

Static Public Member Functions

static
QuadratureFormulaQ0Hexahedron
instance ()
static void create ()
static void destroy ()

Static Protected Attributes

static
QuadratureFormulaQ0Hexahedron
__pInstance

Private Attributes

TinyVector
< numberOfQuadraturePoints,
TinyVector< 3 > > 
__integrationVertices
TinyVector
< numberOfQuadraturePoints,
real_t > 
__weight


Detailed Description

Definition at line 354 of file QuadratureFormula.hpp.


Member Enumeration Documentation

anonymous enum

Enumerator:
numberOfQuadraturePoints 

Definition at line 358 of file QuadratureFormula.hpp.

00358        {
00359     numberOfQuadraturePoints = 1
00360   };


Constructor & Destructor Documentation

QuadratureFormulaQ0Hexahedron::QuadratureFormulaQ0Hexahedron (  )  [inline]

Definition at line 388 of file QuadratureFormula.hpp.

References __integrationVertices.

00389     : __weight(1.)
00390   {
00391     __integrationVertices[0] = TinyVector<3,real_t>(0.5,0.5,0.5);
00392   }


Member Function Documentation

const TinyVector<3>& QuadratureFormulaQ0Hexahedron::operator[] ( const size_t &  i  )  const [inline]

Definition at line 368 of file QuadratureFormula.hpp.

References __integrationVertices.

00369   {
00370     return __integrationVertices[i];
00371   }

const TinyVector<numberOfQuadraturePoints,TinyVector<3> >& QuadratureFormulaQ0Hexahedron::vertices (  )  const [inline]

Definition at line 373 of file QuadratureFormula.hpp.

References __integrationVertices.

Referenced by Q0HexahedronFiniteElement::integrationVertices().

00374   {
00375     return __integrationVertices;
00376   }

size_t QuadratureFormulaQ0Hexahedron::numberOfVertices (  )  const [inline]

Definition at line 378 of file QuadratureFormula.hpp.

References numberOfQuadraturePoints.

00379   {
00380     return numberOfQuadraturePoints;
00381   }

real_t QuadratureFormulaQ0Hexahedron::weight ( const size_t &  i  )  const [inline]

Definition at line 383 of file QuadratureFormula.hpp.

References __weight.

00384   {
00385     return __weight[i];
00386   }

static QuadratureFormulaQ0Hexahedron & StaticBase< QuadratureFormulaQ0Hexahedron >::instance (  )  [inline, static, inherited]

Access to auto instanciated static;

Returns:
*__pInstance

Definition at line 46 of file StaticBase.hpp.

Referenced by Q0HexahedronFiniteElement::integrationVertices().

00047   {
00048     return *__pInstance;
00049   }

static void StaticBase< QuadratureFormulaQ0Hexahedron >::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< QuadratureFormulaQ0Hexahedron >::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   }


Member Data Documentation

Definition at line 363 of file QuadratureFormula.hpp.

Referenced by operator[](), QuadratureFormulaQ0Hexahedron(), and vertices().

TinyVector<numberOfQuadraturePoints, real_t> QuadratureFormulaQ0Hexahedron::__weight [private]

Definition at line 365 of file QuadratureFormula.hpp.

Referenced by weight().

The static variable

Definition at line 37 of file StaticBase.hpp.


The documentation for this class was generated from the following file:

Generated on Wed Nov 19 00:12:11 2008 for FreeFEM3D (aka ff3d) by  doxygen 1.5.6