Vector valued element. More...

#include <vectorial.hh>

Inheritance diagram for vectorial::Element< F >:
vectorial::ElementBase< concepts::Element< F > > vectorial::Vectorial< concepts::Element< F > > concepts::Element< F >

Public Types

typedef ElementType::type F
 
typedef F type
 

Public Member Functions

 Element (uint vdim, uint arrayWidth=0)
 
virtual const concepts::Element< F > * get (const int a, const int b=0) const
 Get a component. More...
 
virtual const ElementGraphics< F > * graphics () const
 
virtual const Graphics< F > * graphics () const
 
virtual void insert (concepts::Element< F > &vdata, const int a=0, const int b=0)
 Add a component. More...
 
virtual void put (concepts::Element< F > &em, const int dim, const int b=0)
 Insert element em into the vector valued element. More...
 
virtual vectorial::TMatrix< F > & T () const
 
virtual const TMatrixBase< F > & T () const =0
 Returns the T matrix of the element. More...
 
uint & tag ()
 Returns the tag. More...
 
uint vdim () const
 Returns number of components. More...
 
virtual ~Element ()
 

Static Public Member Functions

static Graphics< F > * vecGraphics ()
 

Protected Member Functions

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

Protected Attributes

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

Private Attributes

std::string name_
 Name of the class for output. More...
 
uint tag_
 Tag information. More...
 

Static Private Attributes

static std::unique_ptr< Graphics< F > > graphics_
 

Detailed Description

template<class F>
class vectorial::Element< F >

Vector valued element.

Author
Kersten Schmidt, 2002

Definition at line 270 of file vectorial.hh.

Member Typedef Documentation

◆ F

typedef ElementType::type vectorial::ElementBase< concepts::Element< F > >::F
inherited

Definition at line 227 of file vectorial.hh.

◆ type

template<class F >
typedef F concepts::Element< F >::type
inherited

Definition at line 54 of file element.hh.

Constructor & Destructor Documentation

◆ Element()

template<class F >
vectorial::Element< F >::Element ( uint  vdim,
uint  arrayWidth = 0 
)
inline

Definition at line 272 of file vectorial.hh.

◆ ~Element()

template<class F >
virtual vectorial::Element< F >::~Element ( )
virtual

Reimplemented from concepts::Element< F >.

Member Function Documentation

◆ get()

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

Get a component.

Definition at line 74 of file vectorial.hh.

◆ graphics() [1/2]

template<class F >
virtual const ElementGraphics<F>* concepts::Element< F >::graphics ( ) const
inlinevirtualinherited

Definition at line 63 of file element.hh.

◆ graphics() [2/2]

virtual const Graphics<F>* vectorial::ElementBase< concepts::Element< F > >::graphics
inlinevirtualinherited

Definition at line 243 of file vectorial.hh.

◆ info()

virtual std::ostream& vectorial::ElementBase< concepts::Element< F > >::info ( std::ostream &  os) const
protectedvirtualinherited

◆ insert()

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

Add a component.

Definition at line 72 of file vectorial.hh.

◆ put()

virtual void vectorial::ElementBase< concepts::Element< F > >::put ( concepts::Element< F > &  em,
const int  dim,
const int  b = 0 
)
virtualinherited

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)

◆ T() [1/2]

virtual vectorial::TMatrix<F>& vectorial::ElementBase< concepts::Element< F > >::T
inlinevirtualinherited

Definition at line 242 of file vectorial.hh.

◆ T() [2/2]

template<class F >
virtual const TMatrixBase<F>& concepts::Element< F >::T ( ) const
pure virtualinherited

Returns the T matrix of the element.

Implemented in aglowav2::Haar3d000< concepts::Real >, and aglowav::Haar3d000< concepts::Real >.

◆ tag()

template<class F >
uint& concepts::Element< F >::tag ( )
inlineinherited

Returns the tag.

Definition at line 66 of file element.hh.

◆ vdim()

uint vectorial::Vectorial< concepts::Element< F > >::vdim
inlineinherited

Returns number of components.

Definition at line 77 of file vectorial.hh.

◆ vecGraphics()

static Graphics<F>* vectorial::ElementBase< concepts::Element< F > >::vecGraphics
inlinestaticinherited

Definition at line 248 of file vectorial.hh.

Member Data Documentation

◆ graphics_

std::unique_ptr<Graphics<F> > vectorial::ElementBase< concepts::Element< F > >::graphics_
staticprivateinherited

Definition at line 258 of file vectorial.hh.

◆ idx_

uint vectorial::Vectorial< concepts::Element< F > >::idx_
protectedinherited

Index of the last added component.

Definition at line 82 of file vectorial.hh.

◆ name_

std::string vectorial::ElementBase< concepts::Element< F > >::name_
privateinherited

Name of the class for output.

Definition at line 260 of file vectorial.hh.

◆ T_

std::unique_ptr<vectorial::TMatrix<F> > vectorial::ElementBase< concepts::Element< F > >::T_
protectedinherited

T matrix for the vector valued element.

Definition at line 256 of file vectorial.hh.

◆ tag_

template<class F >
uint concepts::Element< F >::tag_
privateinherited

Tag information.

Definition at line 69 of file element.hh.

◆ vdata_

concepts::Array<concepts::Element< F > *> vectorial::Vectorial< concepts::Element< F > >::vdata_
mutableprotectedinherited

Storage.

Definition at line 84 of file vectorial.hh.

◆ vdim_

uint vectorial::Vectorial< concepts::Element< F > >::vdim_
protectedinherited

Number of components.

Definition at line 80 of file vectorial.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