|
CDT++ 1.0.0-rc3
Causal Dynamical Triangulations in C++
|
#include <Manifold.hpp>
Public Member Functions | |
| Manifold ()=default | |
| Default ctor. | |
| Manifold (Causal_vertices_t< 3 > const &causal_vertices, double const t_initial_radius=INITIAL_RADIUS, double const t_foliation_spacing=FOLIATION_SPACING) | |
| Construct manifold from Causal_vertices. | |
| Manifold (Int_precision const t_desired_simplices, Int_precision const t_desired_timeslices, cdt::Random &&generator, double const t_initial_radius=INITIAL_RADIUS, double const t_foliation_spacing=FOLIATION_SPACING) | |
| Construct from an explicit temporary initialization stream. | |
| Manifold (Int_precision const t_desired_simplices, Int_precision const t_desired_timeslices, cdt::Random &generator, double const t_initial_radius=INITIAL_RADIUS, double const t_foliation_spacing=FOLIATION_SPACING) | |
| Construct a manifold with a caller-owned initialization stream. | |
| Manifold (Manifold &&other) noexcept=default | |
| Default move ctor. | |
| Manifold (Manifold const &other)=default | |
| Default copy ctor. | |
| Manifold (Triangulation t_foliated_triangulation) | |
| Construct manifold from a Foliated triangulation. | |
| ~Manifold ()=default | |
| Default dtor. | |
| auto | check_simplices () const -> bool |
| auto | check_vertices () const -> bool |
| auto | delaunay_snapshot () const -> Delaunay_t< 3 > |
| auto | dimensionality () const |
| auto | edges () const |
| auto | faces () const |
| auto | foliation_spacing () const |
| auto | geometry () const -> Geometry const & |
| auto | initial_radius () const |
| auto | is_correct () const -> bool |
| auto | is_correct_with_diagnostics () const -> bool |
| auto | is_delaunay () const -> bool |
| Forwarding to FoliatedTriangulation.is_delaunay(). | |
| auto | is_foliated () const -> bool |
| Forwarding to FoliatedTriangulation_3.is_foliated(). | |
| auto | is_structurally_correct () const -> bool |
| auto | is_valid () const -> bool |
| Forwarding to FoliatedTriangulation.is_tds_valid(). | |
| auto | max_time () const |
| auto | min_time () const |
| auto | N0 () const |
| auto | N1 () const |
| auto | N1_SL () const |
| auto | N1_TL () const |
| auto | N2 () const |
| auto | N3 () const |
| auto | N3_13 () const |
| auto | N3_22 () const |
| auto | N3_31 () const |
| auto | N3_31_13 () const |
| auto | operator= (Manifold &&other) noexcept -> Manifold & |
| Default move assignment. | |
| auto | operator= (Manifold const &other) -> Manifold &=default |
| Default copy assignment. | |
| void | print () const |
| Print manifold. | |
| void | print_cells () const |
| Print timevalues of each vertex in the cell and the resulting cell->info(). | |
| void | print_details () const |
| Print details of the manifold. | |
| void | print_vertices () const |
| Print values of a vertex->info(). | |
| void | print_volume_per_timeslice () const |
| Print the codimension 1 volume of simplices (faces) per timeslice. | |
| auto | simplices () const |
| auto | spacelike_face_count (Int_precision const timevalue) const noexcept -> std::size_t |
| auto | updated () const -> Manifold |
| Return a manifold rebuilt from the current canonical topology. | |
| auto | vertices () const |
Static Public Attributes | |
| static constexpr int | dimension = 3 |
| Dimensionality of the manifold. | |
| static constexpr Topology | topology = Topology::SPHERICAL |
| Topology of the manifold. | |
Friends | |
| void | swap (Manifold &swap_from, Manifold &swap_into) noexcept |
| Non-member swap function for Manifolds. | |
3D Manifold
Definition at line 44 of file Manifold.hpp.
|
default |
|
defaultnoexcept |
|
inlineexplicit |
Construct manifold from a Foliated triangulation.
| t_foliated_triangulation | Triangulation used to construct manifold |
Definition at line 112 of file Manifold.hpp.
|
inline |
Construct a manifold with a caller-owned initialization stream.
| t_desired_simplices | Desired number of simplices |
| t_desired_timeslices | Desired number of timeslices |
| generator | Caller-owned initialization stream whose state is advanced during construction |
| t_initial_radius | Radius of the first timeslice |
| t_foliation_spacing | Radial separation between timeslices |
| std::invalid_argument | if the counts or geometry are invalid, the generated points are not unique, or construction produces no vertices. |
| std::out_of_range | if a layer population cannot be represented. |
generator may have advanced if construction fails after sampling begins. Definition at line 129 of file Manifold.hpp.
References Manifold(), cdt::FOLIATION_SPACING, and cdt::INITIAL_RADIUS.
|
inline |
Construct from an explicit temporary initialization stream.
| t_desired_simplices | Desired number of simplices |
| t_desired_timeslices | Desired number of timeslices |
| generator | Temporary initialization stream whose state is consumed during construction |
| t_initial_radius | Radius of the first timeslice |
| t_foliation_spacing | Radial separation between timeslices |
| std::invalid_argument | if the counts or geometry are invalid, the generated points are not unique, or construction produces no vertices. |
| std::out_of_range | if a layer population cannot be represented. |
Definition at line 149 of file Manifold.hpp.
References Manifold(), cdt::FOLIATION_SPACING, and cdt::INITIAL_RADIUS.
|
inlineexplicit |
Construct manifold from Causal_vertices.
| causal_vertices | Causal_vertices to place into the Manifold |
| t_initial_radius | Radius of first timeslice |
| t_foliation_spacing | Radial separation between timeslices |
t_initial_radius and t_foliation_spacing are finite and positive. | std::invalid_argument | if causal_vertices is empty or contains duplicate geometric points. |
Definition at line 165 of file Manifold.hpp.
References Manifold(), cdt::FOLIATION_SPACING, and cdt::INITIAL_RADIUS.
|
inlinenodiscard |
Definition at line 316 of file Manifold.hpp.
References N3(), and simplices().
|
inlinenodiscard |
Definition at line 323 of file Manifold.hpp.
|
inlinenodiscard |
Handles obtained from the snapshot cannot mutate this manifold or invalidate its derived geometry and topology caches.
Definition at line 196 of file Manifold.hpp.
|
inlinenodiscard |
Definition at line 232 of file Manifold.hpp.
|
inlinenodiscard |
Definition at line 291 of file Manifold.hpp.
|
inlinenodiscard |
Definition at line 275 of file Manifold.hpp.
|
inlinenodiscard |
Definition at line 240 of file Manifold.hpp.
|
inlinenodiscard |
Definition at line 200 of file Manifold.hpp.
|
inlinenodiscard |
Definition at line 236 of file Manifold.hpp.
|
inlinenodiscard |
Definition at line 223 of file Manifold.hpp.
References is_structurally_correct().
|
inlinenodiscard |
This opt-in diagnostic performs cache-rebuilding scans.
Definition at line 228 of file Manifold.hpp.
|
inlinenodiscard |
Forwarding to FoliatedTriangulation.is_delaunay().
Definition at line 210 of file Manifold.hpp.
|
inlinenodiscard |
Forwarding to FoliatedTriangulation_3.is_foliated().
Definition at line 205 of file Manifold.hpp.
|
inlinenodiscard |
Definition at line 219 of file Manifold.hpp.
Referenced by is_correct().
|
inlinenodiscard |
Forwarding to FoliatedTriangulation.is_tds_valid().
Definition at line 215 of file Manifold.hpp.
|
inlinenodiscard |
Definition at line 311 of file Manifold.hpp.
|
inlinenodiscard |
Definition at line 307 of file Manifold.hpp.
|
inlinenodiscard |
Definition at line 298 of file Manifold.hpp.
Referenced by print().
|
inlinenodiscard |
Definition at line 282 of file Manifold.hpp.
Referenced by print().
|
inlinenodiscard |
Definition at line 285 of file Manifold.hpp.
Referenced by print_details().
|
inlinenodiscard |
Definition at line 288 of file Manifold.hpp.
Referenced by print_details().
|
inlinenodiscard |
Definition at line 266 of file Manifold.hpp.
Referenced by print().
|
inlinenodiscard |
Definition at line 244 of file Manifold.hpp.
Referenced by check_simplices(), and print().
|
inlinenodiscard |
Definition at line 253 of file Manifold.hpp.
Referenced by print_details().
|
inlinenodiscard |
Definition at line 250 of file Manifold.hpp.
Referenced by print_details().
|
inlinenodiscard |
Definition at line 247 of file Manifold.hpp.
Referenced by print_details().
|
inlinenodiscard |
Definition at line 256 of file Manifold.hpp.
|
inlinenoexcept |
Default move assignment.
| other | Manifold whose state is transferred. |
Definition at line 93 of file Manifold.hpp.
References Manifold(), and swap.
|
default |
Default copy assignment.
| other | Manifold to copy. |
References Manifold().
|
inline |
|
inline |
Print timevalues of each vertex in the cell and the resulting cell->info().
Definition at line 337 of file Manifold.hpp.
|
inline |
|
inline |
Print values of a vertex->info().
Definition at line 333 of file Manifold.hpp.
|
inline |
Print the codimension 1 volume of simplices (faces) per timeslice.
Definition at line 327 of file Manifold.hpp.
Referenced by main().
|
inlinenodiscard |
Definition at line 259 of file Manifold.hpp.
Referenced by check_simplices().
|
inlinenodiscardnoexcept |
| timevalue | Timeslice whose faces are counted. |
Definition at line 270 of file Manifold.hpp.
|
inlinenodiscard |
Return a manifold rebuilt from the current canonical topology.
The source remains unchanged. The returned triangulation caches and geometry are constructed together, so failure cannot publish a partially updated state.
Definition at line 180 of file Manifold.hpp.
References Manifold(), and CDT_PRETTY_FUNCTION.
|
inlinenodiscard |
Definition at line 301 of file Manifold.hpp.
Non-member swap function for Manifolds.
Used for noexcept updates of manifolds after moves.
| swap_from | The value to be swapped from. Assumed to be discarded. |
| swap_into | The value to be swapped into. |
Definition at line 103 of file Manifold.hpp.
References Manifold(), and swap.
Referenced by operator=(), and swap.
|
staticconstexpr |
Dimensionality of the manifold.
Used to determine the manifold dimension at compile-time
Definition at line 66 of file Manifold.hpp.
|
staticconstexpr |
Topology of the manifold.
Definition at line 69 of file Manifold.hpp.