vectorial::ElementPair< F > Class Template Reference
Vector valued element pair. More...
#include <vectorial.hh>
Public Member Functions | |
ElementPair (const Element< F > &elm1, const Element< F > &elm2) | |
virtual const concepts::Element< F > & | elm1 () const |
Returns reference to the first element. More... | |
virtual const concepts::Element< F > & | elm2 () const |
Returns reference to the second element. More... | |
virtual const concepts::ElementPair< F > * | get (const int a, const int b=0) const |
Get a component. More... | |
virtual void | insert (concepts::ElementPair< F > &vdata, const int a=0, const int b=0) |
Add a component. More... | |
virtual void | put (concepts::ElementPair< F > &ep, const int iV, const int iU) |
uint | vdim () const |
Returns number of components. More... | |
virtual | ~ElementPair () |
Protected Attributes | |
uint | idx_ |
Index of the last added component. More... | |
concepts::Array< concepts::ElementPair< F > * > | vdata_ |
Storage. More... | |
uint | vdim_ |
Number of components. More... | |
Private Attributes | |
const Element< F > & | elm1_ |
const Element< F > & | elm2_ |
Detailed Description
template<class F>
class vectorial::ElementPair< F >
Vector valued element pair.
Definition at line 505 of file vectorial.hh.
Constructor & Destructor Documentation
◆ ElementPair()
|
inline |
Definition at line 509 of file vectorial.hh.
◆ ~ElementPair()
|
inlinevirtual |
Reimplemented from concepts::ElementPair< F >.
Definition at line 513 of file vectorial.hh.
Member Function Documentation
◆ elm1()
|
virtual |
Returns reference to the first element.
Implements concepts::ElementPair< F >.
◆ elm2()
|
virtual |
Returns reference to the second element.
Implements concepts::ElementPair< F >.
◆ get()
|
inlinevirtualinherited |
Get a component.
Definition at line 74 of file vectorial.hh.
◆ insert()
|
virtualinherited |
Add a component.
Definition at line 72 of file vectorial.hh.
◆ put()
|
virtual |
◆ vdim()
|
inlineinherited |
Returns number of components.
Definition at line 77 of file vectorial.hh.
Member Data Documentation
◆ elm1_
|
private |
Definition at line 521 of file vectorial.hh.
◆ elm2_
|
private |
Definition at line 522 of file vectorial.hh.
◆ idx_
|
protectedinherited |
Index of the last added component.
Definition at line 82 of file vectorial.hh.
◆ vdata_
|
mutableprotectedinherited |
Storage.
Definition at line 84 of file vectorial.hh.
◆ vdim_
|
protectedinherited |
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