correct spelling StanardHypotheses to StandardHypotheses
This commit is contained in:
parent
a0d7c8bd21
commit
be86b992c2
|
@ -332,7 +332,7 @@ void FemMesh::addHypothesis(const TopoDS_Shape & aSubShape, SMESH_HypothesisPtr
|
||||||
hypoth.push_back(ptr);
|
hypoth.push_back(ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
void FemMesh::setStanardHypotheses()
|
void FemMesh::setStandardHypotheses()
|
||||||
{
|
{
|
||||||
if (!hypoth.empty())
|
if (!hypoth.empty())
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -62,7 +62,7 @@ public:
|
||||||
SMESH_Mesh* getSMesh();
|
SMESH_Mesh* getSMesh();
|
||||||
static SMESH_Gen * getGenerator();
|
static SMESH_Gen * getGenerator();
|
||||||
void addHypothesis(const TopoDS_Shape & aSubShape, SMESH_HypothesisPtr hyp);
|
void addHypothesis(const TopoDS_Shape & aSubShape, SMESH_HypothesisPtr hyp);
|
||||||
void setStanardHypotheses();
|
void setStandardHypotheses();
|
||||||
void compute();
|
void compute();
|
||||||
|
|
||||||
// from base class
|
// from base class
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
<UserDocu>Add hypothesis</UserDocu>
|
<UserDocu>Add hypothesis</UserDocu>
|
||||||
</Documentation>
|
</Documentation>
|
||||||
</Methode>
|
</Methode>
|
||||||
<Methode Name="setStanardHypotheses">
|
<Methode Name="setStandardHypotheses">
|
||||||
<Documentation>
|
<Documentation>
|
||||||
<UserDocu>Set some standard hypotheses for the whole shape</UserDocu>
|
<UserDocu>Set some standard hypotheses for the whole shape</UserDocu>
|
||||||
</Documentation>
|
</Documentation>
|
||||||
|
|
|
@ -152,13 +152,13 @@ PyObject* FemMeshPy::addHypothesis(PyObject *args)
|
||||||
Py_Return;
|
Py_Return;
|
||||||
}
|
}
|
||||||
|
|
||||||
PyObject* FemMeshPy::setStanardHypotheses(PyObject *args)
|
PyObject* FemMeshPy::setStandardHypotheses(PyObject *args)
|
||||||
{
|
{
|
||||||
if (!PyArg_ParseTuple(args, ""))
|
if (!PyArg_ParseTuple(args, ""))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
getFemMeshPtr()->setStanardHypotheses();
|
getFemMeshPtr()->setStandardHypotheses();
|
||||||
}
|
}
|
||||||
catch (const std::exception& e) {
|
catch (const std::exception& e) {
|
||||||
PyErr_SetString(Base::BaseExceptionFreeCADError, e.what());
|
PyErr_SetString(Base::BaseExceptionFreeCADError, e.what());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user