vectorial::ElementPairListIdentic< F > Class Template Reference

Element pair list for two vectorial spaces V1 and V2. More...

#include <elementPairListIdentic.hh>

Inheritance diagram for vectorial::ElementPairListIdentic< F >:
concepts::ElementPairList< F >

Public Types

typedef concepts::Scan< ElementPair< F > > Scanner
 

Public Member Functions

void add (ElementPair< F > *elmPair)
 Adds the new ElementPair to the beginning of the list. More...
 
 ElementPairListIdentic (const concepts::ElementPairList< F > &sElemPairs, const Space< F > &vSpace)
 Constructor for two identic vectorial spaces. More...
 
 ElementPairListIdentic (const concepts::ElementPairList< F > &sElemPairs, const Space< F > &vSpace1, const Space< F > &vSpace2)
 Constructor. More...
 
Scannerscan () const
 Returns a scanner over the list of ElementPairs. More...
 

Private Member Functions

void constructor_ (const concepts::ElementPairList< F > &sElemPairs, const Space< F > &vSpace1, const Space< F > &vSpace2)
 

Private Attributes

concepts::Joiner< ElementPair< F > *, 1 > * elmPairs_
 List of ElementPairs. More...
 
const bool remove_
 

Detailed Description

template<class F>
class vectorial::ElementPairListIdentic< F >

Element pair list for two vectorial spaces V1 and V2.

V1 must consist of identic scalar spaces S1 in each vectorial dimension, V2 must consist of identic scalar spaces S2 in each vectorial dimension. The respective scalar element pair is added d1*d2 times to the vectorial element pair, where d1 is the vectorial dimension of V1 and d2 is the vectorial dimension of V2. The scalar element pairs are needed in the scalar bilinear forms building the vectorial bilinear form. In the general case of d1*d2 different scalar spaces, the vectorial element pair would have to know the relations of d1 different elements from S1 to d2 different elements on the right, i. e. d1*d2 different element pairs. For the sake of generality, d1*d2 scalar element pairs are added also in the case of identic scalar spaces.

Author
Christoph Winkelmann, 2003

Definition at line 29 of file elementPairListIdentic.hh.

Member Typedef Documentation

◆ Scanner

template<typename F >
typedef concepts::Scan<ElementPair<F> > concepts::ElementPairList< F >::Scanner
inherited

Definition at line 43 of file elementPairs.hh.

Constructor & Destructor Documentation

◆ ElementPairListIdentic() [1/2]

template<class F >
vectorial::ElementPairListIdentic< F >::ElementPairListIdentic ( const concepts::ElementPairList< F > &  sElemPairs,
const Space< F > &  vSpace1,
const Space< F > &  vSpace2 
)
inline

Constructor.

Scans sElemPairs and adds to the ElementPairList represented by this class one vectorial::ElementPair for each scalar ElementPair in sElemPairs. The vectorial::Elements needed for construction of the vectorial::ElementPair are found in vSpace1 and vSpace2.

Definition at line 37 of file elementPairListIdentic.hh.

◆ ElementPairListIdentic() [2/2]

template<class F >
vectorial::ElementPairListIdentic< F >::ElementPairListIdentic ( const concepts::ElementPairList< F > &  sElemPairs,
const Space< F > &  vSpace 
)
inline

Constructor for two identic vectorial spaces.

Scans sElemPairs and adds to the ElementPairList represented by this class one vectorial::ElementPair for each scalar ElementPair in sElemPairs. Both vectorial::Elements needed for construction of the vectorial::ElementPair are found in vSpace.

Definition at line 47 of file elementPairListIdentic.hh.

Member Function Documentation

◆ add()

template<typename F >
void concepts::ElementPairList< F >::add ( ElementPair< F > *  elmPair)
inlineinherited

Adds the new ElementPair to the beginning of the list.

This class takes care of removing elmPair at the end.

Definition at line 63 of file elementPairs.hh.

◆ constructor_()

template<class F >
void vectorial::ElementPairListIdentic< F >::constructor_ ( const concepts::ElementPairList< F > &  sElemPairs,
const Space< F > &  vSpace1,
const Space< F > &  vSpace2 
)
private

◆ scan()

template<typename F >
Scanner* concepts::ElementPairList< F >::scan ( ) const
inlineinherited

Returns a scanner over the list of ElementPairs.

Definition at line 68 of file elementPairs.hh.

Member Data Documentation

◆ elmPairs_

template<typename F >
concepts::Joiner<ElementPair<F>*, 1>* concepts::ElementPairList< F >::elmPairs_
privateinherited

List of ElementPairs.

Definition at line 72 of file elementPairs.hh.

◆ remove_

template<typename F >
const bool concepts::ElementPairList< F >::remove_
privateinherited

Definition at line 74 of file elementPairs.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