Version: 9.12.0
StdMeshers_Deflection1D_i Class Reference

#include <StdMeshers_Deflection1D_i.hxx>

Inheritance diagram for StdMeshers_Deflection1D_i:

Public Member Functions

 StdMeshers_Deflection1D_i (PortableServer::POA_ptr thePOA, ::SMESH_Gen *theGenImpl)
 StdMeshers_Deflection1D_i::StdMeshers_Deflection1D_i. More...
 
virtual ~StdMeshers_Deflection1D_i ()
 StdMeshers_Deflection1D_i::~StdMeshers_Deflection1D_i. More...
 
void SetDeflection (CORBA::Double theLength)
 StdMeshers_Deflection1D_i::SetDeflection. More...
 
CORBA::Double GetDeflection ()
 StdMeshers_Deflection1D_i::GetDeflection. More...
 
::StdMeshers_Deflection1DGetImpl ()
 StdMeshers_Deflection1D_i::GetImpl. More...
 
CORBA::Boolean IsDimSupported (SMESH::Dimension type)
 Verify whether hypothesis supports given entity type. More...
 
virtual bool getObjectsDependOn (std::vector< std::string > &, std::vector< int > &) const
 
virtual bool setObjectsDependOn (std::vector< std::string > &, std::vector< int > &)
 
virtual char * GetName ()
 SMESH_Hypothesis_i::GetName. More...
 
virtual char * GetLibName ()
 SMESH_Hypothesis_i::GetLibName. More...
 
void SetLibName (const char *theLibName)
 SMESH_Hypothesis_i::SetLibName. More...
 
virtual CORBA::Short GetId ()
 SMESH_Hypothesis_i::GetId. More...
 
virtual CORBA::Boolean HasParameters ()
 Return true if a hypothesis has parameters. More...
 
virtual void SetVarParameter (const char *parameter, const char *method)
 Set the pramIndex-th parameter. More...
 
virtual char * GetVarParameter (const char *methodName)
 Return the pramIndex-th variable parameter used for Hypothesis creation. More...
 
virtual void SetHolderHypothesis (const SMESH::SMESH_Hypothesis_ptr hyp)
 Store a hypothesis wrapping this not published one. More...
 
bool IsPublished ()
 SMESH_Hypothesis_i::IsPublished() More...
 
virtual char * SaveTo ()
 SMESH_Hypothesis_i::SaveTo. More...
 
virtual void LoadFrom (const char *theStream)
 SMESH_Hypothesis_i::LoadFrom. More...
 
virtual void UpdateAsMeshesRestored ()
 This mesthod is called after completion of loading a study. More...
 
virtual void setOldParameters (const char *theParameters)
 Restore myMethod2VarParams by parameters stored in an old study. More...
 
virtual int getParamIndex (const TCollection_AsciiString &, int) const
 

Protected Member Functions

virtual std::string getMethodOfParameter (const int paramIndex, int nbVars) const
 Return method name corresponding to index of variable parameter. More...
 

Protected Attributes

::SMESH_HypothesismyBaseImpl
 
SMESH::SMESH_Hypothesis_var myHolder
 
std::map< std::string, std::string > myMethod2VarParams
 

Constructor & Destructor Documentation

◆ StdMeshers_Deflection1D_i()

StdMeshers_Deflection1D_i::StdMeshers_Deflection1D_i ( PortableServer::POA_ptr  thePOA,
::SMESH_Gen theGenImpl 
)

◆ ~StdMeshers_Deflection1D_i()

StdMeshers_Deflection1D_i::~StdMeshers_Deflection1D_i ( )
virtual

Member Function Documentation

◆ GetDeflection()

CORBA::Double StdMeshers_Deflection1D_i::GetDeflection ( )

◆ GetId()

CORBA::Short SMESH_Hypothesis_i::GetId ( )
virtualinherited

◆ GetImpl()

StdMeshers_Deflection1D * StdMeshers_Deflection1D_i::GetImpl ( )

◆ GetLibName()

char * SMESH_Hypothesis_i::GetLibName ( )
virtualinherited

SMESH_Hypothesis_i::GetLibName.

