Skip to content
Snippets Groups Projects
Commit c7d7dd62 authored by Emilie Marchandise's avatar Emilie Marchandise
Browse files

No commit message

No commit message
parent cafdd9d5
No related branches found
No related tags found
No related merge requests found
......@@ -12,8 +12,7 @@
#include<map>
#include<vector>
class Curvature
{
class Curvature {
private:
//-----------------------------------------
......
......@@ -245,6 +245,7 @@ SPoint2 GEdge::reparamOnFace(const GFace *face, double epar,int dir) const
double GEdge::curvature(double par) const
{
printf("in curv edge \n");
SVector3 d1 = firstDer(par);
SVector3 d2 = secondDer(par);
......
......@@ -687,6 +687,7 @@ double GFace::curvatureMax(const SPoint2 &param) const
double GFace::curvatures(const SPoint2 &param, SVector3 *dirMax, SVector3 *dirMin,
double *curvMax, double *curvMin) const
{
printf("in curv face \n");
Pair<SVector3, SVector3> D1 = firstDer(param);
if(geomType() == Plane){
......
......@@ -681,9 +681,9 @@ bool GFaceCompound::parametrize() const
_rbf->solveHarmonicMap(Oper, _ordered, _coords, coordinates);
//_rbf->computeCurvature(coordinates);
//printStuff();
//exit(1);
//printStuff();
}
buildOct();
......@@ -1585,7 +1585,7 @@ void GFaceCompound::secondDer(const SPoint2 &param,
{
if(!oct) parametrize();
Msg::Debug("Computation of the second derivatives is not implemented for compound faces");
Msg::Fatal("Computation of the second derivatives is not implemented for compound faces");
}
......
......@@ -30,9 +30,9 @@ myModel.computeBooleanDifference(myModel2);
myModel.setAsCurrent();
myModel.mesh(3);
myModel.save("wikipedia.msh");
#myModel.mesh(3);
#myModel.save("wikipedia.msh");
myModel.save("wikipedia.brep");
#FlGui.instance();
#FlGui.run();
FlGui.instance();
FlGui.run();
Mesh.CharacteristicLengthFactor = 0.6;
Mesh.CharacteristicLengthFromCurvature = 1; //-clcurv
Mesh.CharacteristicLengthMin = 0.1; //-clmin
Mesh.CharacteristicLengthMin = 0.01; //-clmin
Mesh.CharacteristicLengthMax = 2.5; //-clmax
Mesh.LcIntegrationPrecision=1.e-5; //-epslc1d
Mesh.MinimumCirclePoints=15; //default=7
Mesh.CharacteristicLengthExtendFromBoundary = 0;
Mesh.CharacteristicLengthFromPoints = 0;
lc = 0.1;
Point(1) = {2.0,0.0,0.0,lc};
......
......@@ -2,7 +2,7 @@
// The following settings were copied from benchmarks/step/linkrods.geo
// ======================================================================
Mesh.Algorithm=6; //1=MeshAdapt, 5=Delaunay, 6=Frontal, 7=bamg
Mesh.Algorithm=7; //1=MeshAdapt, 5=Delaunay, 6=Frontal, 7=bamg
Mesh.RemeshParametrization= 1; //(0) harmonic (1) conformal
Mesh.RemeshAlgorithm = 1;
......@@ -17,8 +17,8 @@ Mesh.CharacteristicLengthExtendFromBoundary=0;
//Merge "TorusRemeshedBAMG.stl";
//Merge "SimpleTorus.msh";
Merge "TorusInput.stl";
//Merge "occtorus.stl";
//Merge "TorusInput.stl";
Merge "occtorus.stl";
CreateTopology;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment