Vector valued element with a cell. More...

#include <vectorial.hh>

Inheritance diagram for vectorial::ElementWithCell< F >:
vectorial::ElementBase< concepts::ElementWithCell< F > > concepts::IntegrationCell vectorial::Vectorial< concepts::ElementWithCell< F > > concepts::ElementWithCell< F >

Public Types

typedef ElementType::type F
 
enum  intFormType { ZERO, ONE, TWO, THREE }
 Integration form, which determines terms coming from integration over reference element. More...
 
typedef F type
 

Public Member Functions

virtual const concepts::Cellcell () const
 Returns the cell on which the element is built. More...
 
 ElementWithCell (uint vdim, uint arrayWidth=0)
 
Real3d elemMap (const Real coord_local) const
 
Real3d elemMap (const Real2d &coord_local) const
 
Real3d elemMap (const Real3d &coord_local) const
 
virtual const concepts::ElementWithCell< F > * get (const int a, const int b=0) const
 Get a component. More...
 
virtual const Graphics< F > * graphics () const
 
virtual void insert (concepts::ElementWithCell< F > &vdata, const int a=0, const int b=0)
 Add a component. More...
 
virtual void put (concepts::ElementWithCell< F > &em, const int dim, const int b=0)
 Insert element em into the vector valued element. More...
 
virtual bool quadraturePoint (uint i, intPoint &p, intFormType form, bool localCoord) const
 Delivers a quadrature point. More...
 
virtual vectorial::TMatrix< F > & T () const
 
virtual const TMatrixBase< F > & T () const =0
 Returns the T matrix of the element. More...
 
uint vdim () const
 Returns number of components. More...
 
virtual ~ElementWithCell ()
 

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::ElementWithCell< F > * > vdata_
 Storage. More...
 
uint vdim_
 Number of components. More...
 

Private Attributes

const concepts::Cellcell_
 
const concepts::IntegrationCellintCell_
 
std::string name_
 Name of the class for output. More...
 

Static Private Attributes

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

Detailed Description

template<class F>
class vectorial::ElementWithCell< F >

Vector valued element with a cell.

Author
Kersten Schmidt, 2013

Definition at line 285 of file vectorial.hh.

Member Typedef Documentation

◆ F

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

Definition at line 227 of file vectorial.hh.

◆ type

template<typename F >
typedef F concepts::ElementWithCell< F >::type
inherited

Definition at line 81 of file element.hh.

Member Enumeration Documentation

◆ intFormType

Integration form, which determines terms coming from integration over reference element.

Enumerator
ZERO 
ONE 
TWO 
THREE 

Definition at line 29 of file integral.hh.

Constructor & Destructor Documentation

◆ ElementWithCell()

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

Definition at line 288 of file vectorial.hh.

◆ ~ElementWithCell()

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

Member Function Documentation

◆ cell()

template<class F >
virtual const concepts::Cell& vectorial::ElementWithCell< F >::cell ( ) const
virtual

Returns the cell on which the element is built.

Implements concepts::ElementWithCell< F >.

◆ elemMap() [1/3]

template<typename F >
Real3d concepts::ElementWithCell< F >::elemMap ( const Real  coord_local) const
inlineinherited

Definition at line 86 of file element.hh.

◆ elemMap() [2/3]

template<typename F >
Real3d concepts::ElementWithCell< F >::elemMap ( const Real2d coord_local) const
inlineinherited

Definition at line 90 of file element.hh.

◆ elemMap() [3/3]

template<typename F >
Real3d concepts::ElementWithCell< F >::elemMap ( const Real3d coord_local) const
inlineinherited

Definition at line 94 of file element.hh.

◆ get()

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

Get a component.

Definition at line 74 of file vectorial.hh.

◆ graphics()

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

Definition at line 243 of file vectorial.hh.

◆ info()

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

◆ insert()

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

Add a component.

Definition at line 72 of file vectorial.hh.

◆ put()

template<class F >
virtual void vectorial::ElementWithCell< F >::put ( concepts::ElementWithCell< F > &  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 from vectorial::ElementBase< concepts::ElementWithCell< F > >.

◆ quadraturePoint()

template<class F >
virtual bool vectorial::ElementWithCell< F >::quadraturePoint ( uint  i,
intPoint p,
intFormType  form,
bool  localCoord 
) const
virtual

Delivers a quadrature point.

Quadrature point consists of coordinates (for evaluation of formulas) and intermediate data, consisting of the weight and term coming from mapping.

Returns false, if the number of quadrature points is overstepped.

Parameters
inumber of quadrature point
intPointdata given back
formIntegration form
localCoordIf true, local coordinates are returned. Else physical coordinates.

Implements concepts::IntegrationCell.

◆ T() [1/2]

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

Definition at line 242 of file vectorial.hh.

◆ T() [2/2]

template<typename F >
virtual const TMatrixBase<F>& concepts::ElementWithCell< F >::T ( ) const
pure virtualinherited

◆ vdim()

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

Returns number of components.

Definition at line 77 of file vectorial.hh.

◆ vecGraphics()

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

Definition at line 248 of file vectorial.hh.

Member Data Documentation

◆ cell_

template<class F >
const concepts::Cell* vectorial::ElementWithCell< F >::cell_
private

Definition at line 307 of file vectorial.hh.

◆ graphics_

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

Definition at line 258 of file vectorial.hh.

◆ idx_

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

Index of the last added component.

Definition at line 82 of file vectorial.hh.

◆ intCell_

template<class F >
const concepts::IntegrationCell* vectorial::ElementWithCell< F >::intCell_
private

Definition at line 308 of file vectorial.hh.

◆ name_

std::string vectorial::ElementBase< concepts::ElementWithCell< 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::ElementWithCell< F > >::T_
protectedinherited

T matrix for the vector valued element.

Definition at line 256 of file vectorial.hh.

◆ vdata_

Storage.

Definition at line 84 of file vectorial.hh.

◆ vdim_

uint vectorial::Vectorial< concepts::ElementWithCell< 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