#include <Runtime_config.hpp>
Parameters shared by triangulation-producing command-line programs.
Instances can only be created by make_triangulation(), so the stored values carry the complete validated boundary contract.
Definition at line 28 of file Runtime_config.hpp.
◆ Triangulation() [1/2]
| cdt::runtime_config::Triangulation::Triangulation |
( |
Triangulation const & | other | ) |
|
|
default |
- Parameters
-
| other | Validated configuration to copy. |
◆ Triangulation() [2/2]
| cdt::runtime_config::Triangulation::Triangulation |
( |
Triangulation && | other | ) |
|
|
defaultnoexcept |
- Parameters
-
| other | Validated configuration to move. |
◆ dimensions()
| auto cdt::runtime_config::Triangulation::dimensions |
( |
| ) |
const -> Int_precision |
|
inlinenodiscardnoexcept |
◆ foliation_spacing()
| auto cdt::runtime_config::Triangulation::foliation_spacing |
( |
| ) |
const -> double |
|
inlinenodiscardnoexcept |
◆ initial_radius()
| auto cdt::runtime_config::Triangulation::initial_radius |
( |
| ) |
const -> double |
|
inlinenodiscardnoexcept |
◆ operator=() [1/2]
| auto cdt::runtime_config::Triangulation::operator= |
( |
Triangulation && | other | ) |
-> Triangulation &=default |
|
defaultnoexcept |
- Parameters
-
| other | Validated configuration to move. |
- Returns
- This configuration after assignment.
◆ operator=() [2/2]
| auto cdt::runtime_config::Triangulation::operator= |
( |
Triangulation const & | other | ) |
-> Triangulation &=default |
|
default |
- Parameters
-
| other | Validated configuration to copy. |
- Returns
- This configuration after assignment.
◆ seed()
◆ simplices()
| auto cdt::runtime_config::Triangulation::simplices |
( |
| ) |
const -> Int_precision |
|
inlinenodiscardnoexcept |
◆ threads()
| auto cdt::runtime_config::Triangulation::threads |
( |
| ) |
const -> std::size_t |
|
inlinenodiscardnoexcept |
- Returns
- The maximum oneTBB concurrency for eligible Delaunay work.
Definition at line 103 of file Runtime_config.hpp.
◆ timeslices()
| auto cdt::runtime_config::Triangulation::timeslices |
( |
| ) |
const -> Int_precision |
|
inlinenodiscardnoexcept |
◆ topology()
| auto cdt::runtime_config::Triangulation::topology |
( |
| ) |
const -> Topology |
|
inlinenodiscardnoexcept |
◆ make_triangulation
| auto make_triangulation |
( |
bool | spherical, |
|
|
bool | toroidal, |
|
|
long long | simplices, |
|
|
long long | timeslices, |
|
|
long long | dimensions, |
|
|
double | initial_radius, |
|
|
double | foliation_spacing, |
|
|
cdt::RandomSeed | seed = cdt::RandomSeed{}, |
|
|
long long | threads = 1 ) -> Triangulation |
|
friend |
Validate raw triangulation options and narrow them into project types.
- Parameters
-
| spherical | Whether spherical topology was selected. |
| toroidal | Whether toroidal topology was selected; currently rejected. |
| simplices | Requested target number of simplices; must be at least two. |
| timeslices | Requested number of timeslices; must be at least two. |
| dimensions | Requested dimensionality; must equal three. |
| initial_radius | Positive finite radius of the first timeslice. |
| foliation_spacing | Positive finite spacing between timeslices. |
| seed | Root random seed to retain. |
| threads | Positive maximum concurrency; serial builds require one. |
- Returns
- A configuration containing only validated domain values.
- Exceptions
-
| std::invalid_argument | for conflicting/unsupported topology, invalid dimensions or counts, non-finite/non-positive geometry, or an unsupported serial-build thread count. |
| std::out_of_range | when a count exceeds a project type or generated population bound. |
Definition at line 303 of file Runtime_config.hpp.
References dimensions(), foliation_spacing(), initial_radius(), make_triangulation, seed(), simplices(), and timeslices().
Referenced by make_triangulation.
The documentation for this class was generated from the following file: