[Gmsh] gmsh edits for Visual Studio 2010

Nigel Nunn nnnunnn at gmail.com
Tue Oct 21 01:09:37 CEST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20141021/262ece86/attachment.html>