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(tolerance): check that reactions at nodes correspond to constrained degrees of freedom.

C++ signature :

bool checkNodalReactions(XC::Mesh {lvalue},double)

clearEigenvectors((Mesh)arg1) None :

Remove the stored eigenvectors.

C++ signature :

void clearEigenvectors(XC::Mesh {lvalue})

freezeDeadNodes((Mesh)arg1, (str)arg2) None :

freezeDeadNodes(lockerName) restrain movement of dead nodes.

C++ signature :

void freezeDeadNodes(XC::Mesh {lvalue},std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)

getDefaultElementTag((Mesh)arg1) int :

Return the default tag for the next element.

C++ signature :

int getDefaultElementTag(XC::Mesh {lvalue})

getDefaultNodeTag((Mesh)arg1) int :

Return the default tag for the next node.

C++ signature :

int getDefaultNodeTag(XC::Mesh {lvalue})

getEigenvectorsMaxNormInf((Mesh)arg1, (int)arg2) float :

Return the maximum infinity norm of the nodes eigenvectors.

C++ signature :

double getEigenvectorsMaxNormInf(XC::Mesh {lvalue},int)

getElement((Mesh)arg1, (int)arg2) Element :

Returns an element from its identifier.

C++ signature :

XC::Element* getElement(XC::Mesh {lvalue},int)

property 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})

getTotalMassComponent((Mesh)arg1, (int)arg2) float :

Return the total mass matrix component for the DOF argument.

C++ signature :

double getTotalMassComponent(XC::Mesh {lvalue},int)

meltAliveNodes((Mesh)arg1, (str)arg2) None :

freezeDeadNodes(lockerName) allows movement of melted nodes.

C++ signature :

void meltAliveNodes(XC::Mesh {lvalue},std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)

normalizeEigenvectors((Mesh)arg1, (int)arg2) float :

Normalize node eigenvectors for the argument mode. Syntax: normalizeEigenvectors(mode)

C++ signature :

double normalizeEigenvectors(XC::Mesh {lvalue},int)

normalizeEigenvectors( (Mesh)arg1) -> list :

Normalize node eigenvectors for all the computed modes. Syntax: normalizeEigenvectors()

C++ signature :

boost::python::list normalizeEigenvectors(XC::Mesh {lvalue})

removeElement((Mesh)arg1, (int)arg2) bool :

removeElement(tag); remove the node.

C++ signature :

bool removeElement(XC::Mesh {lvalue},int)

removeNode((Mesh)arg1, (int)arg2) bool :

removeNode(tag); remove the node.

C++ signature :

bool removeNode(XC::Mesh {lvalue},int)

static setDeadSRF((float)arg1) None :

Assigns Stress Reduction Factor for element deactivation. Syntax: setDeadSRF(factor)

C++ signature :

void setDeadSRF(double)

property totalMass

Return the total mass matrix.