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_t
class  fn_t< T >
class  geom_t< T >
class  user_data_t< T >
 User defined data that can go to the bilin and lin forms. It also holds arbitraty number of functions, that user can use. Typically, these functions are solutions from the previous time levels. More...

Defines

#define FORM_CB(a)   a<double, scalar>, a<ord_t, ord_t>

Typedefs

typedef fn_t< double > sfn_t
typedef fn_t< scalarmfn_t

Functions

ord_t operator/ (const scalar &a, const ord_t &b)
ord_t operator* (const scalar &a, const ord_t &b)
ord_t operator+ (const scalar &a, const ord_t &b)
ord_t operator- (const scalar &a, const ord_t &b)
ord_t operator- (const ord_t &a)
ord_t pow (const ord_t &a, const double &b)
ord_t sqrt (const ord_t &a)
ord_t sqr (const ord_t &a)
ord_t conj (const ord_t &a)
ord_t atan2 (const ord_t &a, const ord_t &b)
ord_t atan (const ord_t &a)
ord_t sin (const ord_t &a)
ord_t cos (const ord_t &a)
geom_t< ord_tinit_geom (int marker)
 Init element geometry for calculating the integration order.
geom_t< double > init_geom (int marker, RefMap *rm, const int np, const QuadPt3D *pt)
 Init element geometry for volumetric integrals.
geom_t< double > init_geom (int marker, RefMap *rm, int iface, const int np, const QuadPt3D *pt)
 Init element geometry for surface integrals.
void free_geom (geom_t< double > *e)
 Free data related to the element geometry.
fn_t< ord_tinit_fn (const order3_t &order)
 Init the function for calculation the integration order.
sfn_tinit_fn (ShapeFunction *fu, RefMap *rm, const int np, const QuadPt3D *pt)
 Init the function for the evaluation of the volumetric integral.
sfn_tinit_fn (ShapeFunction *shfn, RefMap *rm, int iface, const int np, const QuadPt3D *pt)
 Init the function for the evaluation of the surface integral.
mfn_tinit_fn (MeshFunction *f, RefMap *rm, const int np, const QuadPt3D *pt)
 Init the mesh-function for the evaluation of the volumetric/surface integral.
void free_fn (fn_t< ord_t > *f)
void free_fn (sfn_t *f)

Define Documentation

#define FORM_CB (  )     a<double, scalar>, a<ord_t, ord_t>

Typedef Documentation

typedef fn_t<scalar> mfn_t
typedef fn_t<double> sfn_t

Function Documentation

ord_t atan ( const ord_t a  )  [inline]
ord_t atan2 ( const ord_t a,
const ord_t b 
) [inline]
ord_t conj ( const ord_t a  )  [inline]
ord_t cos ( const ord_t a  )  [inline]
void free_fn ( sfn_t f  ) 
void free_fn ( fn_t< ord_t > *  f  ) 
void free_geom ( geom_t< double > *  e  ) 

Free data related to the element geometry.

mfn_t* init_fn ( MeshFunction f,
RefMap rm,
const int  np,
const QuadPt3D pt 
)

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

sfn_t* init_fn ( ShapeFunction shfn,
RefMap rm,
int  iface,
const int  np,
const QuadPt3D pt 
)

Init the function for the evaluation of the surface integral.

sfn_t* init_fn ( ShapeFunction fu,
RefMap rm,
const int  np,
const QuadPt3D pt 
)

Init the function for the evaluation of the volumetric integral.

fn_t<ord_t> init_fn ( const order3_t order  ) 

Init the function for calculation the integration order.

geom_t<double> init_geom ( int  marker,
RefMap rm,
int  iface,
const int  np,
const QuadPt3D pt 
)

Init element geometry for surface integrals.

geom_t<double> init_geom ( int  marker,
RefMap rm,
const int  np,
const QuadPt3D pt 
)

Init element geometry for volumetric integrals.

geom_t<ord_t> init_geom ( int  marker  ) 

Init element geometry for calculating the integration order.

ord_t operator* ( const scalar a,
const ord_t b 
) [inline]
ord_t operator+ ( const scalar a,
const ord_t b 
) [inline]
ord_t operator- ( const ord_t a  )  [inline]
ord_t operator- ( const scalar a,
const ord_t b 
) [inline]
ord_t operator/ ( const scalar a,
const ord_t b 
) [inline]
ord_t pow ( const ord_t a,
const double &  b 
) [inline]
ord_t sin ( const ord_t a  )  [inline]
ord_t sqr ( const ord_t a  )  [inline]
ord_t sqrt ( const ord_t a  )  [inline]
Generated on Fri Sep 3 09:22:20 2010 for Hermes3D Library: Real Version by  doxygen 1.6.3