Commit 3c8a41ad authored by tobias's avatar tobias
Browse files

First part of cookbook works - even with degenerated solvers.

parent ee756dd1
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -20,7 +20,6 @@
 * For the full license text, see LICENSE.txt
 */
exahype-project EulerFV

  peano-kernel-path          = ./Peano
  exahype-path               = ./ExaHyPE
  output-directory           = ./Demonstrators/EulerFV
+29 −0
Original line number Diff line number Diff line
/**
 * 
 * Trivial project
 * 
 * This setup corresponds to the trivial project from the guidebook. 
 * 
 * This file is part of the ExaHyPE project.
 * Copyright (c) 2016  http://exahype.eu
 * All rights reserved.
 *
 * The project has received funding from the European Union's Horizon 
 * 2020 research and innovation programme under grant agreement
 * No 671698. For copyrights and licensing, please consult the webpage.
 *
 * Released under the BSD 3 Open Source License.
 * For the full license text, see LICENSE.txt
 */
exahype-project  TrivialProject
  peano-kernel-path          = ./Peano
  exahype-path               = ./ExaHyPE
  output-directory           = ./Demonstrators/TrivialProject
  
  computational-domain
    dimension                = 2
    width                    = 1.0, 1.0
    offset                   = 0.0, 0.0
    end-time                 = 10.0
  end computational-domain
end exahype-project  
+93 −90
Original line number Diff line number Diff line
@@ -418,6 +418,7 @@ void exahype::runners::Runner::createGrid(exahype::repositories::Repository& rep
int exahype::runners::Runner::runAsMaster(exahype::repositories::Repository& repository) {
  peano::utils::UserInterface::writeHeader();

  if (!exahype::solvers::RegisteredSolvers.empty()) {
    initSolverTimeStepData();
    repository.getState().switchToPreAMRContext();
    createGrid(repository);
@@ -526,7 +527,9 @@ int exahype::runners::Runner::runAsMaster(exahype::repositories::Repository& rep
      logWarning("runAsMaster(...)","Minimum solver time step size is zero (up to machine precision).");
    }

  repository.logIterationStatistics(true);
    repository.logIterationStatistics(false);
  }

  repository.terminate();

  return 0;