minor changes on defaults parameters

This commit is contained in:
Nico Pietroni 2016-06-09 12:13:11 +00:00
parent e7e785b3cb
commit aeffdc1090
1 changed files with 8 additions and 8 deletions

View File

@ -691,13 +691,13 @@ public:
///initialize the matrix ALLOCATING SPACE ///initialize the matrix ALLOCATING SPACE
InitMatrix(); InitMatrix();
if (use_direction_field) // if (use_direction_field)
{ // {
bool CrossDir0 = tri::HasPerFaceAttribute(mesh,"CrossDir0"); // bool CrossDir0 = tri::HasPerFaceAttribute(mesh,"CrossDir0");
bool CrossDir1 = tri::HasPerFaceAttribute(mesh,"CrossDir1"); // bool CrossDir1 = tri::HasPerFaceAttribute(mesh,"CrossDir1");
assert(CrossDir0); // assert(CrossDir0);
assert(CrossDir1); // assert(CrossDir1);
} // }
///build the laplacian system ///build the laplacian system
BuildLaplacianMatrix(fieldScale); BuildLaplacianMatrix(fieldScale);
@ -725,7 +725,7 @@ public:
printf("\n ASSIGNING COORDS \n"); printf("\n ASSIGNING COORDS \n");
} }
MapCoords(true,fieldScale); MapCoords(false,fieldScale);
if (_write_messages) if (_write_messages)
{ {
t3=clock(); t3=clock();