vtf-logo

shells/fragmentation/SetCPropsFunctor.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 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

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