Hermes2D  3.0
Hermes::Hermes2D::L2ShapesetTaylor Class Reference

L2 Taylor shapeset - Taylor basis functions as proposed by Kuzmin, Luo. More...

#include <shapeset_l2_all.h>

+ Inheritance diagram for Hermes::Hermes2D::L2ShapesetTaylor:

Public Member Functions

 L2ShapesetTaylor (bool contains_means=true)
 
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
 
short * get_bubble_indices (unsigned short order, ElementMode2D mode) const
 
virtual unsigned short get_num_bubbles (unsigned short order, ElementMode2D mode) 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)
 

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
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

L2 Taylor shapeset - Taylor basis functions as proposed by Kuzmin, Luo.

Definition at line 41 of file shapeset_l2_all.h.

Member Function Documentation

short* Hermes::Hermes2D::L2ShapesetTaylor::get_bubble_indices ( unsigned short  order,
ElementMode2D  mode 
) const
virtual

Returns a complete set of indices of bubble functions for an element of the given order. Reimplemented because this shapeset uses linear (not bi-linear), quadratic (not bi-quadratic) etc. polynomials.

Reimplemented from Hermes::Hermes2D::Shapeset.

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

Returns shapeset identifier. Internal.

Implements Hermes::Hermes2D::Shapeset.

Definition at line 48 of file shapeset_l2_all.h.

virtual unsigned short Hermes::Hermes2D::L2ShapesetTaylor::get_num_bubbles ( unsigned short  order,
ElementMode2D  mode 
) const
virtual

Returns the number of bubble functions for an element of the given order. Reimplemented because this shapeset uses linear (not bi-linear), quadratic (not bi-quadratic) etc. polynomials.

Reimplemented from Hermes::Hermes2D::Shapeset.

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

Returns space type. Internal.

Implements Hermes::Hermes2D::Shapeset.

Definition at line 46 of file shapeset_l2_all.h.


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