CDT++
Causal Dynamical Triangulations in C++
Loading...
Searching...
No Matches
Functions | Variables
Ergodic_moves_3_test.cpp File Reference

Tests for ergodic moves on foliated triangulations. More...

#include "Ergodic_moves_3.hpp"
#include <doctest/doctest.h>
#include <numbers>
+ Include dependency graph for Ergodic_moves_3_test.cpp:

Go to the source code of this file.

Functions

 SCENARIO ("Perform bistellar flip on Delaunay triangulation" *doctest::test_suite("ergodic"))
 
 SCENARIO ("Perform ergodic moves on the minimal manifold necessary (2,6) and (6,2) moves" *doctest::test_suite("ergodic"))
 
 SCENARIO ("Perform ergodic moves on the minimal manifold necessary (4,4) moves" *doctest::test_suite("ergodic") *doctest::skip())
 
 SCENARIO ("Perform ergodic moves on the minimal manifold necessary for (2,3) and (3,2) moves" *doctest::test_suite("ergodic"))
 
 SCENARIO ("Test convenience functions needed for bistellar flip" *doctest::test_suite("ergodic"))
 
 SCENARIO ("Use check_move to validate successful move" *doctest::test_suite("ergodic"))
 

Variables

static std::floating_point auto constexpr INV_SQRT_2 = 1 / SQRT_2
 
static std::floating_point auto constexpr RADIUS_2
 
static std::floating_point auto constexpr SQRT_2
 

Detailed Description

Tests for ergodic moves on foliated triangulations.

Author
Adam Getchell

Tests for S3 ergodic moves: (2,3), (3,2), (2,6), (6,2), and (4,4)

Definition in file Ergodic_moves_3_test.cpp.

Function Documentation

◆ SCENARIO() [1/6]

SCENARIO ( "Perform bistellar flip on Delaunay triangulation" *  doctest::test_suite"ergodic")

FIXME: This fails because the triangulation is not valid after the flip neighbor of c has not c as neighbor

Definition at line 518 of file Ergodic_moves_3_test.cpp.

References SCENARIO().

◆ SCENARIO() [2/6]

SCENARIO ( "Perform ergodic moves on the minimal manifold necessary   2,6) and (6,2) moves" *doctest::test_suite("ergodic")

Definition at line 219 of file Ergodic_moves_3_test.cpp.

◆ SCENARIO() [3/6]

SCENARIO ( "Perform ergodic moves on the minimal manifold necessary   4,4) moves" *doctest::test_suite("ergodic") *doctest::skip()

Definition at line 374 of file Ergodic_moves_3_test.cpp.

◆ SCENARIO() [4/6]

SCENARIO ( "Perform ergodic moves on the minimal manifold necessary for   2,3) and (3,2) moves" *doctest::test_suite("ergodic")

Definition at line 79 of file Ergodic_moves_3_test.cpp.

◆ SCENARIO() [5/6]

SCENARIO ( "Test convenience functions needed for bistellar flip" *  doctest::test_suite"ergodic")

Definition at line 436 of file Ergodic_moves_3_test.cpp.

◆ SCENARIO() [6/6]

SCENARIO ( "Use check_move to validate successful move" *  doctest::test_suite"ergodic")

Definition at line 27 of file Ergodic_moves_3_test.cpp.

Variable Documentation

◆ INV_SQRT_2

std::floating_point auto constexpr INV_SQRT_2 = 1 / SQRT_2
inlinestaticconstexpr

Definition at line 25 of file Ergodic_moves_3_test.cpp.

◆ RADIUS_2

std::floating_point auto constexpr RADIUS_2
inlinestaticconstexpr
Initial value:
=
2.0 * std::numbers::inv_sqrt3_v<double>

Definition at line 21 of file Ergodic_moves_3_test.cpp.

◆ SQRT_2

std::floating_point auto constexpr SQRT_2
inlinestaticconstexpr
Initial value:
=
std::numbers::sqrt2_v<double>

Definition at line 23 of file Ergodic_moves_3_test.cpp.