diff --git a/Geo/Curvature.cpp b/Geo/Curvature.cpp index 6a9b25fd9202b2ca77ff7aa7fdc032f2bb495ae2..b09042e08e50ea4fd6da50fe0ea73a1391f9c832 100644 --- a/Geo/Curvature.cpp +++ b/Geo/Curvature.cpp @@ -1487,7 +1487,8 @@ void Curvature::writeToMshFile(const std::string &filename) lc = 2.0*M_PI/( fabs(_VertexCurve[vertex_iterator->second]) * CTX::instance()->mesh.minCircPoints ); lc = std::max(lc, CTX::instance()->mesh.lcMin); lc = std::min(lc, CTX::instance()->mesh.lcMax); - outfile << vertex_iterator->first << " " << 1.0/(lc*lc) << std::endl; + //outfile << vertex_iterator->first << " " << 1.0/(lc*lc) << std::endl; + outfile << vertex_iterator->first << " " << lc << std::endl; } outfile << "$EndNodeData" << std::endl; @@ -1724,7 +1725,8 @@ void Curvature::writeToVtkFile( const std::string & filename) lc = 2.0*M_PI / ( fabs(_VertexCurve[iv]) * CTX::instance()->mesh.minCircPoints ); lc = std::max(lc, CTX::instance()->mesh.lcMin); lc = std::min(lc, CTX::instance()->mesh.lcMax); - outfile << 1.0/(lc*lc) << std::endl; + //outfile << 1.0/(lc*lc) << std::endl; + outfile << lc << std::endl; } outfile << "VECTORS CurvatureDir1 float" << std::endl;