Class documentation of Concepts

Loading...
Searching...
No Matches
hp2D::BuildH1EdgeTColumns< F > Class Template Referenceabstract

#include <buildH1TColumns.hh>

Inheritance diagram for hp2D::BuildH1EdgeTColumns< F >:
hp2D::BuildTColumnsBase< F > concepts::BuildTColumnsBase< F, SpacePreBuilder > concepts::OutputOperator

Public Types

typedef concepts::SpaceHelper< F, SpacePreBuilderSpaceHelper
 

Public Member Functions

 BuildH1EdgeTColumns ()
 Default constructor.
 
 BuildH1EdgeTColumns (SpaceHelper &spc)
 
virtual void operator() (const concepts::Connector2 &cntr, concepts::TColumn< F > *&T1) const
 
virtual BuildH1EdgeTColumns< F > * clone (SpaceHelper *spc=0) const
 
virtual BuildTColumnsBase< F, SpacePreBuilder > * clone (SpaceHelper< F, SpacePreBuilder > *spc=0) const=0
 
SpaceHelper< F, SpacePreBuilder > & spc () const
 Returns pointer to space helper class.
 
SpacePreBuilderprebuild () const
 Returns the space pre builder.
 

Protected Member Functions

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

Protected Attributes

SpaceHelper< F, SpacePreBuilder > * spc_
 Space to build the degrees of freedom from.
 

Detailed Description

template<class F = concepts::Real>
class hp2D::BuildH1EdgeTColumns< F >

Responsible to build the T columns belonging to edge degrees of freedom in a H1 conforming space with shape functions in tensor product structure.

A call to the application operator builds the T columns for the 'member of space' edges of a given quad. They and the appropiate polynomial degree are given by a space pre builder class, which is part of a space helper class.

If you want to change the way this is done, derive from this class and overwrite the application operator.

This class is registered as the default strategy in space of type hpAdaptiveSpaceH1 to build the edge degrees of freedom. Giving the space a different class through the use of hpAdaptiveSpaceH1::buildEdgeDofs, you can change that behaviour.

Author
Philipp Frauenfelder, 2004

Definition at line 88 of file buildH1TColumns.hh.

Member Typedef Documentation

◆ SpaceHelper

template<class F = concepts::Real>
typedef concepts::SpaceHelper<F, SpacePreBuilder> hp2D::BuildH1EdgeTColumns< F >::SpaceHelper

Definition at line 90 of file buildH1TColumns.hh.

Constructor & Destructor Documentation

◆ BuildH1EdgeTColumns() [1/2]

template<class F = concepts::Real>
hp2D::BuildH1EdgeTColumns< F >::BuildH1EdgeTColumns ( )
inline

Default constructor.

Definition at line 92 of file buildH1TColumns.hh.

◆ BuildH1EdgeTColumns() [2/2]

template<class F = concepts::Real>
hp2D::BuildH1EdgeTColumns< F >::BuildH1EdgeTColumns ( SpaceHelper spc)
inline

Constructor.

Parameters
spcSpace Helper with Space Pre Builder (mesh and distribution of degrees of freedom), boundary condition and the running index

Definition at line 99 of file buildH1TColumns.hh.

◆ ~BuildH1EdgeTColumns()

template<class F = concepts::Real>
virtual hp2D::BuildH1EdgeTColumns< F >::~BuildH1EdgeTColumns ( )
inlinevirtual

Definition at line 101 of file buildH1TColumns.hh.

Member Function Documentation

◆ clone() [1/2]

template<class F = concepts::Real>
virtual BuildH1EdgeTColumns< F > * hp2D::BuildH1EdgeTColumns< F >::clone ( SpaceHelper spc = 0) const
virtual

◆ clone() [2/2]

virtual BuildTColumnsBase< F, SpacePreBuilder > * concepts::BuildTColumnsBase< F, SpacePreBuilder >::clone ( SpaceHelper< F, SpacePreBuilder > *  spc = 0) const
pure virtualinherited

Virtual copy constructor with a twist.

If a copy of a space helper is created, the strategies to build the degrees of freedom of the copy should also reference the copy and not the initial space helper. This is done by giving the argument spc to clone.

Parameters
spcSpace helper class to work on for the return value. If set to 0, spc_ is used.

◆ info()

template<class F = concepts::Real>
virtual std::ostream & hp2D::BuildH1EdgeTColumns< F >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::BuildTColumnsBase< F, SpacePreBuilder >.

◆ operator()()

template<class F = concepts::Real>
virtual void hp2D::BuildH1EdgeTColumns< F >::operator() ( const concepts::Connector2 cntr,
concepts::TColumn< F > *&  T1 
) const
virtual

Builds the degrees of freedom.

Parameters
cntrQuad which dofs should be considered
T1New T columns created for the degrees of freedom

Implements hp2D::BuildTColumnsBase< F >.

◆ prebuild()

SpacePreBuilder & concepts::BuildTColumnsBase< F, SpacePreBuilder >::prebuild ( ) const
inlineinherited

Returns the space pre builder.

Definition at line 257 of file spacePreBuilder.hh.

◆ spc()

SpaceHelper< F, SpacePreBuilder > & concepts::BuildTColumnsBase< F, SpacePreBuilder >::spc ( ) const
inlineinherited

Returns pointer to space helper class.

Definition at line 255 of file spacePreBuilder.hh.

Member Data Documentation

◆ spc_

Space to build the degrees of freedom from.

Definition at line 272 of file spacePreBuilder.hh.


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