Finite Volume Solver  prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
Classes | Namespaces | Functions
RunSimulation.hpp File Reference
#include "fub/Duration.hpp"
#include "fub/TimeStepError.hpp"
#include "fub/core/assert.hpp"
#include "fub/ext/ProgramOptions.hpp"
#include "fub/counter/CounterRegistry.hpp"
#include "fub/counter/Timer.hpp"
#include "fub/output/BasicOutput.hpp"
#include <boost/log/common.hpp>
#include <boost/log/sources/severity_logger.hpp>
#include <boost/log/trivial.hpp>
#include <boost/outcome.hpp>
#include <fmt/format.h>
#include <optional>
#include <vector>

Go to the source code of this file.

Classes

struct  fub::RunOptions
 

Namespaces

 fub
 The fub namespace.
 

Functions

std::string fub::FormatTimeStepLine (std::ptrdiff_t cycle, std::chrono::duration< double > time_point, std::chrono::duration< double > time_step_size, std::chrono::duration< double > final_time, std::chrono::steady_clock::duration wall_time, std::chrono::steady_clock::duration wall_time_difference)
 
template<typename DestGrid , typename SrcGrid >
void fub::MakeBackup (std::shared_ptr< DestGrid > &dest, const std::shared_ptr< SrcGrid > &src, CounterRegistry &counter_database)
 
template<typename Solver , typename Grid = std::decay_t< decltype(*std::declval<Solver&>().GetGriddingAlgorithm())>>
void fub::RunSimulation (Solver &solver, RunOptions options, std::chrono::steady_clock::time_point wall_time_reference, BasicOutput< Grid > &output)