CDT++
Causal Dynamical Triangulations in C++
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Friends | List of all members
Geometry< 3 > Struct Reference

3D Geometry More...

#include <Geometry.hpp>

+ Collaboration diagram for Geometry< 3 >:

Public Member Functions

 Geometry ()=default
 Default ctor.
 
 Geometry (foliated_triangulations::FoliatedTriangulation_3 const &triangulation)
 Constructor with triangulation.
 

Public Attributes

Int_precision N0 {0}
 Number of vertices.
 
Int_precision N1 {0}
 Number of 1D edges.
 
Int_precision N1_SL {0}
 Number of spacelike edges.
 
Int_precision N1_TL {0}
 Number of timelike edges.
 
Int_precision N2 {0}
 Number of 2D faces.
 
Int_precision N3 {0}
 Number of 3D simplices.
 
Int_precision N3_13 {0}
 Number of (1,3) simplices.
 
Int_precision N3_22 {0}
 Number of (2,2) simplices.
 
Int_precision N3_31 {0}
 Number of (3,1) simplices.
 
Int_precision N3_31_13 {0}
 Number of (3,1) + (1,3) simplices.
 

Friends

void swap (Geometry &swap_from, Geometry &swap_into) noexcept
 Non-member swap function for Geometry.
 

Detailed Description

3D Geometry

Definition at line 26 of file Geometry.hpp.

Constructor & Destructor Documentation

◆ Geometry()

Geometry< 3 >::Geometry ( foliated_triangulations::FoliatedTriangulation_3 const &  triangulation)
inlineexplicit

Constructor with triangulation.

Parameters
triangulationTriangulation for which Geometry is being calculated

Definition at line 64 of file Geometry.hpp.

Friends And Related Function Documentation

◆ swap

void swap ( Geometry< 3 > &  swap_from,
Geometry< 3 > &  swap_into 
)
friend

Non-member swap function for Geometry.

Used for no-except updates of geometry data structures. Usually called from a Manifold swap.

Parameters
swap_fromThe value to be swapped from. Assumed to be discarded.
swap_intoThe value to be swapped into.

Definition at line 85 of file Geometry.hpp.

Member Data Documentation

◆ N0

Int_precision Geometry< 3 >::N0 {0}

Number of vertices.

Definition at line 56 of file Geometry.hpp.

Referenced by manifolds::Manifold< 3 >::N0().

◆ N1

Int_precision Geometry< 3 >::N1 {0}

Number of 1D edges.

Definition at line 47 of file Geometry.hpp.

Referenced by manifolds::Manifold< 3 >::N1().

◆ N1_SL

Int_precision Geometry< 3 >::N1_SL {0}

Number of spacelike edges.

Definition at line 53 of file Geometry.hpp.

◆ N1_TL

Int_precision Geometry< 3 >::N1_TL {0}

Number of timelike edges.

Definition at line 50 of file Geometry.hpp.

◆ N2

Int_precision Geometry< 3 >::N2 {0}

Number of 2D faces.

Definition at line 44 of file Geometry.hpp.

Referenced by manifolds::Manifold< 3 >::N2().

◆ N3

Int_precision Geometry< 3 >::N3 {0}

Number of 3D simplices.

Definition at line 29 of file Geometry.hpp.

Referenced by manifolds::Manifold< 3 >::N3().

◆ N3_13

Int_precision Geometry< 3 >::N3_13 {0}

Number of (1,3) simplices.

Definition at line 35 of file Geometry.hpp.

Referenced by manifolds::Manifold< 3 >::N3_13().

◆ N3_22

Int_precision Geometry< 3 >::N3_22 {0}

Number of (2,2) simplices.

Definition at line 41 of file Geometry.hpp.

Referenced by manifolds::Manifold< 3 >::N3_22().

◆ N3_31

Int_precision Geometry< 3 >::N3_31 {0}

Number of (3,1) simplices.

Definition at line 32 of file Geometry.hpp.

Referenced by manifolds::Manifold< 3 >::N3_31().

◆ N3_31_13

Int_precision Geometry< 3 >::N3_31_13 {0}

Number of (3,1) + (1,3) simplices.

Definition at line 38 of file Geometry.hpp.

Referenced by manifolds::Manifold< 3 >::N3_31_13().


The documentation for this struct was generated from the following file: