hp2D::BuildTColumnsBase< F > Class Template Referenceabstract

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 >:
concepts::BuildTColumnsBase< F, SpacePreBuilder >

Public Types

typedef concepts::SpaceHelper< F, SpacePreBuilderSpaceHelper
 

Public Member Functions

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

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 

Protected Attributes

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

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 32 of file buildTColumnsBase.hh.

Member Typedef Documentation

◆ SpaceHelper

Definition at line 35 of file buildTColumnsBase.hh.

Constructor & Destructor Documentation

◆ BuildTColumnsBase() [1/2]

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

Default constructor.

Definition at line 37 of file buildTColumnsBase.hh.

◆ BuildTColumnsBase() [2/2]

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 42 of file buildTColumnsBase.hh.

◆ ~BuildTColumnsBase()

template<class F >
virtual hp2D::BuildTColumnsBase< F >::~BuildTColumnsBase ( )
inlinevirtual

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

Definition at line 45 of file buildTColumnsBase.hh.

Member Function Documentation

◆ clone() [1/2]

template<class F >
virtual BuildTColumnsBase<F>* hp2D::BuildTColumnsBase< F >::clone ( SpaceHelper spc = 0) const
pure 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()

std::ostream & concepts::BuildTColumnsBase< F, SpacePreBuilder >::info ( std::ostream &  os) const
protectedvirtualinherited

Definition at line 274 of file spacePreBuilder.hh.

◆ operator()()

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::BuildL2InnerTColumns< concepts::Real >, and hp2D::BuildH1InnerTColumns< concepts::Real >.

◆ prebuild()

SpacePreBuilder & concepts::BuildTColumnsBase< F, SpacePreBuilder >::prebuild
inlineinherited

Returns the space pre builder.

Definition at line 258 of file spacePreBuilder.hh.

◆ spc()

Returns pointer to space helper class.

Definition at line 256 of file spacePreBuilder.hh.

Member Data Documentation

◆ spc_

Space to build the degrees of freedom from.

Definition at line 273 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