Relation0< Target, RelationFunctor > Class Template Reference

Relation0 is a template used to construct relations, such as boundary conditions, that do not depend on additional fields. More...

#include <Relations.h>

Inheritance diagram for Relation0< Target, RelationFunctor >:

Inheritance graph
[legend]
Collaboration diagram for Relation0< Target, RelationFunctor >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Relation0 (const Target &t, const RelationFunctor &f)
 ~Relation0 ()
void apply ()
virtual RelationListItemretarget (const Target &target) const


Detailed Description

template<class Target, class RelationFunctor>
class Relation0< Target, RelationFunctor >

Relation0 is a template used to construct relations, such as boundary conditions, that do not depend on additional fields.

The Target must be a Field. The RelationFunctor must be Default Constructable and Assignable. In addition, it must provide the constructor

template<class L> RelationFunctor(const L &, const RelationFunctor &)

and the member function

template<class L> void operator()(const L &) const

where L is a Field. The constructor should use the arguments to initialize itself and the function should apply the relation.


Constructor & Destructor Documentation

template<class Target, class RelationFunctor>
Relation0< Target, RelationFunctor >::Relation0 ( const Target &  t,
const RelationFunctor &  f 
) [inline]

template<class Target, class RelationFunctor>
Relation0< Target, RelationFunctor >::~Relation0 (  )  [inline]


Member Function Documentation

template<class Target, class RelationFunctor>
void Relation0< Target, RelationFunctor >::apply (  )  [inline, virtual]

template<class Target, class RelationFunctor>
virtual RelationListItem* Relation0< Target, RelationFunctor >::retarget ( const Target &  target  )  const [inline, virtual]


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

Generated on Wed Mar 16 06:20:31 2011 for FreePOOMA by  doxygen 1.5.9