vectorial::Vectorial< F > Class Template Reference
Base class for most classes which do vector valued problems. More...
#include <vectorial.hh>
Public Member Functions | |
virtual const F * | get (const int a, const int b=0) const |
Get a component. More... | |
virtual void | insert (F &vdata, const int a=0, const int b=0) |
Add a component. More... | |
uint | vdim () const |
Returns number of components. More... | |
Vectorial (uint vdim, uint arrayWidth) | |
Constructor. More... | |
virtual | ~Vectorial () |
Protected Attributes | |
uint | idx_ |
Index of the last added component. More... | |
concepts::Array< F * > | vdata_ |
Storage. More... | |
uint | vdim_ |
Number of components. More... | |
Private Member Functions | |
Vectorial (const Vectorial< F > &c) | |
Private copy constructor, forbids copying. More... | |
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.
Definition at line 59 of file vectorial.hh.
Constructor & Destructor Documentation
◆ Vectorial() [1/2]
|
inline |
Constructor.
- Parameters
-
vdim Number of components arrayWidth Storage to be allocated
Definition at line 65 of file vectorial.hh.
◆ ~Vectorial()
|
virtual |
Definition at line 91 of file vectorial.hh.
◆ Vectorial() [2/2]
|
private |
Private copy constructor, forbids copying.
Member Function Documentation
◆ get()
|
inlinevirtual |
Get a component.
Definition at line 74 of file vectorial.hh.
◆ insert()
|
virtual |
Add a component.
Definition at line 94 of file vectorial.hh.
◆ vdim()
|
inline |
Returns number of components.
Definition at line 77 of file vectorial.hh.
Member Data Documentation
◆ idx_
|
protected |
Index of the last added component.
Definition at line 82 of file vectorial.hh.
◆ vdata_
|
mutableprotected |
Storage.
Definition at line 84 of file vectorial.hh.
◆ vdim_
|
protected |
Number of components.
Definition at line 80 of file vectorial.hh.
The documentation for this class was generated from the following file:
- vectorial/vectorial.hh