14#ifndef CDT_PLUSPLUS_GEOMETRY_HPP
15#define CDT_PLUSPLUS_GEOMETRY_HPP
21template <
int dimension>
26struct [[nodiscard(
"This contains data!")]]
Geometry<3>
67 : N3{static_cast<
Int_precision>(triangulation.number_of_finite_cells())}
68 , N3_31{static_cast<
Int_precision>(triangulation.get_three_one().size())}
69 , N3_13{static_cast<
Int_precision>(triangulation.get_one_three().size())}
70 , N3_31_13{N3_31 + N3_13}
71 , N3_22{static_cast<
Int_precision>(triangulation.get_two_two().size())}
72 , N2{static_cast<
Int_precision>(triangulation.number_of_finite_facets())}
73 ,
N1{static_cast<
Int_precision>(triangulation.number_of_finite_edges())}
74 , N1_TL{triangulation.N1_TL()}
75 , N1_SL{triangulation.N1_SL()}
76 , N0{static_cast<
Int_precision>(triangulation.number_of_vertices())}
88 spdlog::debug(
"{} called.\n", __PRETTY_FUNCTION__);
91 swap(swap_from.N3, swap_into.N3);
92 swap(swap_from.N3_31, swap_into.N3_31);
93 swap(swap_from.N3_13, swap_into.N3_13);
94 swap(swap_from.N3_31_13, swap_into.N3_31_13);
95 swap(swap_from.N3_22, swap_into.N3_22);
96 swap(swap_from.N2, swap_into.N2);
97 swap(swap_from.N1, swap_into.N1);
98 swap(swap_from.N1_TL, swap_into.N1_TL);
99 swap(swap_from.N1_SL, swap_into.N1_SL);
100 swap(swap_from.N0, swap_into.N0);
107struct [[nodiscard(
"This contains data!")]]
Geometry<4>
Create foliated spherical triangulations.
std::int_fast32_t Int_precision
3D Foliated triangulation
friend void swap(Geometry &swap_from, Geometry &swap_into) noexcept
Non-member swap function for Geometry.
Geometry()=default
Default ctor.
Geometry(foliated_triangulations::FoliatedTriangulation_3 const &triangulation)
Constructor with triangulation.