52 const c_vector<double, SPACE_DIM>& rUnitDifference,
53 double multiplicationFactor)
58 assert(overlap > -restLength);
59 return multiplicationFactor * this->mSpringStiffness * rUnitDifference * restLength * log(1.0 + overlap/restLength);
63 return multiplicationFactor * this->mSpringStiffness * rUnitDifference * overlap * exp(-mAlpha * overlap/restLength);
virtual void OutputForceParameters(out_stream &rParamsFile)