31 #include <utility/tagged/TaggedObject.h> 32 #include <utility/actor/actor/MovableObject.h> 45 mutable double cycFactor;
46 double cycFactor_hist;
47 double f_hist, d_hist;
48 double f_curr, d_curr;
49 double delT_curr, delT_hist;
53 bool initYieldPos, initYieldNeg;
55 bool yielding, yielding_hist;
56 double initFpos,initDpos;
57 double initFneg,initDneg;
58 double initFMag,initDMag;
60 double k_hist, k_curr;
61 double fpeakPos, fpeakNeg;
62 double dpeakPos, dpeakNeg;
63 int state_hist, state_curr;
65 const static int Loading,Unloading, Crossover;
66 const static double Tol, delK;
70 int commitState(
double newResidual);
71 void update(
double f,
double d,
bool yield);
74 virtual double getFactor(
void)
const;
80 virtual void Print(std::ostream &s,
int flag=0)
const;
83 virtual int createFullCycleTask();
84 virtual int createHalfCycleTask();
85 virtual double getTaskFactor()=0;
88 int setCurrent(
double f,
double d);
92 double rationalize(
double x1,
double y1,
double x2,
double y2);
93 bool contains(
double x1,
double x2,
double x);
Communication parameters between processes.
Definition: Communicator.h:66
Object that can move between processes.
Definition: MovableObject.h:100
virtual int sendSelf(Communicator &)
Send the object.
Definition: CyclicModel.h:76
virtual int recvSelf(const Communicator &)
Receive the object.
Definition: CyclicModel.h:78
Base class for object that model the cyclic behavior of semi-rigid connectors.
Definition: CyclicModel.h:39
Object idenfied by an integer (tag).
Definition: TaggedObject.h:92
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
virtual CyclicModel * getCopy()=0
Virtual constructor.
virtual void Print(std::ostream &s, int flag=0) const
Print stuff.
Definition: CyclicModel.cpp:350