vtf-logo

shells/driverCC/SetSPropsFunctor.h

Go to the documentation of this file.
00001 // -*- C++ -*- 
00002 //
00003 // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
00004 //
00005 //                                   Fehmi Cirak
00006 //                        California Institute of Technology
00007 //                           (C) 2004 All Rights Reserved
00008 //
00009 // <LicenseText>
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;    // material type according to adlib materials
00038     const unsigned&     _numSurf;         // number of integration points over surface
00039     const unsigned&     _numThick;        // number of integration points over thickness
00040 };
00041 
00042 #endif

Generated on Fri Aug 24 13:00:24 2007 for SFC Thin-Shell Finite Element Solver by  doxygen 1.4.7