Update Hexotic doc and remove some MESSAGE

This commit is contained in:
gdd 2011-09-06 14:40:22 +00:00
parent da6df0a559
commit 9116958a2b
3 changed files with 13 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

@ -26,6 +26,14 @@ Parameters by default).</li>
<li><b>Sharp angle threshold in degrees</b> - specifies the angle between two triangles above which the hex mesher will consider the edge common to these two triangles as being a "ridge". A ridge is a geometrical entity (a sharp edge) which has to be kept as it is in the final hex mesh.The default value is 60 (degrees).<br>If you raise this value, the hex mesher will detect less ridges, and the final solid mesh will therefore be smoother. On the other hand, if you reduce this value, more ridges will be detected and the algorithm will face harder situations to conform to. <li><b>Sharp angle threshold in degrees</b> - specifies the angle between two triangles above which the hex mesher will consider the edge common to these two triangles as being a "ridge". A ridge is a geometrical entity (a sharp edge) which has to be kept as it is in the final hex mesh.The default value is 60 (degrees).<br>If you raise this value, the hex mesher will detect less ridges, and the final solid mesh will therefore be smoother. On the other hand, if you reduce this value, more ridges will be detected and the algorithm will face harder situations to conform to.
</li> </li>
<li><b>Number of threads</b> - specifies the number of threads to be used (this should be the number of cores or processors of a shared memory parallel architecture).
</li>
<li><b>Working directory</b> - specifies the directory where the input/output files will be created.
</li>
</ul> </ul>
\note If BLSURF is used as 2D algo, and if a GMF file is defined as output file (using SetGMFFile(my2Dmesh.mesh)), then Hexotic will use this file as input.
This allows to avoid the reconstruction of the GMF file from the SMESH structure and can improve the global computation time.
*/ */

View File

@ -228,7 +228,7 @@ SMDS_MeshNode * SMDS_Mesh::AddNodeWithID(double x, double y, double z, int ID)
if (ID >= myNodes.size()) if (ID >= myNodes.size())
{ {
myNodes.resize(ID+SMDS_Mesh::chunkSize, 0); myNodes.resize(ID+SMDS_Mesh::chunkSize, 0);
MESSAGE(" ------------------ myNodes resize " << ID << " --> " << ID+SMDS_Mesh::chunkSize); // MESSAGE(" ------------------ myNodes resize " << ID << " --> " << ID+SMDS_Mesh::chunkSize);
} }
myNodes[ID] = node; myNodes[ID] = node;
myNodeIDFactory->BindID(ID,node); myNodeIDFactory->BindID(ID,node);
@ -1414,9 +1414,9 @@ const SMDS_MeshNode * SMDS_Mesh::FindNode(int ID) const
{ {
if (ID < 1 || ID >= myNodes.size()) if (ID < 1 || ID >= myNodes.size())
{ {
MESSAGE("------------------------------------------------------------------------- "); // MESSAGE("------------------------------------------------------------------------- ");
MESSAGE("----------------------------------- bad ID " << ID << " " << myNodes.size()); // MESSAGE("----------------------------------- bad ID " << ID << " " << myNodes.size());
MESSAGE("------------------------------------------------------------------------- "); // MESSAGE("------------------------------------------------------------------------- ");
return 0; return 0;
} }
return (const SMDS_MeshNode *)myNodes[ID]; return (const SMDS_MeshNode *)myNodes[ID];
@ -2872,7 +2872,7 @@ static set<const SMDS_MeshElement*> * getFinitElements(const SMDS_MeshElement *
i++; i++;
} }
set<const SMDS_MeshElement*> *retSet=intersectionOfSets(initSet, numberOfSets); set<const SMDS_MeshElement*> *retSet=intersectionOfSets(initSet, numberOfSets);
MESSAGE("nb elems " << i << " intersection " << retSet->size()); // MESSAGE("nb elems " << i << " intersection " << retSet->size());
delete [] initSet; delete [] initSet;
return retSet; return retSet;
} }