Get plugin library name of hypothesis (required by persistency mechanism)

References SMESH_Hypothesis::GetLibName(), and SMESH_Hypothesis_i::myBaseImpl.

Referenced by StdMeshers_LayerDistribution_i::SetLayerDistribution().

◆ getMethodOfParameter()

std::string StdMeshers_Deflection1D_i::getMethodOfParameter ( const int  paramIndex,
int  nbVars 
) const
protectedvirtual

Return method name corresponding to index of variable parameter.

Reimplemented from SMESH_Hypothesis_i.

◆ GetName()

char * SMESH_Hypothesis_i::GetName ( )
virtualinherited

◆ getObjectsDependOn()

virtual bool StdMeshers_Deflection1D_i::getObjectsDependOn ( std::vector< std::string > &  ,
std::vector< int > &   
) const
virtual

Implements SMESH_Hypothesis_i.

◆ getParamIndex()

virtual int SMESH_Hypothesis_i::getParamIndex ( const TCollection_AsciiString &  ,
int   
) const
virtualinherited

◆ GetVarParameter()

char * SMESH_Hypothesis_i::GetVarParameter ( const char *  methodName)
virtualinherited

Return the pramIndex-th variable parameter used for Hypothesis creation.

References SMESH_Gen_i::GetSMESHGen(), SMESH_Hypothesis_i::myMethod2VarParams, and SMESH_Hypothesis_i::setOldParameters().

Referenced by SMESH_Hypothesis_i::SaveTo().

◆ HasParameters()

CORBA::Boolean SMESH_Hypothesis_i::HasParameters ( )
virtualinherited

Return true if a hypothesis has parameters.

Reimplemented in StdMeshers_LengthFromEdges_i.

References SMESH_Hypothesis_i::myBaseImpl, and SMESHDS_Hypothesis::SaveTo().

◆ IsDimSupported()

CORBA::Boolean StdMeshers_Deflection1D_i::IsDimSupported ( SMESH::Dimension  type)

Verify whether hypothesis supports given entity type.

Parameters
type- dimension (see SMESH::Dimension enumeration)
Return values
CORBA::Boolean- TRUE if dimension is supported, FALSE otherwise

Verify whether hypothesis supports given entity type (see SMESH::Dimension enumeration)

References SMESH::DIM_1D.

◆ IsPublished()

bool SMESH_Hypothesis_i::IsPublished ( )
inherited

◆ LoadFrom()

◆ SaveTo()

◆ SetDeflection()

void StdMeshers_Deflection1D_i::SetDeflection ( CORBA::Double  theValue)

◆ SetHolderHypothesis()

void SMESH_Hypothesis_i::SetHolderHypothesis ( const SMESH::SMESH_Hypothesis_ptr  hyp)
virtualinherited

Store a hypothesis wrapping this not published one.

This hyp, which has no own parameters but is published, is used to store variables defining parameters of this hypothesis.

References SMESH_Hypothesis_i::myHolder.

◆ SetLibName()

void SMESH_Hypothesis_i::SetLibName ( const char *  theLibName)
inherited

SMESH_Hypothesis_i::SetLibName.

Set plugin library name of hypothesis (required by persistency mechanism)

References SMESH_Hypothesis_i::myBaseImpl, and SMESH_Hypothesis::SetLibName().

Referenced by SMESH_Gen_i::createHypothesis().

◆ setObjectsDependOn()

virtual bool StdMeshers_Deflection1D_i::setObjectsDependOn ( std::vector< std::string > &  ,
std::vector< int > &   
)
virtual

Implements SMESH_Hypothesis_i.

◆ setOldParameters()

void SMESH_Hypothesis_i::setOldParameters ( const char *  theParameters)
virtualinherited

Restore myMethod2VarParams by parameters stored in an old study.

Reimplemented in StdMeshers_LayerDistribution_i.

References SMESH_Hypothesis_i::getMethodOfParameter(), SMESH_Gen_i::GetSMESHGen(), and SMESH_Hypothesis_i::myMethod2VarParams.

Referenced by SMESH_Hypothesis_i::GetVarParameter().

