00001
00002
00008 #if !defined(__geom_mesh_simplicial_inc_opt_h__)
00009 #define __geom_mesh_simplicial_inc_opt_h__
00010
00011 #include "SimpMeshRed.h"
00012 #include "flip.h"
00013 #include "geometry.h"
00014
00015 #include "../../../ads/algorithm/min_max.h"
00016
00017 #include "../../../numerical/constants.h"
00018
00019 BEGIN_NAMESPACE_GEOM
00020
00022
00030 template<int N, typename T,
00031 template<class> class Node,
00032 template<class> class Cell,
00033 template<class,class> class Cont>
00034 int
00035 incidenceOptimize(SimpMeshRed<N,2,T,Node,Cell,Cont>* mesh,
00036 int norm,
00037 int numSweeps = 0);
00038
00039 END_NAMESPACE_GEOM
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049 #define __geom_mesh_simplicial_inc_opt_ipp__
00050 #include "inc_opt.ipp"
00051 #undef __geom_mesh_simplicial_inc_opt_ipp__
00052
00053 #endif