|
| PlaneWave (std::array< double, Dim > wave_vector, std::array< double, Dim > center, std::unique_ptr< MathFunction< 1, Frame::Inertial > > profile) |
|
| PlaneWave (const PlaneWave &) |
|
PlaneWave & | operator= (const PlaneWave &) |
|
| PlaneWave (PlaneWave &&)=default |
|
PlaneWave & | operator= (PlaneWave &&)=default |
|
auto | get_clone () const -> std::unique_ptr< evolution::initial_data::InitialData > override |
|
template<typename T > |
Scalar< T > | psi (const tnsr::I< T, Dim > &x, double t) const |
| The value of the scalar field.
|
|
template<typename T > |
Scalar< T > | dpsi_dt (const tnsr::I< T, Dim > &x, double t) const |
| The time derivative of the scalar field.
|
|
template<typename T > |
tnsr::i< T, Dim > | dpsi_dx (const tnsr::I< T, Dim > &x, double t) const |
| The spatial derivatives of the scalar field.
|
|
template<typename T > |
Scalar< T > | d2psi_dt2 (const tnsr::I< T, Dim > &x, double t) const |
| The second time derivative of the scalar field.
|
|
template<typename T > |
tnsr::i< T, Dim > | d2psi_dtdx (const tnsr::I< T, Dim > &x, double t) const |
| The second mixed derivatives of the scalar field.
|
|
template<typename T > |
tnsr::ii< T, Dim > | d2psi_dxdx (const tnsr::I< T, Dim > &x, double t) const |
| The second spatial derivatives of the scalar field.
|
|
tuples::TaggedTuple< Tags::Psi, Tags::Pi, Tags::Phi< Dim > > | variables (const tnsr::I< DataVector, Dim > &x, double t, tmpl::list< Tags::Psi, Tags::Pi, Tags::Phi< Dim > >) const |
| Retrieve the evolution variables at time t and spatial coordinates x
|
|
tuples::TaggedTuple<::Tags::dt< Tags::Psi >, ::Tags::dt< Tags::Pi >, ::Tags::dt< Tags::Phi< Dim > > > | variables (const tnsr::I< DataVector, Dim > &x, double t, tmpl::list<::Tags::dt< Tags::Psi >, ::Tags::dt< Tags::Pi >, ::Tags::dt< Tags::Phi< Dim > > >) const |
| Retrieve the time derivative of the evolution variables at time t and spatial coordinates x More...
|
|
void | pup (PUP::er &p) override |
|
virtual auto | get_clone () const -> std::unique_ptr< InitialData >=0 |
|
template<size_t Dim>
class ScalarWave::Solutions::PlaneWave< Dim >
A plane wave solution to the Euclidean wave equation.
The solution is given by \(\Psi(\vec{x},t) = F(u(\vec{x},t))\) where the profile \(F\) of the plane wave is an arbitrary one-dimensional function of \(u = \vec{k} \cdot (\vec{x} - \vec{x_o}) - \omega t\) with the wave vector \(\vec{k}\), the frequency \(\omega = ||\vec{k}||\) and initial center of the profile \(\vec{x_o}\).
- Template Parameters
-
Dim | the spatial dimension of the solution |