int IsVertexRequired( int iNode )
{
- return ! ( iNode < int( _xyz.size() - _nodeSize.size() ));
+ return ! ( iNode < int( NbNodes() - _nodeSize.size() ));
}
double GetSizeAtVertex( int iNode )
{
- return IsVertexRequired( iNode ) ? _nodeSize[ iNode - _xyz.size() + _nodeSize.size() ] : 0.;
+ return IsVertexRequired( iNode ) ? _nodeSize[ iNode - NbNodes() + _nodeSize.size() ] : 0.;
}
};
}
// compute
- return _libData->Compute( outFile );
+ bool ok = _libData->Compute( outFile );
+
+ GetLog(); // write a log file
+ _logFile = ""; // not to write it again
+
+ return ok;
#endif
}
// errStr = SMESH_Comment("system(mg-tetra.exe ...) command failed with error: ")
// << strerror( errno );
- // GetLog(); // write a log file
- // _logFile = ""; // not to write it again
-
return false;
}