public class AxialLigament extends AxialMaterial
| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_DAMPING |
static double |
DEFAULT_MAX_FORCE |
static double |
DEFAULT_SLACK_LENGTH |
static PropertyList |
myProps |
| Constructor and Description |
|---|
AxialLigament() |
AxialLigament(double fmax,
double slackLen,
double damping) |
AxialLigament(double fmax,
double slackLen,
double damping,
Diff1Function1x1Base flc) |
| Modifier and Type | Method and Description |
|---|---|
AxialLigament |
clone()
Returns a clone of this composite property.
|
double |
computeDFdl(double l,
double ldot,
double l0,
double excitation)
Computes and returns the derivative of the axial spring tension
with respect to the length.
|
double |
computeDFdldot(double l,
double ldot,
double l0,
double excitation)
Computes and returns the derivative of the axial spring tension
with respect to the length time derivative.
|
double |
computeF(double l,
double ldot,
double l0,
double excitation)
Computes and returns the axial spring tension, as a function of
length, length time derivative, rest length, and excitation.
|
boolean |
equals(AxialMaterial mat) |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
double |
getDamping() |
Diff1Function1x1 |
getForceLengthCurve() |
double |
getMaxForce() |
double |
getSlackLength() |
boolean |
isDFdldotZero()
Returns true if computeDFdldot() always returns zero.
|
static void |
main(java.lang.String[] args) |
void |
scaleDistance(double s)
Scales all distance coordinates.
|
void |
scaleMass(double s)
Scales all mass units.
|
void |
setDamping(double d) |
void |
setForceLengthCurve(Diff1Function1x1Base flc) |
void |
setMaxForce(double maxForce) |
void |
setSlackLength(double sl) |
void |
writeForceLengthCurve(java.lang.String fileName,
double x0,
double x1,
int npnts,
java.lang.String fmtStr) |
void |
writeItems(java.io.PrintWriter pw,
NumberFormat fmt,
CompositeComponent ancestor) |
equals, getSubClassesadvanceState, createStateObject, getProperty, getPropertyHost, getPropertyInfo, hasProperty, hasState, hasSymmetricTangent, isWritable, postscan, scan, setPropertyHost, setPropertyInfo, symmetryOrStateChanged, updateMaterial, writepublic static double DEFAULT_MAX_FORCE
public static double DEFAULT_DAMPING
public static double DEFAULT_SLACK_LENGTH
public static PropertyList myProps
public AxialLigament()
public AxialLigament(double fmax,
double slackLen,
double damping)
public AxialLigament(double fmax,
double slackLen,
double damping,
Diff1Function1x1Base flc)
public PropertyList getAllPropertyInfo()
HasPropertiesgetAllPropertyInfo in interface HasPropertiesgetAllPropertyInfo in class MaterialBasepublic double computeF(double l,
double ldot,
double l0,
double excitation)
AxialMaterialcomputeF in class AxialMateriall - spring lengthldot - spring length time derivativel0 - spring rest lengthexcitation - excitation value (varying from 0 to 1)public double computeDFdl(double l,
double ldot,
double l0,
double excitation)
AxialMaterialcomputeDFdl in class AxialMateriall - spring lengthldot - spring length time derivativel0 - spring rest lengthexcitation - excitation value (varying from 0 to 1)public double computeDFdldot(double l,
double ldot,
double l0,
double excitation)
AxialMaterialcomputeDFdldot in class AxialMateriall - spring lengthldot - spring length time derivativel0 - spring rest lengthexcitation - excitation value (varying from 0 to 1)public boolean isDFdldotZero()
AxialMaterialisDFdldotZero in class AxialMaterialpublic Diff1Function1x1 getForceLengthCurve()
public void setForceLengthCurve(Diff1Function1x1Base flc)
public double getMaxForce()
public void setMaxForce(double maxForce)
public double getDamping()
public void setDamping(double d)
public double getSlackLength()
public void setSlackLength(double sl)
public boolean equals(AxialMaterial mat)
equals in class AxialMaterialpublic AxialLigament clone()
CompositePropertyclone in interface CompositePropertyclone in interface Clonableclone in class AxialMaterialpublic void scaleDistance(double s)
ScalableUnitsscaleDistance in interface ScalableUnitsscaleDistance in class MaterialBases - scaling factorpublic void scaleMass(double s)
ScalableUnitsscaleMass in interface ScalableUnitsscaleMass in class MaterialBases - scaling factorpublic void writeItems(java.io.PrintWriter pw,
NumberFormat fmt,
CompositeComponent ancestor)
throws java.io.IOException
writeItems in class MaterialBasejava.io.IOExceptionpublic void writeForceLengthCurve(java.lang.String fileName,
double x0,
double x1,
int npnts,
java.lang.String fmtStr)
throws java.io.IOException
java.io.IOExceptionpublic static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException