static void addElemInMeshGroup(SMESH_Mesh* theMesh,
const SMDS_MeshElement* anElem,
std::string& groupName,
- std::set<std::string>& groupsToRemove)
+ std::set<std::string>& /*groupsToRemove*/)
{
if ( !anElem ) return; // issue 0021776
SMESH_MesherHelper* theHelper,
std::vector <const SMDS_MeshNode*> & theNodeByHybridId,
std::vector <const SMDS_MeshElement*> & theFaceByHybridId,
- std::map<const SMDS_MeshNode*,int> & theNodeToHybridIdMap,
+ std::map<const SMDS_MeshNode*,int> & /*theNodeToHybridIdMap*/,
std::vector<std::string> & aNodeGroupByHybridId,
std::vector<std::string> & anEdgeGroupByHybridId,
std::vector<std::string> & aFaceGroupByHybridId,
*/
void ProcessEvent(const int event,
const int eventType,
- SMESH_subMesh* subMesh,
+ SMESH_subMesh* /*subMesh*/,
SMESH_subMeshEventListenerData* data,
- const SMESH_Hypothesis* hyp)
+ const SMESH_Hypothesis* /*hyp*/)
{
if ( SMESH_subMesh::SUBMESH_LOADED == event &&
SMESH_subMesh::COMPUTE_EVENT == eventType &&
/*!
* \brief Treat events of the subMesh
*/
- void ProcessEvent(const int event,
+ void ProcessEvent(const int /*event*/,
const int eventType,
SMESH_subMesh* subMesh,
- SMESH_subMeshEventListenerData* data,
- const SMESH_Hypothesis* hyp)
+ SMESH_subMeshEventListenerData* /*data*/,
+ const SMESH_Hypothesis* /*hyp*/)
{
if (SMESH_subMesh::ALGO_EVENT == eventType &&
!subMesh->GetAlgo() )
//function : GetLayersOnAllWrap
//=======================================================================
-bool HYBRIDPlugin_Hypothesis::GetLayersOnAllWrap(bool checkFreeOption) const
+bool HYBRIDPlugin_Hypothesis::GetLayersOnAllWrap(bool /*checkFreeOption*/) const
{
return myLayersOnAllWrap;
}
/*!
* \brief OBSOLETE FUNCTION - Adds enforced elements of type elementType using another mesh/sub-mesh/mesh group theSource and a size. The elements will be grouped in theGroupName.
*/
-bool HYBRIDPlugin_Hypothesis_i::SetEnforcedMeshSizeWithGroup(SMESH::SMESH_IDSource_ptr theSource, SMESH::ElementType theType, double theSize, const char* theGroupName)
+bool HYBRIDPlugin_Hypothesis_i::SetEnforcedMeshSizeWithGroup(SMESH::SMESH_IDSource_ptr theSource, SMESH::ElementType theType, double /*theSize*/, const char* theGroupName)
{
// #if HYBRID_VERSION >= 42
return p_SetEnforcedMesh(theSource, theType, "", theGroupName);
/*!
* \brief OBSOLETE FUNCTION - Adds enforced elements of type elementType using another mesh/sub-mesh/mesh group theSource and a size.
*/
-bool HYBRIDPlugin_Hypothesis_i::SetEnforcedMeshSize(SMESH::SMESH_IDSource_ptr theSource, SMESH::ElementType theType, double theSize)
+bool HYBRIDPlugin_Hypothesis_i::SetEnforcedMeshSize(SMESH::SMESH_IDSource_ptr theSource, SMESH::ElementType theType, double /*theSize*/)
{
// #if HYBRID_VERSION >= 42
return p_SetEnforcedMesh(theSource, theType);
bool SetEnforcedMeshWithGroup(SMESH::SMESH_IDSource_ptr theSource, SMESH::ElementType elementType, const char* theGroupName) ;
/* OBSOLETE FUNCTIONS */
- bool SetEnforcedMeshSize(SMESH::SMESH_IDSource_ptr theSource, SMESH::ElementType elementType, double size) ;
- bool SetEnforcedMeshSizeWithGroup(SMESH::SMESH_IDSource_ptr theSource, SMESH::ElementType elementType, double size, const char* theGroupName) ;
+ bool SetEnforcedMeshSize(SMESH::SMESH_IDSource_ptr theSource, SMESH::ElementType elementType, double /*size*/) ;
+ bool SetEnforcedMeshSizeWithGroup(SMESH::SMESH_IDSource_ptr theSource, SMESH::ElementType elementType, double /*size*/, const char* theGroupName) ;
/* OBSOLETE FUNCTIONS */
HYBRIDPlugin::HYBRIDEnforcedMeshList* GetEnforcedMeshes();
CORBA::Boolean IsDimSupported( SMESH::Dimension type );
// Methods for copying mesh definition to other geometry
- virtual bool getObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) const { return false; }
- virtual bool setObjectsDependOn( std::vector< std::string > & entryArray,
- std::vector< int > & subIDArray ) { return true; }
+ virtual bool getObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) const { return false; }
+ virtual bool setObjectsDependOn( std::vector< std::string > & /*entryArray*/,
+ std::vector< int > & /*subIDArray*/ ) { return true; }
};
#endif
// Hypothesis
else if (strcmp(aHypName, "HYBRID_Parameters") == 0)
aCreator = new HYBRIDPlugin_Creator_i<HYBRIDPlugin_Hypothesis_i>;
- else ;
+ /*else ;*/
return aCreator;
}
*/
//================================================================================
-void MG_HYBRID_API::GmfGetLin( int iMesh, GmfKwdCod what, int* nbNodes, int* faceInd, int* ori, int* domain, int dummy )
+void MG_HYBRID_API::GmfGetLin( int iMesh, GmfKwdCod what, int* nbNodes, int* faceInd, int* ori, int* domain, int /*dummy*/ )
{
if ( _useLib ) {
#ifdef USE_MG_LIBS
int GmfOpenMesh(const char* theFile, int rdOrWr, int * ver, int * dim);
int GmfStatKwd( int iMesh, GmfKwdCod what );
void GmfGotoKwd( int iMesh, GmfKwdCod what );
- void GmfGetLin( int iMesh, GmfKwdCod what, int* nbNodes, int* faceInd, int* ori, int* domain, int dummy );
+ void GmfGetLin( int iMesh, GmfKwdCod what, int* nbNodes, int* faceInd, int* ori, int* domain, int /*dummy*/ );
void GmfGetLin(int iMesh, GmfKwdCod what, float* x, float* y, float *z, int* domain );
void GmfGetLin(int iMesh, GmfKwdCod what, double* x, double* y, double *z, int* domain );
void GmfGetLin(int iMesh, GmfKwdCod what, int* node );