Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::ShapeFunction1D< F > Class Template Referenceabstract

#include <shapefunction.hh>

Inheritance diagram for concepts::ShapeFunction1D< F >:
concepts::OutputOperator

Public Member Functions

 ShapeFunction1D (const uint n, const uint nP)
 
uint n () const
 Returns the number of shape functions.
 
uint nP () const
 
const F * values () const
 Returns the values of the shape functions.
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const =0
 Returns information in an output stream.
 

Protected Attributes

F * values_
 Values of the shape functions.
 

Detailed Description

template<class F>
class concepts::ShapeFunction1D< F >

Abstract class for 1D shape function.

The user can query how many form functions in how many points are available. The class is abstract since a derived class must give sense to the values_ array (ie. allocate and fill the entries).

Author
Philipp Fraunfelder, 2001.

Definition at line 24 of file shapefunction.hh.

Constructor & Destructor Documentation

◆ ShapeFunction1D()

template<class F >
concepts::ShapeFunction1D< F >::ShapeFunction1D ( const uint  n,
const uint  nP 
)
inline

Constructor

Parameters
nNumber of shape functions
nPNumber of points in which the shape functions are evaluated

Definition at line 31 of file shapefunction.hh.

◆ ~ShapeFunction1D()

template<class F >
virtual concepts::ShapeFunction1D< F >::~ShapeFunction1D ( )
inlinevirtual

Definition at line 33 of file shapefunction.hh.

Member Function Documentation

◆ info()

◆ n()

template<class F >
uint concepts::ShapeFunction1D< F >::n ( ) const
inline

Returns the number of shape functions.

Definition at line 35 of file shapefunction.hh.

◆ nP()

template<class F >
uint concepts::ShapeFunction1D< F >::nP ( ) const
inline

Returns the number of abscissas (in which the shape functions are evaluated)

Definition at line 38 of file shapefunction.hh.

◆ values()

template<class F >
const F * concepts::ShapeFunction1D< F >::values ( ) const
inline

Returns the values of the shape functions.

Definition at line 40 of file shapefunction.hh.

Member Data Documentation

◆ values_

template<class F >
F* concepts::ShapeFunction1D< F >::values_
protected

Values of the shape functions.

Definition at line 45 of file shapefunction.hh.


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