00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef SETSPROPSFUNCTOR_H
00014 #define SETSPROPSFUNCTOR_H
00015 #include "../fem/definitions.h"
00016
00017 #include <functional>
00018
00019
00020 namespace shells {
00021 class SetSPropsFunctor;
00022 struct SElementS;
00023 }
00024
00025
00026 class shells::SetSPropsFunctor :
00027 public std::unary_function<shells::SElementS *, void> {
00028 public:
00029 SetSPropsFunctor(const unsigned& materialType=0, const unsigned& numSurf=1,
00030 const unsigned& numThick=3):
00031 _materialType(materialType),_numSurf(numSurf), _numThick(numThick){}
00032 ~SetSPropsFunctor(){}
00033
00034 void operator()(shells::SElementS * const element) const;
00035
00036 private:
00037 const unsigned& _materialType;
00038 const unsigned& _numSurf;
00039 const unsigned& _numThick;
00040 };
00041
00042 #endif