| 65 |
|
public: |
| 66 |
|
LDForceManager(SimInfo * info); |
| 67 |
|
|
| 68 |
+ |
int getMaxIterationNumber() { |
| 69 |
+ |
return maxIterNum_; |
| 70 |
+ |
} |
| 71 |
+ |
|
| 72 |
+ |
void setMaxIterationNumber(int maxIter) { |
| 73 |
+ |
maxIterNum_ = maxIter; |
| 74 |
+ |
} |
| 75 |
+ |
|
| 76 |
+ |
RealType getForceTolerance() { |
| 77 |
+ |
return forceTolerance_; |
| 78 |
+ |
} |
| 79 |
+ |
|
| 80 |
+ |
void setForceTolerance(RealType tol) { |
| 81 |
+ |
forceTolerance_ = tol; |
| 82 |
+ |
} |
| 83 |
+ |
|
| 84 |
+ |
RealType getDt2() { |
| 85 |
+ |
return dt2_; |
| 86 |
+ |
} |
| 87 |
+ |
|
| 88 |
+ |
void setDt2(RealType dt2) { |
| 89 |
+ |
dt2_ = dt2; |
| 90 |
+ |
} |
| 91 |
+ |
|
| 92 |
+ |
|
| 93 |
|
protected: |
| 94 |
|
virtual void postCalculation(bool needStress); |
| 95 |
|
|
| 104 |
|
bool sphericalBoundaryConditions_; |
| 105 |
|
Globals* simParams; |
| 106 |
|
Velocitizer* veloMunge; |
| 107 |
+ |
// convergence parameters: |
| 108 |
+ |
int maxIterNum_; |
| 109 |
+ |
RealType forceTolerance_; |
| 110 |
+ |
RealType dt2_; |
| 111 |
|
}; |
| 112 |
|
|
| 113 |
|
} //end namespace oopse |