From be86b992c20808106537df53a897604165f622d5 Mon Sep 17 00:00:00 2001 From: qingfengxia Date: Sun, 7 Aug 2016 18:20:17 +0100 Subject: [PATCH] correct spelling StanardHypotheses to StandardHypotheses --- src/Mod/Fem/App/FemMesh.cpp | 2 +- src/Mod/Fem/App/FemMesh.h | 2 +- src/Mod/Fem/App/FemMeshPy.xml | 2 +- src/Mod/Fem/App/FemMeshPyImp.cpp | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Mod/Fem/App/FemMesh.cpp b/src/Mod/Fem/App/FemMesh.cpp index 40a798ef4..7690d8730 100644 --- a/src/Mod/Fem/App/FemMesh.cpp +++ b/src/Mod/Fem/App/FemMesh.cpp @@ -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; diff --git a/src/Mod/Fem/App/FemMesh.h b/src/Mod/Fem/App/FemMesh.h index be42b2aaa..13c1aa95f 100644 --- a/src/Mod/Fem/App/FemMesh.h +++ b/src/Mod/Fem/App/FemMesh.h @@ -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 diff --git a/src/Mod/Fem/App/FemMeshPy.xml b/src/Mod/Fem/App/FemMeshPy.xml index b8d3b6c7d..89ac7d668 100755 --- a/src/Mod/Fem/App/FemMeshPy.xml +++ b/src/Mod/Fem/App/FemMeshPy.xml @@ -29,7 +29,7 @@ Add hypothesis - + Set some standard hypotheses for the whole shape diff --git a/src/Mod/Fem/App/FemMeshPyImp.cpp b/src/Mod/Fem/App/FemMeshPyImp.cpp index 3c0a2675a..e3a7d68b4 100644 --- a/src/Mod/Fem/App/FemMeshPyImp.cpp +++ b/src/Mod/Fem/App/FemMeshPyImp.cpp @@ -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());