correct spelling StanardHypotheses to StandardHypotheses

This commit is contained in:
qingfengxia 2016-08-07 18:20:17 +01:00
parent a0d7c8bd21
commit be86b992c2
4 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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

View File

@ -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>

View File

@ -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());