Hermes2D  3.0
Hermes::Hermes2D::HdivShapesetLegendre Class Reference

H(div) shapeset based on Legendre polynomials. More...

#include <shapeset_hd_all.h>

+ Inheritance diagram for Hermes::Hermes2D::HdivShapesetLegendre:

Public Member Functions

virtual Shapesetclone ()
 
virtual SpaceType get_space_type () const
 
virtual unsigned short get_max_index (ElementMode2D mode) const
 Returns the highest shape function index.
 
virtual unsigned char get_id () const
 
- Public Member Functions inherited from Hermes::Hermes2D::Shapeset
unsigned short get_order (int index, ElementMode2D mode) const
 
unsigned char get_num_components () const
 Returns 2 if this is a vector shapeset, 1 otherwise.
 
unsigned short get_max_order () const
 Returns the maximum poly degree for all shape functions.
 
unsigned short get_min_order () const
 
short get_vertex_index (int vertex, ElementMode2D mode) const
 Returns the index of a vertex shape function associated with the specified vertex.
 
short get_edge_index (unsigned char edge, unsigned short ori, unsigned short order, ElementMode2D mode) const
 
double get_value (int n, int index, double x, double y, unsigned short component, ElementMode2D mode)
 
double get_fn_value (int index, double x, double y, unsigned short component, ElementMode2D mode)
 
double get_dx_value (int index, double x, double y, unsigned short component, ElementMode2D mode)
 
double get_dy_value (int index, double x, double y, unsigned short component, ElementMode2D mode)
 
double get_fn_value_0_tri (int index, double x, double y)
 The most used calls are distinguished for optimization.
 
double get_dx_value_0_tri (int index, double x, double y)
 The most used calls are distinguished for optimization.
 
double get_dy_value_0_tri (int index, double x, double y)
 The most used calls are distinguished for optimization.
 
double get_fn_value_0_quad (int index, double x, double y)
 The most used calls are distinguished for optimization.
 
double get_dx_value_0_quad (int index, double x, double y)
 The most used calls are distinguished for optimization.
 
double get_dy_value_0_quad (int index, double x, double y)
 The most used calls are distinguished for optimization.
 
double get_dxx_value (int index, double x, double y, unsigned short component, ElementMode2D mode)
 
double get_dyy_value (int index, double x, double y, unsigned short component, ElementMode2D mode)
 
double get_dxy_value (int index, double x, double y, unsigned short component, ElementMode2D mode)
 
virtual unsigned short get_num_bubbles (unsigned short order, ElementMode2D mode) const
 Returns the number of bubble functions for an element of the given order.
 

Static Public Attributes

static const unsigned short max_index [H2D_NUM_MODES]
 

Additional Inherited Members

- Public Types inherited from Hermes::Hermes2D::Shapeset
typedef double(* shape_fn_t )(double, double)
 Shape-function function type. Internal.
 
- Protected Member Functions inherited from Hermes::Hermes2D::Shapeset
virtual short * get_bubble_indices (unsigned short order, ElementMode2D mode) const
 Returns a complete set of indices of bubble functions for an element of the given order.
 
int get_constrained_edge_index (unsigned char edge, unsigned short order, unsigned short ori, unsigned short part, ElementMode2D mode) const
 
double2 * get_ref_vertex (int vertex, ElementMode2D mode)
 Returns the coordinates of the reference domain vertices.
 
double * calculate_constrained_edge_combination (unsigned short order, unsigned short part, unsigned short ori, ElementMode2D mode)
 
double * get_constrained_edge_combination (unsigned short order, unsigned short part, unsigned short ori, unsigned short &nitems, ElementMode2D mode)
 
void free_constrained_edge_combinations ()
 Releases all cached coefficients.
 
double get_constrained_value (int n, int index, double x, double y, unsigned short component, ElementMode2D mode)
 
- Protected Attributes inherited from Hermes::Hermes2D::Shapeset
shape_fn_t *** shape_table [6]
 
short ** vertex_indices
 
short *** edge_indices
 
short *** bubble_indices
 
unsigned short ** bubble_count
 
unsigned short ** index_to_order
 
double2 ref_vert [H2D_MAX_SOLUTION_COMPONENTS][H2D_MAX_NUMBER_VERTICES]
 
unsigned char max_order
 
unsigned char min_order
 
unsigned char num_components
 
unsigned short ebias
 2 for H1 shapesets, 0 for H(curl) shapesets. It is the order of the More...
 
double ** comb_table
 
unsigned short table_size
 

Detailed Description

H(div) shapeset based on Legendre polynomials.

Definition at line 26 of file shapeset_hd_all.h.

Member Function Documentation

virtual unsigned char Hermes::Hermes2D::HdivShapesetLegendre::get_id ( ) const
inlinevirtual

Returns shapeset identifier. Internal.

Implements Hermes::Hermes2D::Shapeset.

Definition at line 33 of file shapeset_hd_all.h.

virtual SpaceType Hermes::Hermes2D::HdivShapesetLegendre::get_space_type ( ) const
inlinevirtual

Returns space type. Internal.

Implements Hermes::Hermes2D::Shapeset.

Definition at line 31 of file shapeset_hd_all.h.


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