Click or drag to resize

Joint Class

Represents the hinge conditions at the start- and end-point of a line element.
Inheritance Hierarchy

Namespace:  Karamba.Joints
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
[SerializableAttribute]
public class Joint : ICloneable

The Joint type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyc
set and get the joints DOF-stiffness
Public propertyelemIds
return list of element identifiers to which the cross section is to be attached.
Public propertyguid
GUID of the joint
Public propertyname
set/get the name of the cross section
Public propertyprops
give array access to cross section properties which are the twelve conditions at the end-nodes of the line element. These conditions are tx, ty, tz (translational DOFs) and rx, ry, rz (rotational DOFs) at the two nodes. A value of null means fixation, values of t are in kN/m, values of r in kNm/rad.
Top
Methods
  NameDescription
Public methodAddElemId
add an element identifier to the list of element identifiers which define to which elements the cross SectionForce shall be attached in the course of assemblage.
Public methodaddTo(ModelElement)
attach this joint to an elements
Public methodaddTo(ListModelElement, ItemSelector)
attach this joint to elements
Public methodaddTo(ModelBeam, Model, ListNode)
adds joints to the the endpoints of a beam
Public methodc_condition
returns list of six doubles for each node which are the spring stiffnesses corresponding to the DOFs. If null there is no joint for the corresponding DOF.
Public methodclearElemIds
empty the list of identifiers to which the cross section shall be attached.
Public methodClone
shallow clone
Public methodcondition
returns list of six booleans for each node. If true a joint is in effect for the corresponding DOF. nodes indexes start from 0 (starting node); 1 signifies the end-node.
Protected methoddefaultGuid
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodmatchId
test whether the cross section matches one of the identifiers given in the list of indexes
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodrenewGuid
create a new GUID for the joint
Public methodrenewGuid(Guid)
set a given GUID for the joint
Protected methodsetDefaults
Protected methodspringProps
returns finite element spring object for specified end of beam.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Fields
  NameDescription
Protected fieldc_
list of stiffness for the joint DOFs
Public fieldStatic memberdofs
number of dofs of the joint
Protected fieldelem_ids_
id/regular expressions of element identifiers to which the cross section applies
Protected fieldguid_
GUID of the joint
Protected fieldname_
unique identifier of a cross section within a family
Public fieldStatic memberstiffness_factor
factor for rigid connections relative to the elements stiffness
Top
See Also