/var/www2/hermes2d/hermes2d/src/forms.h File Reference

#include "common.h"
#include "quad.h"
#include "function.h"
#include "solution.h"
#include "refmap.h"

Go to the source code of this file.

Classes

class  Ord
class  Func< T >
class  Geom< T >
 Geometry (coordinates, normals, tangents) of either an element or an edge. More...
class  ExtData< T >
 User defined data that can go to the bilinear and linear forms. It also holds arbitraty number of functions, that user can use. Typically, these functions are solutions from the previous time/iteration levels. More...

Defines

#define callback(a)   a<double, scalar>, a<Ord, Ord>
#define H2D_SUBTRACT_IF_NOT_NULL(__ATTRIB, __OTHER_FUNC)
 Subtract arrays stored in a given attribute from the same array in provided function.

Functions

Ord operator/ (const scalar &a, const Ord &b)
Ord operator* (const scalar &a, const Ord &b)
Ord operator+ (const scalar &a, const Ord &b)
Ord operator- (const scalar &a, const Ord &b)
Ord operator- (const Ord &a)
Ord pow (const Ord &a, const double &b)
Ord sqrt (const Ord &a)
Ord sqr (const Ord &a)
Ord conj (const Ord &a)
Ord abs (const Ord &a)
Ord atan2 (const Ord &a, const Ord &b)
Ord atan (const Ord &a)
Ord sin (const Ord &a)
Ord cos (const Ord &a)
Ord log (const Ord &a)
Ord exp (const Ord &a)
Geom< Ord > * init_geom_ord ()
 Init element geometry for calculating the integration order.
Geom< double > * init_geom_vol (RefMap *rm, const int order)
 Init element geometry for volumetric integrals.
Geom< double > * init_geom_surf (RefMap *rm, EdgePos *ep, const int order)
 Init element geometry for surface integrals.
Func< Ord > * init_fn_ord (const int order)
 Init the function for calculation the integration order.
Func< double > * init_fn (PrecalcShapeset *fu, RefMap *rm, const int order)
 Init the shape function for the evaluation of the volumetric/surface integral (transformation of values).
Func< scalar > * init_fn (MeshFunction *fu, RefMap *rm, const int order)
 Init the mesh-function for the evaluation of the volumetric/surface integral.

Define Documentation

#define callback (  )     a<double, scalar>, a<Ord, Ord>
#define H2D_SUBTRACT_IF_NOT_NULL ( __ATTRIB,
__OTHER_FUNC   ) 
Value:
{ if (__ATTRIB != NULL) { \
  assert_msg(__OTHER_FUNC.__ATTRIB != NULL, "Unable to subtract a function expansion " #__ATTRIB " is NULL in the other function."); \
  for(int i = 0; i < num_gip; i++) __ATTRIB[i] -= __OTHER_FUNC.__ATTRIB[i]; } }

Subtract arrays stored in a given attribute from the same array in provided function.


Function Documentation

Ord abs ( const Ord a  )  [inline]
Ord atan ( const Ord a  )  [inline]
Ord atan2 ( const Ord a,
const Ord b 
) [inline]
Ord conj ( const Ord a  )  [inline]
Ord cos ( const Ord a  )  [inline]
Ord exp ( const Ord a  )  [inline]
Func<scalar>* init_fn ( MeshFunction fu,
RefMap rm,
const int  order 
)

Init the mesh-function for the evaluation of the volumetric/surface integral.

Func<double>* init_fn ( PrecalcShapeset fu,
RefMap rm,
const int  order 
)

Init the shape function for the evaluation of the volumetric/surface integral (transformation of values).

Func<Ord>* init_fn_ord ( const int  order  ) 

Init the function for calculation the integration order.

Geom<Ord>* init_geom_ord (  ) 

Init element geometry for calculating the integration order.

Geom<double>* init_geom_surf ( RefMap rm,
EdgePos ep,
const int  order 
)

Init element geometry for surface integrals.

Geom<double>* init_geom_vol ( RefMap rm,
const int  order 
)

Init element geometry for volumetric integrals.

Ord log ( const Ord a  )  [inline]
Ord operator* ( const scalar a,
const Ord b 
) [inline]
Ord operator+ ( const scalar a,
const Ord b 
) [inline]
Ord operator- ( const Ord a  )  [inline]
Ord operator- ( const scalar a,
const Ord b 
) [inline]
Ord operator/ ( const scalar a,
const Ord b 
) [inline]
Ord pow ( const Ord a,
const double &  b 
) [inline]
Ord sin ( const Ord a  )  [inline]
Ord sqr ( const Ord a  )  [inline]
Ord sqrt ( const Ord a  )  [inline]
Generated on Sat Jun 5 15:17:43 2010 for Hermes2D Library: Real Version by  doxygen 1.6.3