bool FullDomainRunner::PrepareForFullDomainRun() { FullDomainRunOptionsDialog dlg; dlg.SetAdcircExecutable(adcircExecutableLocation); if (dlg.exec()) { adcircExecutableLocation = dlg.GetAdcircExecutableLocation(); runEnvironment = dlg.GetRunEnvironment(); std::cout << "ADCIRC: " << adcircExecutableLocation.toStdString() << std::endl; return CheckForRequiredFiles(); } return false; }
bool FullDomainRunner::PrepareForFullDomainRun() { FullDomainRunOptionsDialog dlg; dlg.SetAdcircExecutable(adcircExecutableLocation); if (dlg.exec()) { adcircExecutableLocation = dlg.GetAdcircExecutableLocation(); subdomainApproach = dlg.GetSubdomainApproach(); recordFrequency = dlg.GetRecordFrequency(); runEnvironment = dlg.GetRunEnvironment(); std::cout << subdomainApproach << recordFrequency << runEnvironment << std::endl; std::cout << adcircExecutableLocation.toStdString().data() << std::endl; if (!WriteFort015File()) { std::cout << "Did not write fort.015 file" << std::endl; return false; } return CheckForRequiredFiles(); } return false; }