26 fmt::print(
"cdt-opt started at {}\n", utilities::current_date_time());
30 auto constexpr alpha =
static_cast<long double>(0.6);
31 auto constexpr k =
static_cast<long double>(1.1);
33 auto constexpr lambda =
static_cast<long double>(0.1);
38 utilities::create_logger();
52 auto const result = run(universe);
54 if (
auto max_timevalue = result.max_time(); max_timevalue < timeslices)
56 spdlog::info(
"You wanted {} timeslices but only got {}.\n", timeslices,
60 if (!result.is_valid()) {
throw runtime_error(
"Result is invalid!\n"); }
63 fmt::print(
"=== Run Results ===\n");
65 result.print_details();
66 result.print_volume_per_timeslice();
70catch (runtime_error
const& RuntimeError)
72 spdlog::critical(
"{}\n", RuntimeError.what());
77 spdlog::critical(
"Something went wrong ... Exiting.\n");
Perform Metropolis-Hastings algorithm on Delaunay Triangulations.
Randomly selects moves to always perform on triangulations.
std::int_fast32_t Int_precision
void print() const
Print manifold.
void print_details() const
Print details of the manifold.
void print_volume_per_timeslice() const
Print the codimension 1 volume of simplices (faces) per timeslice.