|
FreePOOMA
2.4.1
|
Relation0 is a template used to construct relations, such as boundary conditions, that do not depend on additional fields. More...
#include <Relations.h>


Public Member Functions | |
| Relation0 (const Target &t, const RelationFunctor &f) | |
| ~Relation0 () | |
| void | apply () |
| virtual RelationListItem * | retarget (const Target &target) const |
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.
| Relation0< Target, RelationFunctor >::Relation0 | ( | const Target & | t, |
| const RelationFunctor & | f | ||
| ) | [inline] |
| Relation0< Target, RelationFunctor >::~Relation0 | ( | ) | [inline] |
| void Relation0< Target, RelationFunctor >::apply | ( | ) | [inline, virtual] |
Implements RelationListItem.
References RelationBase< Target, RelationFunctor >::functor_m, and RelationRetargetBase< Target >::target_m.
| virtual RelationListItem* Relation0< Target, RelationFunctor >::retarget | ( | const Target & | target | ) | const [inline, virtual] |
Implements RelationRetargetBase< Target >.
References RelationBase< Target, RelationFunctor >::functor_m, and RelationRetargetBase< Target >::target().
1.7.6.1