X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FStdMeshers_I%2FStdMeshers_Adaptive1D_i.cxx;fp=src%2FStdMeshers_I%2FStdMeshers_Adaptive1D_i.cxx;h=c6d82b9c11e41d0fe96fc171f40bc2de96dc1637;hb=a6c877f633bb393705e79b264adfdda5164ad8b1;hp=bcf6cc5ac5a7c8c6b160c5bad976631a245f3ae5;hpb=b5a71c53edb650e64139c16cd03a276d7fc54f1c;p=modules%2Fsmesh.git diff --git a/src/StdMeshers_I/StdMeshers_Adaptive1D_i.cxx b/src/StdMeshers_I/StdMeshers_Adaptive1D_i.cxx index bcf6cc5ac..c6d82b9c1 100644 --- a/src/StdMeshers_I/StdMeshers_Adaptive1D_i.cxx +++ b/src/StdMeshers_I/StdMeshers_Adaptive1D_i.cxx @@ -152,37 +152,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