vtf-logo

shells/driverCC/DeadLoadFunctor.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 DEADLOADFUNCTOR_H
00014 #define DEADLOADFUNCTOR_H
00015 #include "../fem/definitions.h"
00016 
00017 #include <functional>
00018 
00019 
00020 namespace shells {
00021     struct SElementS;
00022     class ComputeDeadLoadFunctor;
00023 } 
00024 
00025 
00026 class shells::ComputeDeadLoadFunctor : 
00027     public std::unary_function<shells::SElementS *, void> {
00028 public:
00029     ComputeDeadLoadFunctor(const unsigned int& numSurf, 
00030                            const double loadVec[3]);
00031     
00032     void operator()(shells::SElementS  * const element);
00033     
00034 private:
00035     double        _xref[3][MAXVAL];
00036     double        _loadElem[3][MAXVAL];     
00037     
00038     const int     _numSurf;
00039     double        _loadVec[3];
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