Hermes2D  3.0
Hermes::Hermes2D::CurvMap Class Reference

#include <curved.h>

Public Member Functions

 CurvMap (const CurvMap *cm)
 
void free ()
 
void update_refmap_coeffs (Element *e)
 

Public Attributes

bool toplevel
 
Curvecurves [H2D_MAX_NUMBER_EDGES]
 
Elementparent
 
uint64_t sub_idx
 
unsigned short order
 current polynomial degree of the refmap approximation
 

Friends

template<typename T >
class Space
 
template<typename T >
class H1Space
 
template<typename T >
class L2Space
 
template<typename T >
class HcurlSpace
 
template<typename T >
class HdivSpace
 
template<typename T >
class DiscreteProblem
 
template<typename T >
class Adapt
 
template<typename T >
class KellyTypeAdapt
 
class RefMap
 
class Mesh
 
class MeshReader
 
class MeshReaderH2D
 
class MeshReaderH2DXML
 
class MeshReaderH2DBSON
 

Detailed Description

CurvMap is a structure storing complete information on the curved edges of an element. There are two variants of this structure. The first is for top-level (master mesh) elements.

Definition at line 100 of file curved.h.

Constructor & Destructor Documentation

Hermes::Hermes2D::CurvMap::CurvMap ( const CurvMap cm)
Todo:
Find out if this is safe.

Definition at line 329 of file curved.cpp.

Member Function Documentation

void Hermes::Hermes2D::CurvMap::update_refmap_coeffs ( Element e)

this is called for every curvilinear element when it is created or when it is necessary to re-calculate coefficients for another order: 'e' is a pointer to the element to which this CurvMap belongs to. First, old "coeffs" are removed if they are not nullptr, then new_ coefficients are projected.

Definition at line 758 of file curved.cpp.

Referenced by Hermes::Hermes2D::MeshReaderH2D::load(), Hermes::Hermes2D::MeshReaderH2DXML::load(), and Hermes::Hermes2D::Mesh::refine_quad().

Member Data Documentation

bool Hermes::Hermes2D::CurvMap::toplevel

this structure defines a curved mapping of an element; it has two modes, depending on the value of 'toplevel'

Definition at line 110 of file curved.h.

Referenced by Hermes::Hermes2D::MeshUtil::assign_curve(), Hermes::Hermes2D::Mesh::copy(), CurvMap(), and update_refmap_coeffs().


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