Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Protected Member Functions | Private Attributes
constraints::Space< F > Class Template Reference

Space of constraints. More...

#include <space.hh>

Inheritance diagram for constraints::Space< F >:
Inheritance graph
[legend]
Collaboration diagram for constraints::Space< F >:
Collaboration graph
[legend]

List of all members.

Public Types

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

Public Member Functions

virtual uint dim () const
 Returns the dimension of the space.
const
concepts::ElementPairList< F > & 
elmPairList ()
 Returns a list of element pairs needed for matrix assembly.
virtual uint nelm () const
 Returns the number of elements in the space.
void rebuild ()
 Rebuilds the space.
virtual Scanscan () const
 Returns a scanner to iterate over the elements of the space.
 Space (concepts::Space< F > &spc, ConstraintsList< F > &constr)
 Constructor.
virtual ~Space ()

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Private Attributes

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

Detailed Description

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

Space of constraints.

Author:
Philipp Frauenfelder, 2002

Definition at line 34 of file space.hh.


Member Typedef Documentation

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

Definition at line 43 of file space.hh.

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

Constructor & Destructor Documentation

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

Constructor.

Parameters:
spcComputational space
constrList of constraints
template<class F >
virtual constraints::Space< F >::~Space ( ) [virtual]

Member Function Documentation

template<class F >
virtual uint constraints::Space< F >::dim ( ) const [inline, virtual]

Returns the dimension of the space.

Implements concepts::Space< F >.

Definition at line 45 of file space.hh.

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 53 of file space.hh.

template<class F >
virtual std::ostream& constraints::Space< F >::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::Space< F >.

template<class F >
virtual uint constraints::Space< F >::nelm ( ) const [inline, virtual]

Returns the number of elements in the space.

Implements concepts::Space< F >.

Definition at line 46 of file space.hh.

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

Rebuilds the space.

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

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

Computational space.

Definition at line 65 of file space.hh.

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

List of constraints.

Definition at line 68 of file space.hh.

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

Dimension of the space.

Definition at line 58 of file space.hh.

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

Linear list of elements.

Definition at line 62 of file space.hh.

template<class F >
std::auto_ptr<concepts::ElementPairList<F> > constraints::Space< F >::elmPairList_ [private]

List of element pairs to be used in matrix assembly.

Definition at line 71 of file space.hh.

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

Number of elements in the space.

Definition at line 60 of file space.hh.


The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)