[Gmsh] gmsh edits for Visual Studio 2010

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Oct 21 22:55:17 CEST 2014


Nigel - Thanks; these should now be fixed in SVN.

> On 21 Oct 2014, at 01:09, Nigel Nunn <nnnunnn at gmail.com> wrote:
> 
> Hi Gmsh,
> 
> A few adjustments to help Visual Studio 2010 compile svn version:
> 
> Files: /Numeric/MetricBasis.cpp, JacobianBasis.cpp
> 
> "std::sqrt (integer);"
> 
> std::sqrt(2) -> std::sqrt(2.)
> std::sqrt(3) -> std::sqrt(3.)
> std::sqrt(6) -> std::sqrt(6.)
> 
> 
> File: /Mesh/meshGRegion.cpp (line 907)
> 
> //std::set<MEdge          >::iterator ite =  edges.begin(); // old
>   std::set<MEdge,Less_Edge>::iterator ite =  edges.begin(); // new
> 
> 
> File: /Mesh/meshGFaceBDS.cpp (line)
> 
> //std::map<MEdge, MVertex *           >::iterator it = _middle.find(E);  // old
>   std::map<MEdge, MVertex *, Less_Edge>::iterator it = _middle.find(E);  // new
> 
> 
> many thanks!
> Nigel
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine