SpECTRE
v2025.03.17
|
A Lorentzian solution to the Poisson equation. More...
#include <Lorentzian.hpp>
Classes | |
struct | ComplexPhase |
struct | PlusConstant |
Public Types | |
using | options = implementation defined |
Public Member Functions | |
Lorentzian (const Lorentzian &)=default | |
Lorentzian & | operator= (const Lorentzian &)=default |
Lorentzian (Lorentzian &&)=default | |
Lorentzian & | operator= (Lorentzian &&)=default |
Lorentzian (const double constant, const double complex_phase=0.) | |
double | constant () const |
double | complex_phase () const |
std::unique_ptr< elliptic::analytic_data::AnalyticSolution > | get_clone () const override |
template<typename... RequestedTags> | |
tuples::TaggedTuple< RequestedTags... > | variables (const tnsr::I< DataVector, Dim > &x, tmpl::list< RequestedTags... >) const |
void | pup (PUP::er &p) override |
virtual std::unique_ptr< AnalyticSolution > | get_clone () const =0 |
Static Public Attributes | |
static constexpr Options::String | help |
A Lorentzian solution to the Poisson equation.
This implements the Lorentzian solution
If DataType
is ComplexDataVector
, the solution is multiplied by exp(i * complex_phase)
to rotate it in the complex plane. This allows to use this solution for the complex Poisson equation.
|
inlineoverridevirtual |
Implements elliptic::analytic_data::AnalyticSolution.
|
staticconstexpr |