L2Space represents a space of scalar functions with discontinuities along mesh edges. More...
#include <space_l2.h>
Inherits Space.
Classes | |
| struct | L2Data |
Public Member Functions | |
| L2Space (Mesh *mesh, Shapeset *shapeset) | |
| virtual | ~L2Space () |
| virtual Space * | dup (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 scalar * | get_bc_projection (EdgePos *ep, int order) |
Protected Attributes | |
| L2Data * | ldata |
| int | lsize |
L2Space represents a space of scalar functions with discontinuities along mesh edges.
| L2Space::~L2Space | ( | ) | [virtual] |
| 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.
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.
L2Data* L2Space::ldata [protected] |
int L2Space::lsize [protected] |
1.6.3