vectorial::ElementPair< F > Class Template Reference

Vector valued element pair. More...

#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 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.

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.

◆ put()

template<class F >
virtual void vectorial::ElementPair< F >::put ( concepts::ElementPair< F > &  ep,
const int  iV,
const int  iU 
)
virtual

◆ vdim()

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

Returns number of components.

Definition at line 77 of file vectorial.hh.

Member Data Documentation

◆ elm1_

template<class F >
const Element<F>& vectorial::ElementPair< F >::elm1_
private

Definition at line 521 of file vectorial.hh.

◆ elm2_

template<class F >
const Element<F>& vectorial::ElementPair< F >::elm2_
private

Definition at line 522 of file vectorial.hh.

◆ 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:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich