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