Space of constraints. More...

#include <space.hh>

Inheritance diagram for constraints::Space< F >:
concepts::Space< F >

Public Types

typedef concepts::Scan< Element< F > > Scan
 
typedef Scan< Element< F > > Scanner
 
typedef Element< F > type
 

Public Member Functions

virtual uint dim () const
 Returns the dimension of the space. More...
 
const concepts::ElementPairList< F > & elmPairList ()
 Returns a list of element pairs needed for matrix assembly. More...
 
virtual uint getOutputDimension () const
 Returns the default output dimension, when we consider plotting a real-valued operator on this space. More...
 
virtual uint nelm () const
 Returns the number of elements in the space. More...
 
void rebuild ()
 Rebuilds the space. More...
 
virtual Scanscan () const
 Returns a scanner to iterate over the elements of the space. More...
 
 Space (concepts::Space< F > &spc, ConstraintsList< F > &constr)
 Constructor. More...
 
virtual ~Space ()
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 

Private Attributes

concepts::Space< F > & compSpc_
 Computational space. More...
 
ConstraintsList< F > & constr_
 List of constraints. More...
 
uint dim_
 Dimension of the space. More...
 
concepts::Joiner< Element< F > *, 1 > * elm_
 Linear list of elements. More...
 
std::unique_ptr< concepts::ElementPairList< F > > elmPairList_
 List of element pairs to be used in matrix assembly. More...
 
uint nelm_
 Number of elements in the space. More...
 

Detailed Description

template<class F>
class constraints::Space< F >

Space of constraints.

Author
Philipp Frauenfelder, 2002

Definition at line 37 of file space.hh.

Member Typedef Documentation

◆ Scan

template<class F >
typedef concepts::Scan<Element<F> > constraints::Space< F >::Scan

Definition at line 46 of file space.hh.

◆ Scanner

template<class F >
typedef Scan<Element<F> > concepts::Space< F >::Scanner
inherited

Definition at line 47 of file space.hh.

◆ type

template<class F >
typedef Element<F> concepts::Space< F >::type
inherited

Definition at line 46 of file space.hh.

Constructor & Destructor Documentation

◆ Space()

template<class F >
constraints::Space< F >::Space ( concepts::Space< F > &  spc,
ConstraintsList< F > &  constr 
)

Constructor.

Parameters
spcComputational space
constrList of constraints

◆ ~Space()

template<class F >
virtual constraints::Space< F >::~Space ( )
virtual

Member Function Documentation

◆ dim()

template<class F >
virtual uint constraints::Space< F >::dim ( ) const
inlinevirtual

Returns the dimension of the space.

Implements concepts::Space< F >.

Definition at line 48 of file space.hh.

◆ elmPairList()

template<class F >
const concepts::ElementPairList<F>& constraints::Space< F >::elmPairList ( )
inline

Returns a list of element pairs needed for matrix assembly.

Definition at line 56 of file space.hh.

◆ getOutputDimension()

template<class F >
virtual uint concepts::Space< F >::getOutputDimension ( ) const
inlinevirtualinherited

Returns the default output dimension, when we consider plotting a real-valued operator on this space.

Definition at line 50 of file space.hh.

◆ info()

template<class F >
virtual std::ostream& constraints::Space< F >::info ( std::ostream &  os) const
protectedvirtual

Reimplemented from concepts::Space< F >.

◆ nelm()

template<class F >
virtual uint constraints::Space< F >::nelm ( ) const
inlinevirtual

Returns the number of elements in the space.

Implements concepts::Space< F >.

Definition at line 49 of file space.hh.

◆ rebuild()

template<class F >
void constraints::Space< F >::rebuild ( )

Rebuilds the space.

◆ scan()

template<class F >
virtual Scan* constraints::Space< F >::scan ( ) const
virtual

Returns a scanner to iterate over the elements of the space.

Implements concepts::Space< F >.

Member Data Documentation

◆ compSpc_

template<class F >
concepts::Space<F>& constraints::Space< F >::compSpc_
private

Computational space.

Definition at line 68 of file space.hh.

◆ constr_

template<class F >
ConstraintsList<F>& constraints::Space< F >::constr_
private

List of constraints.

Definition at line 71 of file space.hh.

◆ dim_

template<class F >
uint constraints::Space< F >::dim_
private

Dimension of the space.

Definition at line 61 of file space.hh.

◆ elm_

template<class F >
concepts::Joiner<Element<F>*, 1>* constraints::Space< F >::elm_
private

Linear list of elements.

Definition at line 65 of file space.hh.

◆ elmPairList_

template<class F >
std::unique_ptr<concepts::ElementPairList<F> > constraints::Space< F >::elmPairList_
private

List of element pairs to be used in matrix assembly.

Definition at line 74 of file space.hh.

◆ nelm_

template<class F >
uint constraints::Space< F >::nelm_
private

Number of elements in the space.

Definition at line 63 of file space.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