Constraints

class xc.Constraint

Bases: xc.ContinuaReprComponent

affectsNodeAndDOF((Constraint)arg1, (int)arg2, (int)arg3) bool :

Returns true if the constraint affect the specified DOF of the specified node.

C++ signature :

bool affectsNodeAndDOF(XC::Constraint {lvalue},int,int)

property getNode

gets node.

property getNodeIdx

Returns node idxmfor Vtk graphics.

property getVtkCellType

Returns cell type for Vtk graphics.

property nodeTag

sets/gets node tag.

class xc.SFreedom_Constraint

Bases: xc.Constraint

property constant

determines if the constraint is constant in time or not.

property getDOFNumber

return DOF’s number.

property getValue

returns imposed value for DOF.

property getVtkCellType

returns VTK cell type

property isHomogeneous

true if it’s an homogeneous boundary condition.

property loadPatternTag

assigns/retrieves load pattern tag.

class xc.SFreedom_ConstraintIter

Bases: Boost.Python.instance

next((SFreedom_ConstraintIter)arg1) SFreedom_Constraint :

Returns next node.

C++ signature :

XC::SFreedom_Constraint* next(XC::SFreedom_ConstraintIter {lvalue})

class xc.ImposedMotionBase

Bases: xc.SFreedom_Constraint

class xc.ImposedMotionSP

Bases: xc.ImposedMotionBase

class xc.ImposedMotionSP1

Bases: xc.ImposedMotionBase

class xc.MFreedom_ConstraintBase

Bases: xc.Constraint

property getIdxNodes

Return the node indices for its use in VTK arrays.

class xc.MFreedom_Constraint

Bases: xc.MFreedom_ConstraintBase

class xc.MFreedom_ConstraintIter

Bases: Boost.Python.instance

next((MFreedom_ConstraintIter)arg1) MFreedom_Constraint :

Returns next node.

C++ signature :

XC::MFreedom_Constraint* next(XC::MFreedom_ConstraintIter {lvalue})

class xc.EqualDOF

Bases: xc.MFreedom_Constraint

class xc.MFreedom_Joint2D

Bases: xc.MFreedom_Joint2D

class xc.MFreedom_Joint3D

Bases: xc.MFreedom_Joint2D

class xc.RigidDiaphragm

Bases: xc.MFreedom_Constraint

class xc.RigidBase

Bases: xc.MFreedom_Constraint

class xc.RigidBeam

Bases: xc.RigidBase

class xc.RigidRod

Bases: xc.RigidBase

class xc.MRMFreedom_Constraint

Bases: xc.MFreedom_ConstraintBase

class xc.MRMFreedom_ConstraintIter

Bases: Boost.Python.instance

next((MRMFreedom_ConstraintIter)arg1) MRMFreedom_Constraint :

Returns next node.

C++ signature :

XC::MRMFreedom_Constraint* next(XC::MRMFreedom_ConstraintIter {lvalue})

class xc.GlueNodeToElement

Bases: xc.MRMFreedom_Constraint

class xc.ConstrContainer

Bases: xc.MeshComponentContainer

property getLoadPatterns

Returns the load pattern container.

getMPList((ConstrContainer)arg1) list :

Return a Python list containing the pointers to the multi-freedom constraints in the domain.

C++ signature :

boost::python::list getMPList(XC::ConstrContainer {lvalue})

property getMPs

Returns the multi-point constraints container.

getMRMPList((ConstrContainer)arg1) list :

Return a Python list containing the pointers to the multi-row-multi-freedom constraints in the domain.

C++ signature :

boost::python::list getMRMPList(XC::ConstrContainer {lvalue})

property getMRMPs

Returns the multi-point constraints container.

getNodeLockers((ConstrContainer)arg1) map_node_locker :

Returns the node lockers container.

C++ signature :

std::map<int, XC::NodeLocker*, std::less<int>, std::allocator<std::pair<int const, XC::NodeLocker*> > > {lvalue} getNodeLockers(XC::ConstrContainer {lvalue})

getNumLoadPatterns((ConstrContainer)arg1) int :

Returns the number of load cases.

C++ signature :

int getNumLoadPatterns(XC::ConstrContainer {lvalue})

getNumMPs((ConstrContainer)arg1) int :

Returns the number of multi-point constraints.

C++ signature :

int getNumMPs(XC::ConstrContainer {lvalue})

getNumMRMPs((ConstrContainer)arg1) int :

Returns the number of multi-row multi-point constraints.

C++ signature :

int getNumMRMPs(XC::ConstrContainer {lvalue})

getNumNodeLockers((ConstrContainer)arg1) int :

Returns the number of node lockers.

C++ signature :

int getNumNodeLockers(XC::ConstrContainer {lvalue})

getNumSPs((ConstrContainer)arg1) int :

Returns the number of single point constraints.

C++ signature :

int getNumSPs(XC::ConstrContainer {lvalue})

getSPList((ConstrContainer)arg1) list :

Return a Python list containing the pointers to the single-freedom constraints in the domain.

C++ signature :

boost::python::list getSPList(XC::ConstrContainer {lvalue})

property getSPs

Returns the single point constraints container.