Class for the piecewise discontinuous space in 1D with constant polynomial degree. More...
#include <pSpaceL2.hh>


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. | |
| Scan * | scan () 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::Mesh1 & | msh_ |
| Mesh. | |
| uint | nelm_ |
| Number of elements currently active in the mesh. | |
| uint | p_ |
| Polynomial degree. | |
Class for the piecewise discontinuous space in 1D with constant polynomial degree.
Definition at line 26 of file pSpaceL2.hh.
| typedef concepts::Scan<Element<Real> > hp1D::pSpaceL2::Scan |
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.
| 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.
| msh | The domain of interest partitioned into a mesh. |
| p | Degree of the polynomials to be used. |
| virtual hp1D::pSpaceL2::~pSpaceL2 | ( | ) | [virtual] |
| 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.
uint hp1D::pSpaceL2::dim_ [private] |
Dimension of the FE space.
Definition at line 57 of file pSpaceL2.hh.
concepts::Joiner<Element<Real>*, 1>* hp1D::pSpaceL2::elm_ [private] |
Linked list of the elements.
Definition at line 66 of file pSpaceL2.hh.
concepts::Mesh1& hp1D::pSpaceL2::msh_ [private] |
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.