Mesh management¶
-
class
xc.MeshComponentContainer¶ Bases:
xc_base.CommandEntity
-
class
xc.Mesh¶ Bases:
xc.MeshComponentContainer-
calculateNodalReactions((Mesh)arg1, (bool)arg2, (float)arg3) → int :¶ triggers nodal reaction calculation.
- C++ signature :
- int calculateNodalReactions(XC::Mesh {lvalue},bool,double)
-
checkNodalReactions((Mesh)arg1, (float)arg2) → bool :¶ checkNodalReactions(tolerande): check that reactions at nodes correspond to constrained degrees of freedom.
- C++ signature :
- bool checkNodalReactions(XC::Mesh {lvalue},double)
-
freezeDeadNodes((Mesh)arg1, (str)arg2) → None :¶ Restrain movement of dead nodes. Syntax: freezeDeadNodes(lockerName)
- C++ signature :
- void freezeDeadNodes(XC::Mesh {lvalue},std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
-
getElement((Mesh)arg1, (int)arg2) → Element :¶ Returns an element from its identifier.
- C++ signature :
- XC::Element* getElement(XC::Mesh {lvalue},int)
-
getElementIter¶ returns an iterator over the elements of the mesh.
-
getNearestElement((Mesh)arg1, (Pos3d)arg2) → Element :¶ Returns nearest node.
- C++ signature :
- XC::Element* getNearestElement(XC::Mesh {lvalue},Pos3d)
-
getNearestNode((Mesh)arg1, (Pos3d)arg2) → Node :¶ Returns nearest node.
- C++ signature :
- XC::Node* getNearestNode(XC::Mesh {lvalue},Pos3d)
-
getNode((Mesh)arg1, (int)arg2) → Node :¶ Returns a node from its identifier.
- C++ signature :
- XC::Node* getNode(XC::Mesh {lvalue},int)
-
getNumDeadElements((Mesh)arg1) → int :¶ Returns the number of dead elements.
- C++ signature :
- unsigned long getNumDeadElements(XC::Mesh {lvalue})
-
getNumDeadNodes((Mesh)arg1) → int :¶ Returns the number of dead nodes.
- C++ signature :
- unsigned long getNumDeadNodes(XC::Mesh {lvalue})
-
getNumElements((Mesh)arg1) → int :¶ Returns the number of elements.
- C++ signature :
- int getNumElements(XC::Mesh {lvalue})
-
getNumFreeNodes((Mesh)arg1) → int :¶ Returns the number of free nodes.
- C++ signature :
- unsigned long getNumFreeNodes(XC::Mesh {lvalue})
-
getNumFrozenNodes((Mesh)arg1) → int :¶ Returns the number of frozen nodes.
- C++ signature :
- unsigned long getNumFrozenNodes(XC::Mesh {lvalue})
-
getNumLiveElements((Mesh)arg1) → int :¶ Returns the number of live elements.
- C++ signature :
- unsigned long getNumLiveElements(XC::Mesh {lvalue})
-
getNumLiveNodes((Mesh)arg1) → int :¶ Returns the number of live nodes.
- C++ signature :
- unsigned long getNumLiveNodes(XC::Mesh {lvalue})
-
getNumNodes((Mesh)arg1) → int :¶ Returns the number of nodes.
- C++ signature :
- int getNumNodes(XC::Mesh {lvalue})
-
meltAliveNodes((Mesh)arg1, (str)arg2) → None :¶ Allows movement of melted nodes.
- C++ signature :
- void meltAliveNodes(XC::Mesh {lvalue},std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
-
static
setDeadSRF((float)arg1) → None :¶ Assigns Stress Reduction Factor for element deactivation. Syntax: setDeadSRF(factor)
- C++ signature :
- void setDeadSRF(double)
-