Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
hp1D::pSpaceL2 Class Reference

Class for the piecewise discontinuous space in 1D with constant polynomial degree. More...

#include <pSpaceL2.hh>

Inheritance diagram for hp1D::pSpaceL2:
Inheritance graph
[legend]
Collaboration diagram for hp1D::pSpaceL2:
Collaboration graph
[legend]

List of all members.

Public Types

typedef concepts::Scan
< Element< Real > > 
Scan
typedef Scan< ElementWithCell
< Real > > 
Scanner

Public Member Functions

uint dim () const
 Returns the dimension of the space.
uint nelm () const
 Returns the number of elements in the space.
 pSpaceL2 (concepts::Mesh1 &msh, uint p)
 Constructor.
void recomputeShapefunctions ()
 Recompute shape functions, e.g.
Scanscan () const
 Returns a scanner to iterate over the elements of the space.
virtual ~pSpaceL2 ()

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Private Member Functions

void buildElements_ (concepts::EdgeNd &cell, uint &idx)

Private Attributes

uint dim_
 Dimension of the FE space.
concepts::Joiner< Element
< Real > *, 1 > * 
elm_
 Linked list of the elements.
concepts::Mesh1msh_
 Mesh.
uint nelm_
 Number of elements currently active in the mesh.
uint p_
 Polynomial degree.

Detailed Description

Class for the piecewise discontinuous space in 1D with constant polynomial degree.

Author:
Kersten Schmidt, 2009

Definition at line 26 of file pSpaceL2.hh.


Member Typedef Documentation

Definition at line 28 of file pSpaceL2.hh.

typedef Scan<ElementWithCell<Real > > concepts::SpaceOnCells< Real >::Scanner [inherited]

Reimplemented from concepts::Space< Real >.

Reimplemented in linDG3D::FvdgSpace.

Definition at line 74 of file space.hh.


Constructor & Destructor Documentation

hp1D::pSpaceL2::pSpaceL2 ( concepts::Mesh1 msh,
uint  p 
)

Constructor.

Scans the mesh and sets the cells in the mesh active and the level of refinement and the polynomial degree in all cells to the given values. rebuild_ is set to true, ie. if the mesh is used it will firstly be rebuilt.

Parameters:
mshThe domain of interest partitioned into a mesh.
pDegree of the polynomials to be used.
virtual hp1D::pSpaceL2::~pSpaceL2 ( ) [virtual]

Member Function Documentation

void hp1D::pSpaceL2::buildElements_ ( concepts::EdgeNd cell,
uint &  idx 
) [private]
uint hp1D::pSpaceL2::dim ( ) const [inline, virtual]

Returns the dimension of the space.

Implements concepts::Space< Real >.

Definition at line 40 of file pSpaceL2.hh.

virtual std::ostream& hp1D::pSpaceL2::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::SpaceOnCells< Real >.

uint hp1D::pSpaceL2::nelm ( ) const [inline, virtual]

Returns the number of elements in the space.

Implements concepts::Space< Real >.

Definition at line 41 of file pSpaceL2.hh.

void hp1D::pSpaceL2::recomputeShapefunctions ( )

Recompute shape functions, e.g.

for other abscissas redefined through IntegrableElm::rule().set(...)

Scan* hp1D::pSpaceL2::scan ( ) const [inline, virtual]

Returns a scanner to iterate over the elements of the space.

Implements concepts::SpaceOnCells< Real >.

Definition at line 42 of file pSpaceL2.hh.


Member Data Documentation

uint hp1D::pSpaceL2::dim_ [private]

Dimension of the FE space.

Definition at line 57 of file pSpaceL2.hh.

Linked list of the elements.

Definition at line 66 of file pSpaceL2.hh.

Mesh.

Definition at line 54 of file pSpaceL2.hh.

uint hp1D::pSpaceL2::nelm_ [private]

Number of elements currently active in the mesh.

Definition at line 60 of file pSpaceL2.hh.

uint hp1D::pSpaceL2::p_ [private]

Polynomial degree.

Definition at line 63 of file pSpaceL2.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)