Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Private Attributes
hp2D::ShapeFunction2D< F > Class Template Reference

Collecting the data of a 2D shape function in one class. More...

#include <shapeFunction2d.hh>

Collaboration diagram for hp2D::ShapeFunction2D< F >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

const Real * abscissas (uint i) const
 Returns the abscissas of the quadrature rule and the shape functions.
void abscissas (uint i, const Real *value)
 Sets the abscissas of the quadrature rule and the shape functions.
void n (uint i, uint value)
 Sets the number of shape functions.
uint n (uint i) const
 Returns number of shape functions.
uint nq (uint i) const
 Returns number of quadratur points.
void nq (uint i, uint value)
 Sets the number of quadratur points.
 ShapeFunction2D (const ShapeFunction2D< F > &s)
 ShapeFunction2D ()
const concepts::TMatrixBase< F > * T () const
 Returns the T matrix.
void T (const concepts::TMatrixBase< F > *T)
 Sets the T matrix.
void usedIdx (const concepts::TColumnTensor< bool, 2 > *usedIdx)
 Sets the used indices (ldof)
const concepts::TColumnTensor
< bool, 2 > * 
usedIdx () const
 Returns the used indices (local degrees of freedom)
void values (uint i, const Real *value)
 Sets the values of the shape functions.
const Real * values (uint i) const
 Returns the values of the shape functions.
void weights (uint i, const Real *value)
 Sets the weights of the quadrature rule.
const Real * weights (uint i) const
 Returns the weights of the quadrature rule.

Private Attributes

const Real * abscissas_ [2]
int n_ [2]
int nq_ [2]
const concepts::TMatrixBase< F > * T_
const concepts::TColumnTensor
< bool, 2 > * 
usedIdx_
const F * values_ [2]
const Real * weights_ [2]

Detailed Description

template<typename F>
class hp2D::ShapeFunction2D< F >

Collecting the data of a 2D shape function in one class.

This class just collects all the data for a 2D shape function: it just holds pointers to the real data.

Author:
Kersten Schmidt, 2003

Definition at line 27 of file shapeFunction2d.hh.


Constructor & Destructor Documentation

template<typename F>
hp2D::ShapeFunction2D< F >::ShapeFunction2D ( )
template<typename F>
hp2D::ShapeFunction2D< F >::ShapeFunction2D ( const ShapeFunction2D< F > &  s)

Member Function Documentation

template<typename F>
const Real* hp2D::ShapeFunction2D< F >::abscissas ( uint  i) const [inline]

Returns the abscissas of the quadrature rule and the shape functions.

Definition at line 66 of file shapeFunction2d.hh.

template<typename F>
void hp2D::ShapeFunction2D< F >::abscissas ( uint  i,
const Real *  value 
) [inline]

Sets the abscissas of the quadrature rule and the shape functions.

Definition at line 71 of file shapeFunction2d.hh.

template<typename F>
void hp2D::ShapeFunction2D< F >::n ( uint  i,
uint  value 
) [inline]

Sets the number of shape functions.

Definition at line 38 of file shapeFunction2d.hh.

template<typename F>
uint hp2D::ShapeFunction2D< F >::n ( uint  i) const [inline]

Returns number of shape functions.

Definition at line 33 of file shapeFunction2d.hh.

template<typename F>
void hp2D::ShapeFunction2D< F >::nq ( uint  i,
uint  value 
) [inline]

Sets the number of quadratur points.

Definition at line 49 of file shapeFunction2d.hh.

template<typename F>
uint hp2D::ShapeFunction2D< F >::nq ( uint  i) const [inline]

Returns number of quadratur points.

Definition at line 44 of file shapeFunction2d.hh.

template<typename F>
const concepts::TMatrixBase<F>* hp2D::ShapeFunction2D< F >::T ( ) const [inline]

Returns the T matrix.

Definition at line 87 of file shapeFunction2d.hh.

template<typename F>
void hp2D::ShapeFunction2D< F >::T ( const concepts::TMatrixBase< F > *  T) [inline]

Sets the T matrix.

Definition at line 89 of file shapeFunction2d.hh.

Here is the call graph for this function:

template<typename F>
const concepts::TColumnTensor<bool, 2>* hp2D::ShapeFunction2D< F >::usedIdx ( ) const [inline]

Returns the used indices (local degrees of freedom)

Definition at line 91 of file shapeFunction2d.hh.

template<typename F>
void hp2D::ShapeFunction2D< F >::usedIdx ( const concepts::TColumnTensor< bool, 2 > *  usedIdx) [inline]

Sets the used indices (ldof)

Definition at line 93 of file shapeFunction2d.hh.

Here is the call graph for this function:

template<typename F>
const Real* hp2D::ShapeFunction2D< F >::values ( uint  i) const [inline]

Returns the values of the shape functions.

Definition at line 55 of file shapeFunction2d.hh.

template<typename F>
void hp2D::ShapeFunction2D< F >::values ( uint  i,
const Real *  value 
) [inline]

Sets the values of the shape functions.

Definition at line 60 of file shapeFunction2d.hh.

template<typename F>
const Real* hp2D::ShapeFunction2D< F >::weights ( uint  i) const [inline]

Returns the weights of the quadrature rule.

Definition at line 77 of file shapeFunction2d.hh.

template<typename F>
void hp2D::ShapeFunction2D< F >::weights ( uint  i,
const Real *  value 
) [inline]

Sets the weights of the quadrature rule.

Definition at line 82 of file shapeFunction2d.hh.


Member Data Documentation

template<typename F>
const Real* hp2D::ShapeFunction2D< F >::abscissas_[2] [private]

Definition at line 98 of file shapeFunction2d.hh.

template<typename F>
int hp2D::ShapeFunction2D< F >::n_[2] [private]

Definition at line 96 of file shapeFunction2d.hh.

template<typename F>
int hp2D::ShapeFunction2D< F >::nq_[2] [private]

Definition at line 96 of file shapeFunction2d.hh.

template<typename F>
const concepts::TMatrixBase<F>* hp2D::ShapeFunction2D< F >::T_ [private]

Definition at line 99 of file shapeFunction2d.hh.

template<typename F>
const concepts::TColumnTensor<bool, 2>* hp2D::ShapeFunction2D< F >::usedIdx_ [private]

Definition at line 100 of file shapeFunction2d.hh.

template<typename F>
const F* hp2D::ShapeFunction2D< F >::values_[2] [private]

Definition at line 97 of file shapeFunction2d.hh.

template<typename F>
const Real * hp2D::ShapeFunction2D< F >::weights_[2] [private]

Definition at line 98 of file shapeFunction2d.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)