Class documentation of Concepts

Loading...
Searching...
No Matches

#include <vectorial.hh>

Inheritance diagram for vectorial::ElementBase< ElementType >:
vectorial::Vectorial< ElementType >

Public Types

typedef ElementType::type F
 

Public Member Functions

 ElementBase (uint vdim, uint arrayWidth, std::string name="ElementBase")
 
virtual void put (ElementType &em, const int dim, const int b=0)
 
virtual vectorial::TMatrix< F > & T () const
 
virtual const Graphics< F > * graphics () const
 
virtual void insert (ElementType &vdata, const int a=0, const int b=0)
 Add a component.
 
virtual const ElementType * get (const int a, const int b=0) const
 Get a component.
 
uint vdim () const
 Returns number of components.
 

Static Public Member Functions

static Graphics< F > * vecGraphics ()
 

Protected Member Functions

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

Protected Attributes

std::unique_ptr< vectorial::TMatrix< F > > T_
 T matrix for the vector valued element.
 
uint vdim_
 Number of components.
 
uint idx_
 Index of the last added component.
 
concepts::Array< ElementType * > vdata_
 Storage.
 

Detailed Description

template<class ElementType>
class vectorial::ElementBase< ElementType >

Base class for vector valued element

Author
Kersten Schmidt, 2013

Definition at line 224 of file vectorial.hh.

Member Typedef Documentation

◆ F

template<class ElementType >
typedef ElementType::type vectorial::ElementBase< ElementType >::F

Definition at line 227 of file vectorial.hh.

Constructor & Destructor Documentation

◆ ElementBase()

template<class ElementType >
vectorial::ElementBase< ElementType >::ElementBase ( uint  vdim,
uint  arrayWidth,
std::string  name = "ElementBase< ElementType >" 
)
inline

Definition at line 229 of file vectorial.hh.

Member Function Documentation

◆ get()

virtual const ElementType * vectorial::Vectorial< ElementType >::get ( const int  a,
const int  b = 0 
) const
inlinevirtualinherited

Get a component.

Definition at line 74 of file vectorial.hh.

◆ graphics()

template<class ElementType >
virtual const Graphics< F > * vectorial::ElementBase< ElementType >::graphics ( ) const
inlinevirtual

Definition at line 243 of file vectorial.hh.

◆ insert()

void vectorial::Vectorial< ElementType >::insert ( ElementType &  vdata,
const int  a = 0,
const int  b = 0 
)
virtualinherited

Add a component.

Definition at line 72 of file vectorial.hh.

◆ put()

template<class ElementType >
virtual void vectorial::ElementBase< ElementType >::put ( ElementType &  em,
const int  dim,
const int  b = 0 
)
virtual

Insert element em into the vector valued element. This also creates the T matrix T_ of this element.

Parameters
dimNumber of global degrees of freedom (size of the subspace)

Reimplemented in vectorial::ElementWithCell< F >.

◆ T()

template<class ElementType >
virtual vectorial::TMatrix< F > & vectorial::ElementBase< ElementType >::T ( ) const
inlinevirtual

Definition at line 242 of file vectorial.hh.

◆ vdim()

uint vectorial::Vectorial< ElementType >::vdim ( ) const
inlineinherited

Returns number of components.

Definition at line 77 of file vectorial.hh.

◆ vecGraphics()

template<class ElementType >
static Graphics< F > * vectorial::ElementBase< ElementType >::vecGraphics ( )
inlinestatic

Definition at line 248 of file vectorial.hh.

Member Data Documentation

◆ idx_

uint vectorial::Vectorial< ElementType >::idx_
protectedinherited

Index of the last added component.

Definition at line 82 of file vectorial.hh.

◆ T_

template<class ElementType >
std::unique_ptr<vectorial::TMatrix<F> > vectorial::ElementBase< ElementType >::T_
protected

T matrix for the vector valued element.

Definition at line 256 of file vectorial.hh.

◆ vdata_

concepts::Array<ElementType *> vectorial::Vectorial< ElementType >::vdata_
mutableprotectedinherited

Storage.

Definition at line 84 of file vectorial.hh.

◆ vdim_

uint vectorial::Vectorial< ElementType >::vdim_
protectedinherited

Number of components.

Definition at line 80 of file vectorial.hh.


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