5 //(maxEffTraction < 0.999*CzLaw.sigmaMax().value())
6 (returnReduce(maxEffTractionFraction, maxOp<scalar>()) < 0.99)
7 //&& (cohesivePatchU.size() == 0)
8 && (mag(runTime.deltaT().value() - deltaTmax) < SMALL)
11 runTime.setDeltaT(deltaTmax);
15 scalar newDeltaT = deltaTmin;
17 if (newDeltaT/runTime.deltaT().value() < 0.5)
19 newDeltaT = 0.5*runTime.deltaT().value();
20 Info << "Reducing time step" << nl;
23 runTime.setDeltaT(newDeltaT);
26 Pout << "Current time step size: "
27 << runTime.deltaT().value() << " s" << endl;
29 scalar maxDT = runTime.deltaT().value();
31 if(mag(returnReduce(maxDT, maxOp<scalar>()) - runTime.deltaT().value()) > SMALL)
33 FatalError << "Processors have different time-steps!"