Fem: Apply clang-format
This commit is contained in:
@@ -35,7 +35,7 @@ PROPERTY_SOURCE(Fem::FemSetNodesObject, Fem::FemSetObject)
|
||||
|
||||
FemSetNodesObject::FemSetNodesObject()
|
||||
{
|
||||
ADD_PROPERTY_TYPE(Nodes,(), "Node indexes",Prop_None,"Nodes belonging to the NodesSet");
|
||||
ADD_PROPERTY_TYPE(Nodes, (), "Node indexes", Prop_None, "Nodes belonging to the NodesSet");
|
||||
}
|
||||
|
||||
FemSetNodesObject::~FemSetNodesObject() = default;
|
||||
@@ -45,12 +45,11 @@ short FemSetNodesObject::mustExecute() const
|
||||
return 0;
|
||||
}
|
||||
|
||||
PyObject *FemSetNodesObject::getPyObject()
|
||||
PyObject* FemSetNodesObject::getPyObject()
|
||||
{
|
||||
if (PythonObject.is(Py::_None())){
|
||||
if (PythonObject.is(Py::_None())) {
|
||||
// ref counter is set to 1
|
||||
PythonObject = Py::Object(new DocumentObjectPy(this),true);
|
||||
PythonObject = Py::Object(new DocumentObjectPy(this), true);
|
||||
}
|
||||
return Py::new_reference_to(PythonObject);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user