52 #ifndef CableMaterial_h 53 #define CableMaterial_h 74 #include <material/uniaxial/ElasticBaseMaterial.h> 97 double evalStress(
double stress);
104 CableMaterial(
int tag,
double Prestress,
double E,
double unitWeightEff,
double L_Element);
107 void setLength(
const double &);
108 inline double getLength(
void)
const 111 int setTrial(
double strain,
double &stress,
double &tangent,
double strainRate = 0.0);
113 inline double getStrain(
void)
const 114 {
return trialStrain;};
117 inline double getInitialTangent(
void)
const 127 int commitState(
void);
128 int revertToLastCommit(
void);
129 int revertToStart(
void);
136 void Print(std::ostream &s,
int flag =0);
double getTangent(void) const
Return the current value of the tangent for the trial strain.
Definition: CableMaterial.cpp:185
int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: CableMaterial.cpp:244
void setPrestress(const double &d)
Set value of cable prestress.
Definition: CableMaterial.h:121
double getPrestress(void) const
Return value of cable prestress.
Definition: CableMaterial.h:124
DbTagData & getDbTagData(void) const
Returns a vector to store the dbTags of the class members.
Definition: CableMaterial.cpp:206
Base class for uniaxial materials.
Definition: UniaxialMaterial.h:92
double E
Material trial strain.
Definition: ElasticBaseMaterial.h:42
Vector that stores the dbTags of the class members.
Definition: DbTagData.h:43
int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: CableMaterial.cpp:229
int setTrialStrain(double strain, double strainRate=0.0)
Sets the value of the trial strain.
Definition: CableMaterial.cpp:89
UniaxialMaterial * getCopy(void) const
Virtual constructor.
Definition: CableMaterial.cpp:201
CableMaterial provides the abstraction of an elastic uniaxial material, the input parameters are the ...
Definition: CableMaterial.h:88
int recvData(const CommParameters &)
Receives object members through the channel being passed as parameter.
Definition: CableMaterial.cpp:221
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:34
int sendData(CommParameters &)
Send object members through the channel being passed as parameter.
Definition: CableMaterial.cpp:213
Communication parameters between processes.
Definition: CommParameters.h:65
void Print(std::ostream &s, int flag=0)
Print stuff.
Definition: CableMaterial.cpp:263
double getStress(void) const
Return the current value of stress.
Definition: CableMaterial.cpp:166
Base class for uniaxial elastic materials.
Definition: ElasticBaseMaterial.h:38