/home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/physics/integration/vacuum/integrator_p2.hh Source File#
|
DiFfRG
|
integrator_p2.hh
Go to the documentation of this file.
58 class Integrator_p2 : public QuadratureIntegrator<1, NT, internal::Transform_p2<dim, NT, KERNEL>, ExecutionSpace>
60 using Base = QuadratureIntegrator<1, NT, internal::Transform_p2<dim, NT, KERNEL>, ExecutionSpace>;
79 Integrator_p2(QuadratureProvider &quadrature_provider, const std::array<size_t, 1> grid_size, ctype x_extent = 2.)
Integrator_p2 integrates a kernel depending on the radial momentum as $$ \frac{S_d}...
Definition integrator_p2.hh:59
Integrator_p2(QuadratureProvider &quadrature_provider, const std::array< size_t, 1 > grid_size, ctype x_extent=2.)
Definition integrator_p2.hh:79
typename get_type::ctype< NT > ctype
Numerical type to be used for integration tasks e.g. the argument or possible jacobians.
Definition integrator_p2.hh:66
ExecutionSpace execution_space
Execution space to be used for the integration, e.g. GPU_exec, TBB_exec.
Definition integrator_p2.hh:70
Integrator_p2(QuadratureProvider &quadrature_provider, const JSONValue &json)
Definition integrator_p2.hh:72
This class performs numerical integration over a d-dimensional hypercube using quadrature rules.
Definition quadrature_integrator.hh:27
void set_grid_extents(const std::array< ctype, dim > &grid_min, const std::array< ctype, dim > &grid_max)
Definition quadrature_integrator.hh:54
QuadratureProvider & quadrature_provider
Definition quadrature_integrator.hh:297
device::array< size_t, dim > grid_size
Definition quadrature_integrator.hh:294
A class that provides quadrature points and weights, in host and device memory. The quadrature points...
Definition quadrature_provider.hh:137
Definition integrator_p2.hh:16
typename get_type::ctype< NT > ctype
Definition integrator_p2.hh:18
static KOKKOS_FORCEINLINE_FUNCTION NT kernel(const ctype q, const T &...t)
Definition integrator_p2.hh:24
static constexpr ctype int_prefactor
Definition integrator_p2.hh:20
static KOKKOS_FORCEINLINE_FUNCTION NT constant(const T &...t)
Definition integrator_p2.hh:36
Definition abstract_integrator.hh:46
Definition abstract_integrator.hh:42
Definition abstract_integrator.hh:28
Definition math.hh:220
std::array< size_t, dim > make_int_grid(const JSONValue &json, const std::array< std::string, dim > &names)
Definition abstract_integrator.hh:13
Definition complex_math.hh:10
constexpr KOKKOS_INLINE_FUNCTION NumberType powr(const NumberType x)
A compile-time evaluatable power function for whole number exponents.
Definition math.hh:41
consteval NT S_d_prec(uint d)
Surface of a d-dimensional sphere (precompiled)
Definition math.hh:112
Generated by