You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::cout << "Trying to solve without extrapolated values:";
350
+
if (_generateoutput) std::cout << "Trying to solve without extrapolated values:";
326
351
for (int i=0;i<_dimSys;i++){
327
352
std::cout << _y[i] << "";
328
353
}
@@ -461,10 +486,6 @@ void Nox::LocaHomotopySolve(const int numberofhomotopytries)
461
486
{
462
487
if((_generateoutput)) std::cout << "We are going to solve algloop " << _algLoop->getEquationIndex() << "using homotopy with numberofhomotopytries=" << numberofhomotopytries << std::endl;
463
488
464
-
// Reset initial guess
465
-
memcpy(_y,_y0,_dimSys*sizeof(double));
466
-
_algLoop->setReal(_y);
467
-
468
489
//We are setting up the problem to perform arc-length continuation in the parameter "lambda" from 0 to 1 with a maximum of 50 continuation steps and maxNewtonIters nonlinear iterations per step.
469
490
//Since we are doing an equilibrium continuation, we set the bifurcation method to "None".
470
491
//We use a secant predictor and adaptive step size control with an initial step size of 0.1, maximum of 1.0 and minimum of 0.001.
0 commit comments