L2Space Class Reference

L2Space represents a space of scalar functions with discontinuities along mesh edges. More...

#include <space_l2.h>

Inherits Space.

List of all members.

Classes

struct  L2Data

Public Member Functions

 L2Space (Mesh *mesh, Shapeset *shapeset)
virtual ~L2Space ()
virtual Spacedup (Mesh *mesh) const
 Creates a copy of the space. For internal use (see RefSystem).
virtual int get_edge_order (Element *e, int edge)
 Internal. Obtains the order of an edge, according to the minimum rule.
virtual int get_type () const
 Internal. Return type of this space (H1 = 0, Hcurl = 1, Hdiv = 2, L2 = 3).

Protected Member Functions

virtual void resize_tables ()
 Updates internal node and element tables.
virtual void assign_vertex_dofs ()
virtual void assign_edge_dofs ()
virtual void assign_bubble_dofs ()
virtual void get_vertex_assembly_list (Element *e, int iv, AsmList *al)
virtual void get_edge_assembly_list_internal (Element *e, int ie, AsmList *al)
virtual scalarget_bc_projection (EdgePos *ep, int order)

Protected Attributes

L2Dataldata
int lsize

Detailed Description

L2Space represents a space of scalar functions with discontinuities along mesh edges.


Constructor & Destructor Documentation

L2Space::L2Space ( Mesh mesh,
Shapeset shapeset 
)
L2Space::~L2Space (  )  [virtual]

Member Function Documentation

void L2Space::assign_bubble_dofs (  )  [protected, virtual]

Implements Space.

virtual void L2Space::assign_edge_dofs (  )  [inline, protected, virtual]

Implements Space.

virtual void L2Space::assign_vertex_dofs (  )  [inline, protected, virtual]

Implements Space.

Space * L2Space::dup ( Mesh mesh  )  const [virtual]

Creates a copy of the space. For internal use (see RefSystem).

Implements Space.

virtual scalar* L2Space::get_bc_projection ( EdgePos ep,
int  order 
) [inline, protected, virtual]

Implements Space.

virtual void L2Space::get_edge_assembly_list_internal ( Element e,
int  ie,
AsmList al 
) [inline, protected, virtual]

Implements Space.

virtual int L2Space::get_edge_order ( Element e,
int  edge 
) [inline, virtual]

Internal. Obtains the order of an edge, according to the minimum rule.

Reimplemented from Space.

virtual int L2Space::get_type (  )  const [inline, virtual]

Internal. Return type of this space (H1 = 0, Hcurl = 1, Hdiv = 2, L2 = 3).

Implements Space.

virtual void L2Space::get_vertex_assembly_list ( Element e,
int  iv,
AsmList al 
) [inline, protected, virtual]

Implements Space.

void L2Space::resize_tables (  )  [protected, virtual]

Updates internal node and element tables.

Since meshes only contain geometric information, the Space class keeps two tables with FEM-related information. The first one, 'ndata', contains DOF numbers and other things for each node. The second table, 'edata', holds element orders and bubble DOF numbers. Both tables are directly indexed by the node and element id's. The function resize_tables() is called to check whether the tables are large enough to contain all node and element id's, and to reallocate them if not.

Reimplemented from Space.


Member Data Documentation

L2Data* L2Space::ldata [protected]
int L2Space::lsize [protected]

The documentation for this class was generated from the following files:
Generated on Sat Jun 5 15:17:43 2010 for Hermes2D Library: Real Version by  doxygen 1.6.3