Class documentation of Concepts

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

#include <vectorial.hh>

Inheritance diagram for vectorial::ElementPair< F >:
concepts::ElementPair< F > vectorial::Vectorial< concepts::ElementPair< F > >

Public Member Functions

 ElementPair (const Element< F > &elm1, const Element< F > &elm2)
 
virtual void put (concepts::ElementPair< F > &ep, const int iV, const int iU)
 
virtual const concepts::Element< F > & elm1 () const
 Returns reference to the first element.
 
virtual const concepts::Element< F > & elm2 () const
 Returns reference to the second element.
 
virtual void insert (concepts::ElementPair< F > &vdata, const int a=0, const int b=0)
 Add a component.
 
virtual const concepts::ElementPair< 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< concepts::ElementPair< F > * > vdata_
 Storage.
 

Detailed Description

template<class F>
class vectorial::ElementPair< F >

Vector valued element pair

Author
Christoph Winkelmann, 2003

Definition at line 505 of file vectorial.hh.

Constructor & Destructor Documentation

◆ ElementPair()

template<class F >
vectorial::ElementPair< F >::ElementPair ( const Element< F > &  elm1,
const Element< F > &  elm2 
)
inline

Definition at line 509 of file vectorial.hh.

◆ ~ElementPair()

template<class F >
virtual vectorial::ElementPair< F >::~ElementPair ( )
inlinevirtual

Reimplemented from concepts::ElementPair< F >.

Definition at line 513 of file vectorial.hh.

Member Function Documentation

◆ elm1()

template<class F >
virtual const concepts::Element< F > & vectorial::ElementPair< F >::elm1 ( ) const
virtual

Returns reference to the first element.

Implements concepts::ElementPair< F >.

◆ elm2()

template<class F >
virtual const concepts::Element< F > & vectorial::ElementPair< F >::elm2 ( ) const
virtual

Returns reference to the second element.

Implements concepts::ElementPair< F >.

◆ get()

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

Get a component.

Definition at line 74 of file vectorial.hh.

◆ insert()

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

Add a component.

Definition at line 72 of file vectorial.hh.

◆ vdim()

uint vectorial::Vectorial< concepts::ElementPair< F > >::vdim ( ) const
inlineinherited

Returns number of components.

Definition at line 77 of file vectorial.hh.

Member Data Documentation

◆ idx_

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

Index of the last added component.

Definition at line 82 of file vectorial.hh.

◆ vdata_

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

Storage.

Definition at line 84 of file vectorial.hh.

◆ vdim_

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