Peano
Loading...
Searching...
No Matches
spacetimes.h File Reference
#include "ahf-data.h"
#include <array>
#include <cmath>
#include <complex>
#include <numbers>
#include <stdexcept>
#include <vector>
Include dependency graph for spacetimes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  exahype2::ccz4::ahf::SchwarzschildIsotropic
 Schwarzschild in isotropic coordinates (time symmetric, K_ij = 0). More...
struct  exahype2::ccz4::ahf::SchwarzschildKerrSchild
 Schwarzschild in Kerr-Schild coordinates (K_ij != 0, horizon at r = 2M). More...
struct  exahype2::ccz4::ahf::KerrKerrSchild
 Kerr in Kerr-Schild Cartesian coordinates, spin a along z. More...
struct  exahype2::ccz4::ahf::BrillLindquist
 Brill-Lindquist multi-puncture initial data (time symmetric, K_ij = 0). More...

Namespaces

namespace  exahype2
 This file is part of the ExaHyPE 2 project within Peano 4.
namespace  exahype2::ccz4
namespace  exahype2::ccz4::ahf
namespace  exahype2::ccz4::ahf::detail

Typedefs

template<class T>
using exahype2::ccz4::ahf::FieldVector = std::array<T, 3>
 Analytic spacetimes and the geometry they induce.
template<class T>
using exahype2::ccz4::ahf::FieldMatrix = std::array<std::array<T, 3>, 3>

Functions

template<class T>
T exahype2::ccz4::ahf::detail::radius (const FieldVector< T > &X)
 Euclidean radius |X| = sqrt(sum_i X_i^2); valid for real or complex T.
template<class T>
FieldMatrix< T > exahype2::ccz4::ahf::detail::identity ()
 3x3 identity in the scalar type T.
template<class Spacetime>
InterpolatedGeometryData exahype2::ccz4::ahf::MetricData (const Spacetime &spacetime, const Vector3 &X)
 Geometry derived from an analytic spacetime at the Cartesian point X, packed into the same InterpolatedGeometryData that the grid-interpolation path uses.