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>
Public Types | |
typedef concepts::SpaceHelper< F, SpacePreBuilder > | SpaceHelper |
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... | |
SpacePreBuilder & | prebuild () 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).
Definition at line 32 of file buildTColumnsBase.hh.
Member Typedef Documentation
◆ SpaceHelper
typedef concepts::SpaceHelper<F, SpacePreBuilder> hp2D::BuildTColumnsBase< F >::SpaceHelper |
Definition at line 35 of file buildTColumnsBase.hh.
Constructor & Destructor Documentation
◆ BuildTColumnsBase() [1/2]
|
inline |
Default constructor.
Definition at line 37 of file buildTColumnsBase.hh.
◆ BuildTColumnsBase() [2/2]
|
inline |
Constructor.
- Parameters
-
prebuild Space Pre Builder with mesh and distribution of degrees of freedom from
Definition at line 42 of file buildTColumnsBase.hh.
◆ ~BuildTColumnsBase()
|
inlinevirtual |
Reimplemented from concepts::BuildTColumnsBase< F, SpacePreBuilder >.
Definition at line 45 of file buildTColumnsBase.hh.
Member Function Documentation
◆ clone() [1/2]
|
pure virtual |
Implemented in hp2D::BuildL2InnerTColumns< concepts::Real >, and hp2D::BuildH1InnerTColumns< concepts::Real >.
◆ clone() [2/2]
|
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
-
spc Space helper class to work on for the return value. If set to 0, spc_
is used.
◆ info()
|
protectedvirtualinherited |
Definition at line 274 of file spacePreBuilder.hh.
◆ operator()()
|
pure virtual |
Builds the degrees of freedom for a quad.
- Parameters
-
cntr Quad which dofs should be considered T1 New T columns created for the degrees of freedom
Implemented in hp2D::BuildL2InnerTColumns< concepts::Real >, and hp2D::BuildH1InnerTColumns< concepts::Real >.
◆ prebuild()
|
inlineinherited |
Returns the space pre builder.
Definition at line 258 of file spacePreBuilder.hh.
◆ spc()
|
inlineinherited |
Returns pointer to space helper class.
Definition at line 256 of file spacePreBuilder.hh.
Member Data Documentation
◆ spc_
|
protectedinherited |
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:
- hp2D/buildTColumnsBase.hh