Skip to content

Commit

Permalink
Merge pull request #238 from qingfengxia/renamingFem
Browse files Browse the repository at this point in the history
correct spelling StanardHypotheses to StandardHypotheses
  • Loading branch information
wwmayer committed Aug 10, 2016
2 parents d388492 + be86b99 commit 785369a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Fem/App/FemMesh.cpp
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/App/FemMesh.h
Expand Up @@ -62,7 +62,7 @@ class AppFemExport FemMesh : public Data::ComplexGeoData
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
Expand Down
2 changes: 1 addition & 1 deletion src/Mod/Fem/App/FemMeshPy.xml
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions src/Mod/Fem/App/FemMeshPyImp.cpp
Expand Up @@ -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());
Expand Down

0 comments on commit 785369a

Please sign in to comment.