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

Public Member Functions | Protected Member Functions | Protected Attributes
hp2D::SpacePreBuilder Class Reference

Exception class to express that an inquired dof is not valid. More...

#include <spacePreBuilder.hh>

Inheritance diagram for hp2D::SpacePreBuilder:
Inheritance graph
[legend]
Collaboration diagram for hp2D::SpacePreBuilder:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ushort edgeDof (const concepts::Connector2 &cntr, uint i) const =0
 Returns the maximal polynomial degree of the degrees of freedom on edge i in the cell cntr.
virtual ushort edgeP (const concepts::Connector2 &cntr, uint i) const =0
 Returns the maximal polynomial degree of an edge i in cell cntr, if edge has degrees of freedom or is hanging.
virtual concepts::Set
< concepts::IndexRange
indices (uint dim, const concepts::Connector &cntr, uint spcNo=0) const =0 throw (concepts::MissingFeature)
 Returns all indices of entities of a cell of a particular dimension.
virtual const ushort * innerDof (const concepts::Connector2 &cntr) const =0
 Returns a pointer to the maximal polynomial degrees of the inner degree of freedom in the cell quad.
virtual concepts::Mesh2mesh () const
 Returns mesh.
virtual const ushort * pMax (const concepts::Connector2 &cntr, ushort *p=0) const =0
 Returns a pointer to the maximal polynomial degrees in the cell quad to represent all those basis functions whose support contains quad.
virtual void rebuildDof ()=0
 Rebuilds the potential degrees of freedom.
virtual void rebuildMesh ()=0
 Rebuilds the mesh due to adjustments, set inner degrees of freedom.
virtual concepts::IndexRangesetIndex (uint &firstIdx, uint noIdx, uint dim, const concepts::Connector &cntr, uint i=0, uint spcNo=0)=0 throw (NotValidDof)
 Sets the index range of the dof inside cell cntr and returns it.
 SpacePreBuilder (concepts::Mesh2 &msh)
 Constructor.
virtual bool vtxDof (const concepts::Connector2 &cntr, uint i) const =0
 Returns, if the i th vertex of cell cntr has a degree of freedom.
virtual ~SpacePreBuilder ()
 Destructor.

Protected Member Functions

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

Protected Attributes

concepts::Mesh2msh_
 Mesh.

Detailed Description

Exception class to express that an inquired dof is not valid.

Author:
Kersten Schmidt, 2005

Definition at line 37 of file spacePreBuilder.hh.


Constructor & Destructor Documentation

hp2D::SpacePreBuilder::SpacePreBuilder ( concepts::Mesh2 msh) [inline]

Constructor.

Definition at line 40 of file spacePreBuilder.hh.

virtual hp2D::SpacePreBuilder::~SpacePreBuilder ( ) [inline, virtual]

Destructor.

Reimplemented from concepts::SpacePreBuilder.

Definition at line 42 of file spacePreBuilder.hh.


Member Function Documentation

virtual ushort hp2D::SpacePreBuilder::edgeDof ( const concepts::Connector2 cntr,
uint  i 
) const [pure virtual]

Returns the maximal polynomial degree of the degrees of freedom on edge i in the cell cntr.

Return value 0 for no degree of freedom.

Implemented in hp2D::hpFull.

virtual ushort hp2D::SpacePreBuilder::edgeP ( const concepts::Connector2 cntr,
uint  i 
) const [pure virtual]

Returns the maximal polynomial degree of an edge i in cell cntr, if edge has degrees of freedom or is hanging.

Return value 0 in other case.

Implemented in hp2D::hpFull.

virtual concepts::Set<concepts::IndexRange> concepts::SpacePreBuilder::indices ( uint  dim,
const concepts::Connector cntr,
uint  spcNo = 0 
) const throw (concepts::MissingFeature) [pure virtual, inherited]

Returns all indices of entities of a cell of a particular dimension.

Throws exception if dimension is too large.

Parameters:
dimdimension of entity of dof, e.g. 0 for node
cntrtopological cell on arbitrary level
spcNonumber for distinguish between global indices on same topological entity

Implemented in hp2D::hpFull.

virtual std::ostream& concepts::SpacePreBuilder::info ( std::ostream &  os) const [protected, virtual, inherited]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Reimplemented in hp2D::hpFull.

virtual const ushort* hp2D::SpacePreBuilder::innerDof ( const concepts::Connector2 cntr) const [pure virtual]

Returns a pointer to the maximal polynomial degrees of the inner degree of freedom in the cell quad.

Returns value 0 if there are no inner dof (i.e. cell has no children).

Implemented in hp2D::hpFull.

virtual concepts::Mesh2& hp2D::SpacePreBuilder::mesh ( ) const [inline, virtual]

Returns mesh.

Implements concepts::SpacePreBuilder.

Definition at line 45 of file spacePreBuilder.hh.

virtual const ushort* hp2D::SpacePreBuilder::pMax ( const concepts::Connector2 cntr,
ushort *  p = 0 
) const [pure virtual]

Returns a pointer to the maximal polynomial degrees in the cell quad to represent all those basis functions whose support contains quad.

Returns value 0, if cell is not in the support of any basis function, e.g. its too large. If p is given, p changed to the maximum of p and the maximal polynomial degree in the cell.

Implemented in hp2D::hpFull.

virtual void concepts::SpacePreBuilder::rebuildDof ( ) [pure virtual, inherited]

Rebuilds the potential degrees of freedom.

Implemented in hp2D::hpFull.

virtual void concepts::SpacePreBuilder::rebuildMesh ( ) [pure virtual, inherited]

Rebuilds the mesh due to adjustments, set inner degrees of freedom.

Implemented in hp2D::hpFull.

virtual concepts::IndexRange& concepts::SpacePreBuilder::setIndex ( uint &  firstIdx,
uint  noIdx,
uint  dim,
const concepts::Connector cntr,
uint  i = 0,
uint  spcNo = 0 
) throw (NotValidDof) [pure virtual, inherited]

Sets the index range of the dof inside cell cntr and returns it.

Throws exception if there is not such a dof.

Parameters:
firstIdxfirst index in range
noIdxnumber of dof on this entity
dimdimension of entity of dof, e.g. 0 for node
inumber of the entity in cell, e.g. i.th node
spcNonumber for distinguish between global indices on same topological entity

Implemented in hp2D::hpFull.

virtual bool hp2D::SpacePreBuilder::vtxDof ( const concepts::Connector2 cntr,
uint  i 
) const [pure virtual]

Returns, if the i th vertex of cell cntr has a degree of freedom.

Implemented in hp2D::hpFull.


Member Data Documentation

Mesh.

Definition at line 76 of file spacePreBuilder.hh.


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

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