◆ SetVarParameter()

void SMESH_Hypothesis_i::SetVarParameter ( const char *  parameter,
const char *  method 
)
virtualinherited

◆ UpdateAsMeshesRestored()

void SMESH_Hypothesis_i::UpdateAsMeshesRestored ( )
virtualinherited

This mesthod is called after completion of loading a study.

Reimplemented in StdMeshers_ViscousLayers2D_i, StdMeshers_ImportSource2D_i, and StdMeshers_ImportSource1D_i.

Referenced by SMESH_Gen_i::Load().

Field Documentation

◆ myBaseImpl

::SMESH_Hypothesis* SMESH_Hypothesis_i::myBaseImpl
protectedinherited

Referenced by StdMeshers_NumberOfSegments_i::BuildDistributionExpr(), StdMeshers_NumberOfSegments_i::BuildDistributionTab(), StdMeshers_NumberOfSegments_i::ConversionMode(), SMESH_Algo_i::GetCompatibleHypothesis(), StdMeshers_Adaptive1D_i::GetDeflection(), GetDeflection(), StdMeshers_NumberOfSegments_i::GetDistrType(), StdMeshers_NumberOfSegments_i::GetExpressionFunction(), StdMeshers_AutomaticLength_i::GetFineness(), StdMeshers_CartesianParameters3D_i::GetGrid(), StdMeshers_CartesianParameters3D_i::GetGridSpacing(), SMESH_Hypothesis_i::GetId(), SMESH_Hypothesis_i::GetImpl(), StdMeshers_Adaptive1D_i::GetImpl(), StdMeshers_Arithmetic1D_i::GetImpl(), StdMeshers_AutomaticLength_i::GetImpl(), StdMeshers_BlockRenumber_i::GetImpl(), StdMeshers_Cartesian_3D_i::GetImpl(), StdMeshers_CartesianParameters3D_i::GetImpl(), StdMeshers_CompositeSegment_1D_i::GetImpl(), GetImpl(), StdMeshers_FixedPoints1D_i::GetImpl(), StdMeshers_Geometric1D_i::GetImpl(), StdMeshers_Hexa_3D_i::GetImpl(), StdMeshers_Import_1D2D_i::GetImpl(), StdMeshers_Import_1D_i::GetImpl(), StdMeshers_ImportSource1D_i::GetImpl(), StdMeshers_ImportSource2D_i::GetImpl(), StdMeshers_LayerDistribution2D_i::GetImpl(), StdMeshers_LayerDistribution_i::GetImpl(), StdMeshers_LengthFromEdges_i::GetImpl(), StdMeshers_LocalLength_i::GetImpl(), StdMeshers_MaxElementArea_i::GetImpl(), StdMeshers_MaxElementVolume_i::GetImpl(), StdMeshers_MaxLength_i::GetImpl(), StdMeshers_NumberOfLayers2D_i::GetImpl(), StdMeshers_NumberOfLayers_i::GetImpl(), StdMeshers_NumberOfSegments_i::GetImpl(), StdMeshers_Prism_3D_i::GetImpl(), StdMeshers_RadialPrism_3D_i::GetImpl(), StdMeshers_Projection_3D_i::GetImpl(), StdMeshers_Projection_2D_i::GetImpl(), StdMeshers_Projection_1D2D_i::GetImpl(), StdMeshers_Projection_1D_i::GetImpl(), StdMeshers_ProjectionSource1D_i::GetImpl(), StdMeshers_ProjectionSource2D_i::GetImpl(), StdMeshers_ProjectionSource3D_i::GetImpl(), StdMeshers_Quadrangle_2D_i::GetImpl(), StdMeshers_QuadrangleParams_i::GetImpl(), StdMeshers_QuadranglePreference_i::GetImpl(), StdMeshers_QuadraticMesh_i::GetImpl(), StdMeshers_RadialQuadrangle_1D2D_i::GetImpl(), StdMeshers_Regular_1D_i::GetImpl(), StdMeshers_SegmentAroundVertex_0D_i::GetImpl(), StdMeshers_SegmentLengthAroundVertex_i::GetImpl(), StdMeshers_StartEndLength_i::GetImpl(), StdMeshers_UseExisting_1D_i::GetImpl(), StdMeshers_UseExisting_2D_i::GetImpl(), StdMeshers_ViscousLayerBuilder_i::GetImpl(), StdMeshers_ViscousLayers2D_i::GetImpl(), StdMeshers_ViscousLayers_i::GetImpl(), StdMeshers_LocalLength_i::GetLength(), StdMeshers_MaxLength_i::GetLength(), StdMeshers_SegmentLengthAroundVertex_i::GetLength(), StdMeshers_Arithmetic1D_i::GetLength(), StdMeshers_StartEndLength_i::GetLength(), SMESH_Hypothesis_i::GetLibName(), StdMeshers_MaxElementArea_i::GetMaxElementArea(), StdMeshers_MaxElementVolume_i::GetMaxElementVolume(), StdMeshers_Adaptive1D_i::GetMaxSize(), StdMeshers_Adaptive1D_i::GetMinSize(), StdMeshers_LengthFromEdges_i::GetMode(), SMESH_Hypothesis_i::GetName(), StdMeshers_FixedPoints1D_i::GetNbSegments(), StdMeshers_NumberOfLayers_i::GetNumberOfLayers(), StdMeshers_NumberOfSegments_i::GetNumberOfSegments(), StdMeshers_QuadrangleParams_i::GetObjectEntry(), StdMeshers_QuadrangleParams_i::getObjectsDependOn(), StdMeshers_ViscousLayers2D_i::getObjectsDependOn(), StdMeshers_ViscousLayers_i::getObjectsDependOn(), StdMeshers_FixedPoints1D_i::GetPoints(), StdMeshers_LocalLength_i::GetPrecision(), StdMeshers_MaxLength_i::GetPreestimatedLength(), StdMeshers_QuadrangleParams_i::GetQuadType(), StdMeshers_NumberOfSegments_i::GetScaleFactor(), StdMeshers_ProjectionSource3D_i::GetSource3DShape(), StdMeshers_ProjectionSource1D_i::GetSourceEdge(), StdMeshers_ProjectionSource2D_i::GetSourceFace(), StdMeshers_ProjectionSource1D_i::GetSourceVertex(), StdMeshers_ProjectionSource2D_i::GetSourceVertex(), StdMeshers_ProjectionSource3D_i::GetSourceVertex(), StdMeshers_NumberOfSegments_i::GetTableFunction(), StdMeshers_ProjectionSource1D_i::GetTargetVertex(), StdMeshers_ProjectionSource2D_i::GetTargetVertex(), StdMeshers_ProjectionSource3D_i::GetTargetVertex(), StdMeshers_QuadrangleParams_i::GetTriaVertex(), StdMeshers_MaxLength_i::GetUsePreestimatedLength(), SMESH_Hypothesis_i::HasParameters(), StdMeshers_MaxLength_i::HavePreestimatedLength(), SMESH_Hypothesis_i::LoadFrom(), StdMeshers_ImportSource1D_i::LoadFrom(), StdMeshers_ImportSource2D_i::LoadFrom(), StdMeshers_LayerDistribution_i::LoadFrom(), StdMeshers_ProjectionSource1D_i::LoadFrom(), StdMeshers_ProjectionSource2D_i::LoadFrom(), StdMeshers_ProjectionSource3D_i::LoadFrom(), StdMeshers_QuadrangleParams_i::LoadFrom(), SMESH_Hypothesis_i::SaveTo(), StdMeshers_ImportSource1D_i::SaveTo(), StdMeshers_ImportSource2D_i::SaveTo(), StdMeshers_LayerDistribution_i::SaveTo(), StdMeshers_ProjectionSource1D_i::SaveTo(), StdMeshers_ProjectionSource2D_i::SaveTo(), StdMeshers_ProjectionSource3D_i::SaveTo(), StdMeshers_QuadrangleParams_i::SaveTo(), StdMeshers_NumberOfSegments_i::SetConversionMode(), StdMeshers_Adaptive1D_i::SetDeflection(), SetDeflection(), StdMeshers_NumberOfSegments_i::SetDistrType(), StdMeshers_NumberOfSegments_i::SetExpressionFunction(), StdMeshers_AutomaticLength_i::SetFineness(), StdMeshers_CartesianParameters3D_i::SetGrid(), StdMeshers_CartesianParameters3D_i::SetGridSpacing(), StdMeshers_LayerDistribution_i::SetLayerDistribution(), StdMeshers_LocalLength_i::SetLength(), StdMeshers_MaxLength_i::SetLength(), StdMeshers_SegmentLengthAroundVertex_i::SetLength(), StdMeshers_Arithmetic1D_i::SetLength(), StdMeshers_StartEndLength_i::SetLength(), SMESH_Hypothesis_i::SetLibName(), StdMeshers_MaxElementArea_i::SetMaxElementArea(), StdMeshers_MaxElementVolume_i::SetMaxElementVolume(), StdMeshers_Adaptive1D_i::SetMaxSize(), StdMeshers_Adaptive1D_i::SetMinSize(), StdMeshers_LengthFromEdges_i::SetMode(), StdMeshers_FixedPoints1D_i::SetNbSegments(), StdMeshers_NumberOfLayers_i::SetNumberOfLayers(), StdMeshers_NumberOfSegments_i::SetNumberOfSegments(), StdMeshers_QuadrangleParams_i::SetObjectEntry(), StdMeshers_FixedPoints1D_i::SetPoints(), StdMeshers_LocalLength_i::SetPrecision(), StdMeshers_MaxLength_i::SetPreestimatedLength(), StdMeshers_QuadrangleParams_i::SetQuadType(), StdMeshers_NumberOfSegments_i::SetScaleFactor(), StdMeshers_CartesianParameters3D_i::SetSizeThreshold(), StdMeshers_ProjectionSource3D_i::SetSource3DShape(), StdMeshers_ProjectionSource1D_i::SetSourceEdge(), StdMeshers_ImportSource1D_i::SetSourceEdges(), StdMeshers_ProjectionSource2D_i::SetSourceFace(), StdMeshers_ImportSource2D_i::SetSourceFaces(), StdMeshers_ProjectionSource1D_i::SetSourceMesh(), StdMeshers_ProjectionSource2D_i::SetSourceMesh(), StdMeshers_ProjectionSource3D_i::SetSourceMesh(), StdMeshers_NumberOfSegments_i::SetTableFunction(), StdMeshers_QuadrangleParams_i::SetTriaVertex(), StdMeshers_MaxLength_i::SetUsePreestimatedLength(), StdMeshers_ProjectionSource1D_i::SetVertexAssociation(), StdMeshers_ProjectionSource2D_i::SetVertexAssociation(), StdMeshers_ProjectionSource3D_i::SetVertexAssociation(), SMESH_Hypothesis_i::SMESH_Hypothesis_i(), StdMeshers_Adaptive1D_i::StdMeshers_Adaptive1D_i(), StdMeshers_Arithmetic1D_i::StdMeshers_Arithmetic1D_i(), StdMeshers_AutomaticLength_i::StdMeshers_AutomaticLength_i(), StdMeshers_BlockRenumber_i::StdMeshers_BlockRenumber_i(), StdMeshers_Cartesian_3D_i::StdMeshers_Cartesian_3D_i(), StdMeshers_CartesianParameters3D_i::StdMeshers_CartesianParameters3D_i(), StdMeshers_CompositeSegment_1D_i::StdMeshers_CompositeSegment_1D_i(), StdMeshers_Deflection1D_i(), StdMeshers_FixedPoints1D_i::StdMeshers_FixedPoints1D_i(), StdMeshers_Geometric1D_i::StdMeshers_Geometric1D_i(), StdMeshers_Hexa_3D_i::StdMeshers_Hexa_3D_i(), StdMeshers_Import_1D2D_i::StdMeshers_Import_1D2D_i(), StdMeshers_Import_1D_i::StdMeshers_Import_1D_i(), StdMeshers_ImportSource1D_i::StdMeshers_ImportSource1D_i(), StdMeshers_ImportSource2D_i::StdMeshers_ImportSource2D_i(), StdMeshers_LayerDistribution2D_i::StdMeshers_LayerDistribution2D_i(), StdMeshers_LayerDistribution_i::StdMeshers_LayerDistribution_i(), StdMeshers_LengthFromEdges_i::StdMeshers_LengthFromEdges_i(), StdMeshers_LocalLength_i::StdMeshers_LocalLength_i(), StdMeshers_MaxElementArea_i::StdMeshers_MaxElementArea_i(), StdMeshers_MaxElementVolume_i::StdMeshers_MaxElementVolume_i(), StdMeshers_MaxLength_i::StdMeshers_MaxLength_i(), StdMeshers_NotConformAllowed_i::StdMeshers_NotConformAllowed_i(), StdMeshers_NumberOfLayers2D_i::StdMeshers_NumberOfLayers2D_i(), StdMeshers_NumberOfLayers_i::StdMeshers_NumberOfLayers_i(), StdMeshers_NumberOfSegments_i::StdMeshers_NumberOfSegments_i(), StdMeshers_PolygonPerFace_2D_i::StdMeshers_PolygonPerFace_2D_i(), StdMeshers_PolyhedronPerSolid_3D_i::StdMeshers_PolyhedronPerSolid_3D_i(), StdMeshers_Prism_3D_i::StdMeshers_Prism_3D_i(), StdMeshers_Projection_1D2D_i::StdMeshers_Projection_1D2D_i(), StdMeshers_Projection_1D_i::StdMeshers_Projection_1D_i(), StdMeshers_Projection_2D_i::StdMeshers_Projection_2D_i(), StdMeshers_Projection_3D_i::StdMeshers_Projection_3D_i(), StdMeshers_ProjectionSource1D_i::StdMeshers_ProjectionSource1D_i(), StdMeshers_ProjectionSource2D_i::StdMeshers_ProjectionSource2D_i(), StdMeshers_ProjectionSource3D_i::StdMeshers_ProjectionSource3D_i(), StdMeshers_Propagation_i::StdMeshers_Propagation_i(), StdMeshers_PropagOfDistribution_i::StdMeshers_PropagOfDistribution_i(), StdMeshers_QuadFromMedialAxis_1D2D_i::StdMeshers_QuadFromMedialAxis_1D2D_i(), StdMeshers_Quadrangle_2D_i::StdMeshers_Quadrangle_2D_i(), StdMeshers_QuadrangleParams_i::StdMeshers_QuadrangleParams_i(), StdMeshers_QuadranglePreference_i::StdMeshers_QuadranglePreference_i(), StdMeshers_QuadraticMesh_i::StdMeshers_QuadraticMesh_i(), StdMeshers_RadialPrism_3D_i::StdMeshers_RadialPrism_3D_i(), StdMeshers_RadialQuadrangle_1D2D_i::StdMeshers_RadialQuadrangle_1D2D_i(), StdMeshers_Regular_1D_i::StdMeshers_Regular_1D_i(), StdMeshers_SegmentAroundVertex_0D_i::StdMeshers_SegmentAroundVertex_0D_i(), StdMeshers_SegmentLengthAroundVertex_i::StdMeshers_SegmentLengthAroundVertex_i(), StdMeshers_StartEndLength_i::StdMeshers_StartEndLength_i(), StdMeshers_UseExisting_1D_i::StdMeshers_UseExisting_1D_i(), StdMeshers_UseExisting_2D_i::StdMeshers_UseExisting_2D_i(), StdMeshers_ViscousLayerBuilder_i::StdMeshers_ViscousLayerBuilder_i(), StdMeshers_ViscousLayers2D_i::StdMeshers_ViscousLayers2D_i(), StdMeshers_ViscousLayers_i::StdMeshers_ViscousLayers_i(), and SMESH_Hypothesis_i::~SMESH_Hypothesis_i().

◆ myHolder

SMESH::SMESH_Hypothesis_var SMESH_Hypothesis_i::myHolder
protectedinherited

◆ myMethod2VarParams

std::map< std::string, std::string > SMESH_Hypothesis_i::myMethod2VarParams
protectedinherited