Truss

class xc.ProtoTruss

Bases: xc.Element1D

createInertiaLoad((ProtoTruss)arg1, (Vector)arg2) → None :

Create the inertia load for the given acceleration vector.

C++ signature :
void createInertiaLoad(XC::ProtoTruss {lvalue},XC::Vector)
getDim((ProtoTruss)arg1) → int :

Return the dimension of the space in which the element is defined (1, 2 or 3).

C++ signature :
int getDim(XC::ProtoTruss {lvalue})
getMaterial((ProtoTruss)arg1) → Material :

Returns element’s material

C++ signature :
XC::Material {lvalue} getMaterial(XC::ProtoTruss {lvalue})
getN((ProtoTruss)arg1) → float :

Returns axial (N) internal force.

C++ signature :
double getN(XC::ProtoTruss {lvalue})
getN1

Returns axial (N) internal force at node 1.

getN2

Returns axial (N) internal force at node 2.

linearRho

Return the element mass per unit length

class xc.TrussBase

Bases: xc.ProtoTruss

getL((TrussBase)arg1) → float :

Return the length of the element.

C++ signature :
double getL(XC::TrussBase {lvalue})
class xc.TrussSection

Bases: xc.TrussBase

class xc.Spring

Bases: xc.ProtoTruss

getN((Spring)arg1) → float :

Returns axial (N) internal force.

C++ signature :
double getN(XC::Spring {lvalue})
class xc.Truss

Bases: xc.TrussBase

class xc.CorotTrussBase

Bases: xc.ProtoTruss

class xc.CorotTruss

Bases: xc.CorotTrussBase

class xc.CorotTrussSection

Bases: xc.CorotTrussBase