CDT++
Causal Dynamical Triangulations in C++
Loading...
Searching...
No Matches
Macros | Functions | Variables
cdt-viewer.cpp File Reference

Views 3D spacetimes. More...

#include <CGAL/draw_triangulation_3.h>
#include <doctest/doctest.h>
#include <spdlog/spdlog.h>
#include <boost/program_options.hpp>
#include "Manifold.hpp"
#include "Utilities.hpp"
+ Include dependency graph for cdt-viewer.cpp:

Go to the source code of this file.

Functions

 catch (...)
 
 catch (std::exception const &e)
 
auto main (int const argc, char *const argv[]) -> int try
 
 SCENARIO ("Given a 3D Manifold, it can be written to file and read back in." *doctest::test_suite("cdt-viewer"))
 

Variables

static auto constexpr USAGE
 

Detailed Description

Views 3D spacetimes.

Author
Adam Getchell

Definition in file cdt-viewer.cpp.

Macro Definition Documentation

◆ DOCTEST_CONFIG_IMPLEMENT

#define DOCTEST_CONFIG_IMPLEMENT

Definition at line 16 of file cdt-viewer.cpp.

Function Documentation

◆ catch() [1/2]

catch (   ...)

Definition at line 113 of file cdt-viewer.cpp.

◆ catch() [2/2]

catch ( std::exception const &  e)

Definition at line 107 of file cdt-viewer.cpp.

◆ main()

auto main ( int const  argc,
char *const  argv[] 
) -> int try

Definition at line 41 of file cdt-viewer.cpp.

◆ SCENARIO()

SCENARIO ( "Given a 3D  Manifold,
it can be written to file and read back in." *   doctest::test_suite"cdt-viewer" 
)

Definition at line 119 of file cdt-viewer.cpp.

Variable Documentation

◆ USAGE

auto constexpr USAGE
staticconstexpr
Initial value:
=
R"(Causal Dynamical Triangulations in C++ using CGAL.
Copyright (c) 2022 Adam Getchell
A program that views 3D triangulated spacetimes with a defined causal
structure. Specify the filename of the triangulation to view.
Usage:
cdt-viewer -f FILENAME
Options)"

Definition at line 28 of file cdt-viewer.cpp.