concepts::BuildTColumnsBase< F, G > Class Template Referenceabstract

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

#include <spacePreBuilder.hh>

Public Member Functions

 BuildTColumnsBase ()
 Default constructor. More...
 
 BuildTColumnsBase (SpaceHelper< F, G > &spc)
 Constructor. More...
 
virtual BuildTColumnsBase< F, G > * clone (SpaceHelper< F, G > *spc=0) const =0
 Virtual copy constructor with a twist. More...
 
G & prebuild () const
 Returns the space pre builder. More...
 
SpaceHelper< F, G > & 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, G > * spc_
 Space to build the degrees of freedom from. More...
 

Detailed Description

template<class F, class G>
class concepts::BuildTColumnsBase< F, G >

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

In derivated classes can be specializations for particular space pre builder and for vertices, edges and the interior implemented.

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 Space).

Parameters
Fdata type of the T-matrices
Gspace pre builder class
Author
Kersten Schmidt, 2005

Definition at line 26 of file spacePreBuilder.hh.

Constructor & Destructor Documentation

◆ BuildTColumnsBase() [1/2]

template<class F , class G >
concepts::BuildTColumnsBase< F, G >::BuildTColumnsBase ( )
inline

Default constructor.

Definition at line 248 of file spacePreBuilder.hh.

◆ BuildTColumnsBase() [2/2]

template<class F , class G >
concepts::BuildTColumnsBase< F, G >::BuildTColumnsBase ( SpaceHelper< F, G > &  spc)
inline

Constructor.

Parameters
spcSpace Helper class

Definition at line 252 of file spacePreBuilder.hh.

◆ ~BuildTColumnsBase()

template<class F , class G >
virtual concepts::BuildTColumnsBase< F, G >::~BuildTColumnsBase ( )
inlinevirtual

Member Function Documentation

◆ clone()

template<class F , class G >
virtual BuildTColumnsBase<F,G>* concepts::BuildTColumnsBase< F, G >::clone ( SpaceHelper< F, G > *  spc = 0) const
pure virtual

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()

◆ prebuild()

template<class F , class G >
G & concepts::BuildTColumnsBase< F, G >::prebuild
inline

Returns the space pre builder.

Definition at line 284 of file spacePreBuilder.hh.

◆ spc()

template<class F , class G >
SpaceHelper< F, G > & concepts::BuildTColumnsBase< F, G >::spc
inline

Returns pointer to space helper class.

Definition at line 278 of file spacePreBuilder.hh.

Member Data Documentation

◆ spc_

template<class F , class G >
SpaceHelper<F,G>* concepts::BuildTColumnsBase< F, G >::spc_
protected

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