vtf-logo

shells/fem/sedgeCompare.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 SEDGECOMPARE_H
00014 #define SEDGECOMPARE_H
00015 #include <functional>
00016 
00017 
00018 namespace shells {
00019     struct SEdgeS;
00020 
00021     // Comparisson functor for two edges
00022     struct SEdgeCompare : 
00023         public std::binary_function<shells::SEdgeS*, shells::SEdgeS*, bool> 
00024     {
00025         bool operator()(shells::SEdgeS *e1, shells::SEdgeS *e2);
00026     };
00027 
00028 
00029     
00030     struct SEdgeWithTwoElements :
00031         public std::unary_function<shells::SEdgeS*, bool>
00032     {
00033         // if edge has two elements attached return true, else false 
00034         bool operator()(shells::SEdgeS *edge) const;
00035     };
00036 }
00037 #endif

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