SpECTRE  v2024.09.29
domain::CoordinateMaps::DistributionAndSingularityPosition Struct Reference

A Distribution and the corresponding singularity position. More...

#include <Distribution.hpp>

Public Attributes

Distribution distribution = Distribution::Linear
 
std::optional< double > singularity_position = std::nullopt
 

Detailed Description

A Distribution and the corresponding singularity position.

The singularity_position is only meaningful for Distribution::Logarithmic and Distribution::Inverse.

This class can be option-created like so:

  • Just the name of the distribution for Linear, Equiangular, and Projective.
  • The name of the distribution and the singularity position for Logarithmic and Inverse:
Logarithmic:
SingularityPosition: 0.0

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