|
|
| WrappedGr (const WrappedGr &)=default |
|
WrappedGr & | operator= (const WrappedGr &)=default |
|
| WrappedGr (WrappedGr &&)=default |
|
WrappedGr & | operator= (WrappedGr &&)=default |
template<typename Arg1, typename Arg2, typename... Args>
requires (tmpl::size<options>::value > 0) |
| | WrappedGr (Arg1 &&, Arg2 &&arg2, Args &&... args) |
|
| WrappedGr (SolutionType wrapped_solution) |
|
const auto & | wrapped_solution () const |
| auto | get_clone () const -> std::unique_ptr< BackgroundSpacetime > override |
| | Copies the background spacetime. Must call initialize on the clone before using it.
|
|
tuples::tagged_tuple_from_typelist< tags > | variables (const tnsr::I< DataType, Dim, Frame > &x, double t, const std::optional< gsl::not_null< std::vector< size_t > * > >=std::nullopt) const override |
|
void | pup (PUP::er &p) override |
| virtual void | initialize (const std::array< double, 2 > time_bounds) |
| | Initialize the background spacetime, e.g. by reading data from a file.
|
| virtual std::array< double, 2 > | time_bounds () const |
| | Time bounds for which the background spacetime is valid. The variables function can be called for any time in this range (inclusive).
|
| virtual tuples::tagged_tuple_from_typelist< tags > | variables (const tnsr::I< DataType, Dim, Frame > &x, double t, std::optional< gsl::not_null< std::vector< size_t > * > > block_order=std::nullopt) const =0 |
| | Returns all spacetime variables at a given point in space and time.
|
template<typename SolutionType>
class ray_tracing::WrappedGr< SolutionType >
Analytic background spacetime from a GR or GRMHD solution.