#include "solver.hpp" namespace Kernel{ Solver::Solver(string filename){ fstream file; file.open(filename.c_str(),fstream::in|fstream::binary); input_data.load(file,true); file.close(); //Init Piccard object piccard.init(&input_data.geometry); //Create pool of solutions for(size_t i=0;iPinit[x][z]; } } //Init hydraulic head for(size_t x=0;xhsat[x]+Psat/(Physics::rho*Physics::g); } //Init overland level for(size_t x=0;xhsat[x]; s.l[x]=t; s.hsat[x]=t; } //Init Pl for(size_t x=0;x1) m1=m1/2; Solution* s=space_solution(); if(s==nullptr) return false; solutions[number_computed_solutions++]=s; //cout<<"[next] done"<1) cout<<" [Solver::spaceSolution] n1 = "<