Salome HOME
Copyright update 2020
[modules/smesh.git] / src / StdMeshers_I / StdMeshers_Adaptive1D_i.cxx
index bcf6cc5ac5a7c8c6b160c5bad976631a245f3ae5..e5dffa298f036ab9b6b380ce9bdc34dbbedcfa1b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2020  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 //=======================================================================
 
 StdMeshers_Adaptive1D_i::StdMeshers_Adaptive1D_i( PortableServer::POA_ptr thePOA,
-                                                  int                     theStudyId,
                                                   ::SMESH_Gen*            theGenImpl )
   : SALOME::GenericObj_i( thePOA ), 
     SMESH_Hypothesis_i( thePOA )
 {
   myBaseImpl = new ::StdMeshers_Adaptive1D( theGenImpl->GetANewId(),
-                                            theStudyId,
                                             theGenImpl );
 }
 
@@ -56,7 +54,6 @@ StdMeshers_Adaptive1D_i::StdMeshers_Adaptive1D_i( PortableServer::POA_ptr thePOA
 
 StdMeshers_Adaptive1D_i::~StdMeshers_Adaptive1D_i()
 {
-  MESSAGE( "StdMeshers_Adaptive1D_i::~StdMeshers_Adaptive1D_i" );
 }
 
 //=======================================================================
@@ -152,37 +149,6 @@ CORBA::Double StdMeshers_Adaptive1D_i::GetDeflection()
   return this->GetImpl()->GetDeflection();
 }
 
-//=======================================================================
-//function : SetGrading
-//purpose  : Sets how much size of adjacent elements can differ.
-//=======================================================================
-
-void StdMeshers_Adaptive1D_i::SetGrading( CORBA::Double theValue )
-  throw ( SALOME::SALOME_Exception )
-{
-  ASSERT( myBaseImpl );
-  try {
-    this->GetImpl()->SetGrading( theValue );
-  }
-  catch ( SALOME_Exception& S_ex ) {
-    THROW_SALOME_CORBA_EXCEPTION( S_ex.what(), SALOME::BAD_PARAM );
-  }
-
-  // Update Python script
-  SMESH::TPythonDump() << _this() << ".SetGrading( " << SMESH::TVar(theValue) << " )";
-}
-
-//=======================================================================
-//function : GetGrading
-//purpose  : Returns grading
-//=======================================================================
-
-CORBA::Double StdMeshers_Adaptive1D_i::GetGrading()
-{
-  ASSERT( myBaseImpl );
-  return this->GetImpl()->GetGrading();
-}
-
 //=======================================================================
 //function : GetImpl
 //purpose  : Get implementation