QuOc

 

Public Types | Public Member Functions | Protected Attributes

aol::GaussQuadrature< _RealType, qc::QC_1D, 21 > Class Template Reference

#include <baseFunctionSet.h>

List of all members.

Public Types

enum  { numQuadPoints = 11 }

Public Member Functions

 GaussQuadrature ()
const Vec< 1, _RealType > & getRefCoord (int QuadPoint) const
_RealType getWeight (int QuadPoint) const

Protected Attributes

Vec< 1, _RealType > _points [numQuadPoints]

Detailed Description

template<typename _RealType>
class aol::GaussQuadrature< _RealType, qc::QC_1D, 21 >

Definition at line 845 of file baseFunctionSet.h.


Member Enumeration Documentation

template<typename _RealType >
anonymous enum
Enumerator:
numQuadPoints 

Definition at line 847 of file baseFunctionSet.h.

{ numQuadPoints = 11 };


Constructor & Destructor Documentation

template<typename _RealType >
aol::GaussQuadrature< _RealType, qc::QC_1D, 21 >::GaussQuadrature (  )  [inline]

Definition at line 849 of file baseFunctionSet.h.

                     {
    _points[0][0] = 0.1088567092697150e-1;
    _points[1][0] = 0.5646870011595235e-1;
    _points[2][0] = 0.1349239972129753;
    _points[3][0] = 0.2404519353965941;
    _points[4][0] = 0.3652284220238275;
    _points[5][0] = 0.5;
    _points[6][0] = 0.6347715779761725;
    _points[7][0] = 0.7595480646034059;
    _points[8][0] = 0.8650760027870247;
    _points[9][0] = 0.9435312998840476;
    _points[10][0] = 0.9891143290730285;
  }


Member Function Documentation

template<typename _RealType >
const Vec<1, _RealType>& aol::GaussQuadrature< _RealType, qc::QC_1D, 21 >::getRefCoord ( int  QuadPoint  )  const [inline]

Definition at line 864 of file baseFunctionSet.h.

                                                                      {
    return _points [QuadPoint];
  }

template<typename _RealType >
_RealType aol::GaussQuadrature< _RealType, qc::QC_1D, 21 >::getWeight ( int  QuadPoint  )  const [inline]

Definition at line 868 of file baseFunctionSet.h.

                                                     {
    static const _RealType _weights [numQuadPoints] = {
                                                       .2783428355808683e-1, .6279018473245231e-1, .9314510546386713e-1, .1165968822959952,
                                                       .1314022722551233, .1364625433889503, .1314022722551233, .1165968822959952,
                                                       .9314510546386713e-1, .6279018473245231e-1, .2783428355808683e-1
                                                     };
    return _weights [QuadPoint];
  }


Member Data Documentation

template<typename _RealType >
Vec<1, _RealType> aol::GaussQuadrature< _RealType, qc::QC_1D, 21 >::_points[numQuadPoints] [protected]

Definition at line 878 of file baseFunctionSet.h.


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

Generated on Fri Sep 9 2011 21:08:49 for QuocMesh by doxygen 1.7.1