Class documentation of Concepts

Loading...
Searching...
No Matches
vectorial::Vectorial< F > Class Template Reference

#include <vectorial.hh>

Inheritance diagram for vectorial::Vectorial< F >:
vectorial::ElementBase< concepts::Element< F > > vectorial::ElementBase< concepts::ElementWithCell< F > > vectorial::SpaceBase< concepts::Space< F > > vectorial::SpaceBase< concepts::SpaceOnCells< F > > vectorial::BilinearForm< F, G > vectorial::ElementFunction< F, G > vectorial::LinearForm< F, G > vectorial::Element< F > vectorial::ElementWithCell< F > vectorial::Space< F > vectorial::SpaceOnCells< F >

Public Member Functions

 Vectorial (uint vdim, uint arrayWidth)
 
virtual void insert (F &vdata, const int a=0, const int b=0)
 Add a component.
 
virtual const F * get (const int a, const int b=0) const
 Get a component.
 
uint vdim () const
 Returns number of components.
 

Protected Attributes

uint vdim_
 Number of components.
 
uint idx_
 Index of the last added component.
 
concepts::Array< F * > vdata_
 Storage.
 

Detailed Description

template<class F>
class vectorial::Vectorial< F >

Base class for most classes which do vector valued problems. This class is mainly responsible for the memory handling.

Author
Kersten Schmidt, 2002

Definition at line 59 of file vectorial.hh.

Constructor & Destructor Documentation

◆ Vectorial()

template<class F >
vectorial::Vectorial< F >::Vectorial ( uint  vdim,
uint  arrayWidth 
)
inline

Constructor

Parameters
vdimNumber of components
arrayWidthStorage to be allocated

Definition at line 65 of file vectorial.hh.

◆ ~Vectorial()

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

Definition at line 91 of file vectorial.hh.

Member Function Documentation

◆ get()

template<class F >
virtual const F * vectorial::Vectorial< F >::get ( const int  a,
const int  b = 0 
) const
inlinevirtual

Get a component.

Examples
hpFEM3d-EV.cc.

Definition at line 74 of file vectorial.hh.

◆ insert()

template<class F >
void vectorial::Vectorial< F >::insert ( F &  vdata,
const int  a = 0,
const int  b = 0 
)
virtual

Add a component.

Definition at line 94 of file vectorial.hh.

◆ vdim()

template<class F >
uint vectorial::Vectorial< F >::vdim ( ) const
inline

Returns number of components.

Definition at line 77 of file vectorial.hh.

Member Data Documentation

◆ idx_

template<class F >
uint vectorial::Vectorial< F >::idx_
protected

Index of the last added component.

Definition at line 82 of file vectorial.hh.

◆ vdata_

template<class F >
concepts::Array<F*> vectorial::Vectorial< F >::vdata_
mutableprotected

Storage.

Definition at line 84 of file vectorial.hh.

◆ vdim_

template<class F >
uint vectorial::Vectorial< F >::vdim_
protected

Number of components.

Definition at line 80 of file vectorial.hh.


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