00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef SETCPROPSFUNCTOR_H
00014 #define SETCPROPSFUNCTOR_H
00015 #include "../fem/definitions.h"
00016
00017 #include <functional>
00018
00019
00020 namespace fragment {
00021 class SetCPropsFunctor;
00022 class CElement;
00023 }
00024
00025
00026 class fragment::SetCPropsFunctor :
00027 public std::unary_function<fragment::CElement *, void > {
00028 public:
00029 SetCPropsFunctor(const unsigned materialType=0):_materialType(materialType){}
00030 ~SetCPropsFunctor(){}
00031
00032 void operator()(fragment::CElement *celement) const;
00033
00034 private:
00035 const unsigned _materialType;
00036 };
00037
00038 #endif