Hermes2D  3.0
Hermes::Hermes2D::InterfaceGeom< T > Singleton Reference

#include <forms.h>

Public Member Functions

 InterfaceGeom (GeomSurf< T > *geom, Element *central_el, Element *neighb_el)
 Constructor.
 
get_diam_approximation (unsigned char n)
 Element diameter approximation.
 
get_area (unsigned char n, double *wt)
 Element area.
 
template<>
double get_diam_approximation (unsigned char n)
 
template<>
double get_area (unsigned char n, double *wt)
 

Public Attributes

T * x
 
T * y
 
T * nx
 
T * ny
 
T * tx
 
T * ty
 
Elementcentral_el
 
Elementneighb_el
 
int elem_marker
 Element marker (for both volumetric and surface forms).
 
int edge_marker
 Edge marker.
 
bool orientation
 
unsigned char isurf
 Internal number of an edge of the element.
 

Friends

template<typename Scalar >
class KellyTypeAdapt
 

Detailed Description

template<typename T>
singleton Hermes::Hermes2D::InterfaceGeom< T >

Small class which contains information about the element on the other side of an interface.

Due to a very varied nature of data one may need in DG assembling, both central and neighbor elements are fully accessible in this class.

Definition at line 134 of file forms.h.

Member Data Documentation

template<typename T >
bool Hermes::Hermes2D::InterfaceGeom< T >::orientation

0 .... if(nx, ny) is equal to the global normal, otherwise 1 (each edge has a unique global normal). Only for edge.

Definition at line 156 of file forms.h.

Referenced by Hermes::Hermes2D::InterfaceGeom< T >::InterfaceGeom().


The documentation for this singleton was generated from the following files: