Func< T > Class Template Reference

#include <forms.h>

List of all members.

Public Member Functions

 Func (int num_gip, int num_comps)
 Constructor.
void subtract (const Func< T > &func)
 Calculate this -= func for each function expations and each integration point.
void free_ord ()
void free_fn ()

Public Attributes

const int nc
 A number of components. Currently accepted values are 1 (H1, L2 space) and 2 (Hcurl, Hdiv space).
T * val
T * dx
T * dy
T * val0
T * val1
T * dx0
T * dx1
T * dy0
T * dy1
T * curl

template<typename T>
class Func< T >


Constructor & Destructor Documentation

template<typename T>
Func< T >::Func ( int  num_gip,
int  num_comps 
) [inline, explicit]

Constructor.

Parameters:
[in] num_gip A number of integration points.
[in] num_comps A number of components.

Member Function Documentation

template<typename T>
void Func< T >::free_fn (  )  [inline]
template<typename T>
void Func< T >::free_ord (  )  [inline]
template<typename T>
void Func< T >::subtract ( const Func< T > &  func  )  [inline]

Calculate this -= func for each function expations and each integration point.

Parameters:
[in] func A function which is subtracted from *this. A number of integratio points and a number of component has to match.

Member Data Documentation

template<typename T>
T* Func< T >::curl
template<typename T>
T* Func< T >::dx
template<typename T>
T* Func< T >::dx0
template<typename T>
T * Func< T >::dx1
template<typename T>
T * Func< T >::dy
template<typename T>
T* Func< T >::dy0
template<typename T>
T * Func< T >::dy1
template<typename T>
const int Func< T >::nc

A number of components. Currently accepted values are 1 (H1, L2 space) and 2 (Hcurl, Hdiv space).

template<typename T>
T* Func< T >::val
template<typename T>
T* Func< T >::val0
template<typename T>
T * Func< T >::val1

The documentation for this class was generated from the following file:
Generated on Sat Jun 5 15:17:43 2010 for Hermes2D Library: Real Version by  doxygen 1.6.3