hp3D::ShapeFunction3D< F > Class Template Reference

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

#include <shapeFunction3d.hh>

Public Member Functions

const Real * abscissas (uint i) const
 Returns the abscissas of the quadrature rule and the shape functions. More...
 
void abscissas (uint i, const Real *value)
 Sets the abscissas of the quadrature rule and the shape functions. More...
 
uint n (uint i) const
 Returns number of shape functions. More...
 
void n (uint i, uint value)
 Sets the number of shape functions. More...
 
uint nq (uint i) const
 Returns number of quadratur points. More...
 
void nq (uint i, uint value)
 Sets the number of quadratur points. More...
 
 ShapeFunction3D ()
 
const concepts::TMatrixBase< F > * T () const
 Returns the T matrix. More...
 
void T (const concepts::TMatrixBase< F > *T)
 Sets the T matrix. More...
 
const Real * values (uint i) const
 Returns the values of the shape functions. More...
 
void values (uint i, const Real *value)
 Sets the values of the shape functions. More...
 
const Real * weights (uint i) const
 Returns the weights of the quadrature rule. More...
 
void weights (uint i, const Real *value)
 Sets the weights of the quadrature rule. More...
 

Private Attributes

const Real * abscissas_ [3]
 
int n_ [3]
 
int nq_ [3]
 
const concepts::TMatrixBase< F > * T_
 
const F * values_ [3]
 
const Real * weights_ [3]
 

Detailed Description

template<typename F>
class hp3D::ShapeFunction3D< F >

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

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

Author
Philipp Frauenfelder, 2002

Definition at line 28 of file shapeFunction3d.hh.

Constructor & Destructor Documentation

◆ ShapeFunction3D()

template<typename F >
hp3D::ShapeFunction3D< F >::ShapeFunction3D ( )

Member Function Documentation

◆ abscissas() [1/2]

template<typename F >
const Real* hp3D::ShapeFunction3D< F >::abscissas ( uint  i) const
inline

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

Definition at line 66 of file shapeFunction3d.hh.

◆ abscissas() [2/2]

template<typename F >
void hp3D::ShapeFunction3D< 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 shapeFunction3d.hh.

◆ n() [1/2]

template<typename F >
uint hp3D::ShapeFunction3D< F >::n ( uint  i) const
inline

Returns number of shape functions.

Definition at line 33 of file shapeFunction3d.hh.

◆ n() [2/2]

template<typename F >
void hp3D::ShapeFunction3D< F >::n ( uint  i,
uint  value 
)
inline

Sets the number of shape functions.

Definition at line 38 of file shapeFunction3d.hh.

◆ nq() [1/2]

template<typename F >
uint hp3D::ShapeFunction3D< F >::nq ( uint  i) const
inline

Returns number of quadratur points.

Definition at line 44 of file shapeFunction3d.hh.

◆ nq() [2/2]

template<typename F >
void hp3D::ShapeFunction3D< F >::nq ( uint  i,
uint  value 
)
inline

Sets the number of quadratur points.

Definition at line 49 of file shapeFunction3d.hh.

◆ T() [1/2]

template<typename F >
const concepts::TMatrixBase<F>* hp3D::ShapeFunction3D< F >::T ( ) const
inline

Returns the T matrix.

Definition at line 88 of file shapeFunction3d.hh.

◆ T() [2/2]

template<typename F >
void hp3D::ShapeFunction3D< F >::T ( const concepts::TMatrixBase< F > *  T)
inline

Sets the T matrix.

Definition at line 92 of file shapeFunction3d.hh.

◆ values() [1/2]

template<typename F >
const Real* hp3D::ShapeFunction3D< F >::values ( uint  i) const
inline

Returns the values of the shape functions.

Definition at line 55 of file shapeFunction3d.hh.

◆ values() [2/2]

template<typename F >
void hp3D::ShapeFunction3D< F >::values ( uint  i,
const Real *  value 
)
inline

Sets the values of the shape functions.

Definition at line 60 of file shapeFunction3d.hh.

◆ weights() [1/2]

template<typename F >
const Real* hp3D::ShapeFunction3D< F >::weights ( uint  i) const
inline

Returns the weights of the quadrature rule.

Definition at line 77 of file shapeFunction3d.hh.

◆ weights() [2/2]

template<typename F >
void hp3D::ShapeFunction3D< F >::weights ( uint  i,
const Real *  value 
)
inline

Sets the weights of the quadrature rule.

Definition at line 82 of file shapeFunction3d.hh.

Member Data Documentation

◆ abscissas_

template<typename F >
const Real* hp3D::ShapeFunction3D< F >::abscissas_[3]
private

Definition at line 96 of file shapeFunction3d.hh.

◆ n_

template<typename F >
int hp3D::ShapeFunction3D< F >::n_[3]
private

Definition at line 94 of file shapeFunction3d.hh.

◆ nq_

template<typename F >
int hp3D::ShapeFunction3D< F >::nq_[3]
private

Definition at line 94 of file shapeFunction3d.hh.

◆ T_

template<typename F >
const concepts::TMatrixBase<F>* hp3D::ShapeFunction3D< F >::T_
private

Definition at line 97 of file shapeFunction3d.hh.

◆ values_

template<typename F >
const F* hp3D::ShapeFunction3D< F >::values_[3]
private

Definition at line 95 of file shapeFunction3d.hh.

◆ weights_

template<typename F >
const Real * hp3D::ShapeFunction3D< F >::weights_[3]
private

Definition at line 96 of file shapeFunction3d.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich