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

#include <spacePreBuilder.hh>

Inheritance diagram for hp2D::SpacePreBuilder:
concepts::SpacePreBuilder concepts::OutputOperator hp2D::hpFull

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. More...
 
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. More...
 
virtual concepts::Set< concepts::IndexRangeindices (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. More...
 
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. More...
 
virtual concepts::Mesh2mesh () const
 Returns mesh. More...
 
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. More...
 
virtual void rebuildDof ()=0
 Rebuilds the potential degrees of freedom. More...
 
virtual void rebuildMesh ()=0
 Rebuilds the mesh due to adjustments, set inner degrees of freedom. More...
 
virtual concepts::IndexRangesetIndex (uint &firstIdx, uint noIdx, uint dim, const concepts::Connector &cntr, uint i=0, uint spcNo=0)=0 throw (concepts::NotValidDof)
 Sets the index range of the dof inside cell cntr and returns it. More...
 
 SpacePreBuilder (concepts::Mesh2 &msh)
 Constructor. More...
 
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. More...
 
virtual ~SpacePreBuilder ()
 Destructor. More...
 

Protected Member Functions

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

Protected Attributes

concepts::Mesh2msh_
 Mesh. More...
 

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

◆ SpacePreBuilder()

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

Constructor.

Definition at line 40 of file spacePreBuilder.hh.

◆ ~SpacePreBuilder()

virtual hp2D::SpacePreBuilder::~SpacePreBuilder ( )
inlinevirtual

Destructor.

Reimplemented from concepts::SpacePreBuilder.

Definition at line 42 of file spacePreBuilder.hh.

Member Function Documentation

◆ edgeDof()

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.

◆ edgeP()

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.

◆ indices()

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

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

Implements concepts::SpacePreBuilder.

Implemented in hp2D::hpFull.

◆ info()

virtual std::ostream& concepts::SpacePreBuilder::info ( std::ostream &  os) const
protectedvirtualinherited

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Reimplemented in hp2D::hpFull.

◆ innerDof()

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.

◆ mesh()

virtual concepts::Mesh2& hp2D::SpacePreBuilder::mesh ( ) const
inlinevirtual

Returns mesh.

Implements concepts::SpacePreBuilder.

Definition at line 45 of file spacePreBuilder.hh.

◆ pMax()

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.

◆ rebuildDof()

virtual void concepts::SpacePreBuilder::rebuildDof ( )
pure virtualinherited

Rebuilds the potential degrees of freedom.

Implemented in hp2D::hpFull.

◆ rebuildMesh()

virtual void concepts::SpacePreBuilder::rebuildMesh ( )
pure virtualinherited

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

Implemented in hp2D::hpFull.

◆ setIndex()

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

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

Implements concepts::SpacePreBuilder.

Implemented in hp2D::hpFull.

◆ vtxDof()

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

◆ msh_

concepts::Mesh2& hp2D::SpacePreBuilder::msh_
protected

Mesh.

Definition at line 87 of file spacePreBuilder.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich