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

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
hp2D::BuildTColumnsBase< F > Class Template Reference

Base class for classes for building T columns for elements in a space with help of a 2D space pre builder. More...

#include <buildTColumnsBase.hh>

Inheritance diagram for hp2D::BuildTColumnsBase< F >:
Inheritance graph
[legend]
Collaboration diagram for hp2D::BuildTColumnsBase< F >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef concepts::SpaceHelper
< F, SpacePreBuilder
SpaceHelper

Public Member Functions

 BuildTColumnsBase ()
 Default constructor.
 BuildTColumnsBase (SpaceHelper &spc)
 Constructor.
virtual BuildTColumnsBase< F,
SpacePreBuilder > * 
clone (SpaceHelper< F, SpacePreBuilder > *spc=0) const =0
 Virtual copy constructor with a twist.
virtual BuildTColumnsBase< F > * clone (SpaceHelper *spc=0) const =0
virtual void operator() (const concepts::Connector2 &cntr, concepts::TColumn< F > *&T1) const =0
 Builds the degrees of freedom for a quad.
SpacePreBuilderprebuild () const
 Returns the space pre builder.
SpaceHelper< F, SpacePreBuilder > & spc () const
 Returns pointer to space helper class.
virtual ~BuildTColumnsBase ()

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>
class hp2D::BuildTColumnsBase< F >

Base class for classes for building T columns for elements in a space with help of a 2D space pre builder.

A call to the application operator builds the T columns for a given quad.

This is the base class for the specialzations for vertices, edges and the interior. The access to the internal data of the space helper (which is needed) is provided through the protected member functions of this class (and this class is a friend of SpaceHelper).

Author:
Kersten Schmidt, 2005

Definition at line 30 of file buildTColumnsBase.hh.


Member Typedef Documentation


Constructor & Destructor Documentation

template<class F>
hp2D::BuildTColumnsBase< F >::BuildTColumnsBase ( ) [inline]

Default constructor.

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

Definition at line 35 of file buildTColumnsBase.hh.

template<class F>
hp2D::BuildTColumnsBase< F >::BuildTColumnsBase ( SpaceHelper spc) [inline]

Constructor.

Parameters:
prebuildSpace Pre Builder with mesh and distribution of degrees of freedom from

Definition at line 40 of file buildTColumnsBase.hh.

template<class F>
virtual hp2D::BuildTColumnsBase< F >::~BuildTColumnsBase ( ) [inline, virtual]

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

Definition at line 43 of file buildTColumnsBase.hh.


Member Function Documentation

template<class F>
virtual BuildTColumnsBase<F>* hp2D::BuildTColumnsBase< F >::clone ( SpaceHelper spc = 0) const [pure virtual]
virtual BuildTColumnsBase<F,SpacePreBuilder >* concepts::BuildTColumnsBase< F, SpacePreBuilder >::clone ( SpaceHelper< F, SpacePreBuilder > *  spc = 0) const [pure virtual, inherited]

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.
virtual std::ostream& concepts::BuildTColumnsBase< F, SpacePreBuilder >::info ( std::ostream &  os) const [protected, virtual, inherited]
template<class F>
virtual void hp2D::BuildTColumnsBase< F >::operator() ( const concepts::Connector2 cntr,
concepts::TColumn< F > *&  T1 
) const [pure virtual]

Builds the degrees of freedom for a quad.

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

Implemented in hp2D::BuildH1VtxTColumns< F >, hp2D::BuildH1EdgeTColumns< F >, hp2D::BuildH1InnerTColumns< F >, hp2D::BuildHCurlEdgeTColumns< F >, and hp2D::BuildHCurlInnerTColumns< F >.

SpacePreBuilder & concepts::BuildTColumnsBase< F, SpacePreBuilder >::prebuild ( ) const [inline, inherited]

Returns the space pre builder.

SpaceHelper<F,SpacePreBuilder >& concepts::BuildTColumnsBase< F, SpacePreBuilder >::spc ( ) const [inline, inherited]

Returns pointer to space helper class.


Member Data Documentation

Space to build the degrees of freedom from.

Definition at line 266 of file spacePreBuilder.hh.


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

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