88 GRConstraint(
int pstart,
int pend,
double pvalue)
94 GRConstraint(
const GRConstraint &ct)
102 if (start == ct.start
104 && value == ct.value)
114 class GRSpaceForceFunction
121 friend class GRSpaceForceFunction;
130 virtual ~GRHashEntry()
135 GRHashEntry & operator=(
const GRHashEntry &he)
146 GRHashEntry(
const GRHashEntry &he)
156 int addConstraint(
int start,
int end,
double value);
157 int getMatrixRealSize();
158 int getMatrixMemSize();
159 double * getMatrix();
160 double * resizeMatrix(
int newrealsize);
162 int getMSCMatrixRealSize();
163 int getMSCMatrixMemSize();
164 double * getMSCMatrix();
166 double getMSCMatrix(
int i,
int j)
const;
167 void setMSCMatrix(
int i,
int j,
double value);
169 double * resizeMSCMatrix(
int newrealsize);
172 GRSpaceForceFunction(
const GRSpaceForceFunction &spf);
173 float EvaluateBreak(
float extent);
174 float getOptimumForce(
float sprconst);
178 void CopySPFWithoutSprings(
const GRSpaceForceFunction &spf);
179 void addSPF(
const GRSpaceForceFunction &spf);
181 GRSpaceForceFunction();
182 virtual ~GRSpaceForceFunction();
186 void changeSpringForce(
GRSpring *spr,
float newforce);
187 float getExtent(
float force)
const;
188 float getForce(
float extent,
189 ofstream *springlog = NULL);
227 #endif // ifdef OLDSPFACTIVE