Hermes2D  2.0
Hermes::Hermes2D::Geom< T > Class Template Reference

#include <forms.h>

+ Inheritance diagram for Hermes::Hermes2D::Geom< T >:

Public Member Functions

 Geom ()
 Constructor.
 
virtual int get_neighbor_marker () const
 Methods designed for discontinuous functions, return errors here.
 
virtual int get_neighbor_id () const
 Methods designed for discontinuous functions, return errors here.
 
virtual T get_neighbor_diam () const
 Methods designed for discontinuous functions, return errors here.
 
virtual ~Geom ()
 Virtual destructor allowing deallocation of inherited classes (InterfaceGeom) in polymorphic cases.
 
virtual void free ()
 Deallocation.
 
virtual void free_ord ()
 

Public Attributes

diam
 Element diameter (for edge, diameter of the parent element).
 
area
 Element area (for edge, area of the parent element).
 
T * x
 
T * y
 Coordinates[in physical domain].
 
T * nx
 
T * ny
 
T * tx
 
T * ty
 Tangents[in physical domain]. Only for edge.
 
int id
 ID number of the element (undefined for edge).
 
int isurf
 Order number of an edge of the element.
 
int elem_marker
 Element marker (for both volumetric and surface forms).
 
int edge_marker
 Edge marker (for surface forms only).
 

Protected Attributes

int orientation
 

Friends

template<typename Scalar >
class DiscreteProblem
 
template<typename Scalar >
class DiscreteProblemLinear
 
template<typename Scalar >
class InterfaceGeom
 
template<typename Scalar >
class KellyTypeAdapt
 
template<typename Scalar >
class BasicKellyAdapt
 
class ErrorEstimatorFormKelly
 
template<typename Scalar >
class Adapt
 
Geom< Hermes::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, int isurf, int marker, const int order, double3 *&tan)
 Init element geometry for surface integrals.
 

Detailed Description

template<typename T>
class Hermes::Hermes2D::Geom< T >

Geometry (coordinates, normals, tangents) of either an element or an edge.

Definition at line 198 of file forms.h.

Member Data Documentation

template<typename T>
T * Hermes::Hermes2D::Geom< T >::ny

Normals[in physical domain] (locally oriented to point outside the element). Only for edge (undefined for element).

Definition at line 207 of file forms.h.

Referenced by Hermes::Hermes2D::init_geom_ord(), Hermes::Hermes2D::init_geom_surf(), and Hermes::Hermes2D::BasicKellyAdapt< Scalar >::ErrorEstimatorFormKelly::value().

template<typename T>
int Hermes::Hermes2D::Geom< T >::orientation
protected

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 231 of file forms.h.

Referenced by Hermes::Hermes2D::init_geom_surf().


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