From c0e60da6689b8bfb6d0596cae1cf90c6e1a7d0b5 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 19 Feb 2007 15:52:32 +0000 Subject: [PATCH] PAL13639 (EDF PAL 317 : SMESH : Create "0D Hypothesis") add 0D algo --- src/SMESH/SMESH_Hypothesis.cxx | 12 ------------ src/SMESH/SMESH_Hypothesis.hxx | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/SMESH/SMESH_Hypothesis.cxx b/src/SMESH/SMESH_Hypothesis.cxx index cc179d31c..4650472ca 100644 --- a/src/SMESH/SMESH_Hypothesis.cxx +++ b/src/SMESH/SMESH_Hypothesis.cxx @@ -126,14 +126,6 @@ void SMESH_Hypothesis::NotifySubMeshesHypothesisModification() { SMESH_Mesh* mesh = (*itm).second; mesh->NotifySubMeshesHypothesisModification( this ); -// const list& subMeshes = -// mesh->GetSubMeshUsingHypothesis(this); - -// //for all subMeshes using hypothesis - -// list::const_iterator its; -// for (its = subMeshes.begin(); its != subMeshes.end(); its++) -// (*its)->ComputeStateEngine(SMESH_subMesh::MODIF_HYP); } } @@ -145,9 +137,6 @@ void SMESH_Hypothesis::NotifySubMeshesHypothesisModification() const char* SMESH_Hypothesis::GetLibName() const { -// MESSAGE("SMESHDS_Hypothesis::GetLibName"); -// SCRUTE(_LibName); -// SCRUTE(&_LibName); return _libName.c_str(); } @@ -159,6 +148,5 @@ const char* SMESH_Hypothesis::GetLibName() const void SMESH_Hypothesis::SetLibName(const char* theLibName) { -// MESSAGE("SMESHDS_Hypothesis::SetLibName"); _libName = string(theLibName); } diff --git a/src/SMESH/SMESH_Hypothesis.hxx b/src/SMESH/SMESH_Hypothesis.hxx index 8760b1883..1b7146371 100644 --- a/src/SMESH/SMESH_Hypothesis.hxx +++ b/src/SMESH/SMESH_Hypothesis.hxx @@ -84,7 +84,7 @@ public: * dimention can be assigned to the shape */ virtual bool IsAuxiliary() const - { return GetType() == PARAM_ALGO && _param_algo_dim <= 0; } + { return GetType() == PARAM_ALGO && _param_algo_dim < 0; } protected: SMESH_Gen* _gen;