/home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/physics/integration/finiteT/integrator_fT_p2.hh Source File#
|
DiFfRG
|
integrator_fT_p2.hh
Go to the documentation of this file.
41 : public QuadratureIntegrator_fT<2, NT, internal::Transform_fT_p2<dim, NT, KERNEL>, ExecutionSpace>
43 using Base = QuadratureIntegrator_fT<2, NT, internal::Transform_fT_p2<dim, NT, KERNEL>, ExecutionSpace>;
64 : Base(quadrature_provider, grid_size, {0}, {std::sqrt(x_extent)}, {QuadratureType::legendre}, T, typical_E),
Definition integrator_fT_p2.hh:42
Integrator_fT_p2(QuadratureProvider &quadrature_provider, const std::array< size_t, 1 > grid_size, ctype x_extent=2., ctype T=1, ctype typical_E=1)
Definition integrator_fT_p2.hh:62
ExecutionSpace execution_space
Execution space to be used for the integration, e.g. GPU_exec, TBB_exec.
Definition integrator_fT_p2.hh:53
typename get_type::ctype< NT > ctype
Numerical type to be used for integration tasks e.g. the argument or possible jacobians.
Definition integrator_fT_p2.hh:49
void set_x_extent(ctype x_extent)
Definition integrator_fT_p2.hh:69
Integrator_fT_p2(QuadratureProvider &quadrature_provider, const JSONValue &json)
Definition integrator_fT_p2.hh:55
void set_typical_E(ctype typical_E)
Definition integrator_fT_p2.hh:82
Definition quadrature_integrator_fT.hh:19
ctype typical_E
Definition quadrature_integrator_fT.hh:363
QuadratureProvider & quadrature_provider
Definition quadrature_integrator_fT.hh:353
void set_typical_E(const ctype typical_E)
Definition quadrature_integrator_fT.hh:82
void set_grid_extents(const std::array< ctype, sdim > grid_min, const std::array< ctype, sdim > grid_max)
Definition quadrature_integrator_fT.hh:59
device::array< size_t, dim > grid_size
Definition quadrature_integrator_fT.hh:358
ctype T
Definition quadrature_integrator_fT.hh:363
A class that provides quadrature points and weights, in host and device memory. The quadrature points...
Definition quadrature_provider.hh:137
Definition integrator_fT_p2.hh:12
typename get_type::ctype< NT > ctype
Definition integrator_fT_p2.hh:14
static KOKKOS_FORCEINLINE_FUNCTION NT kernel(const ctype q, const ctype q0, const T &...t)
Definition integrator_fT_p2.hh:21
static constexpr ctype int_prefactor
Definition integrator_fT_p2.hh:17
static KOKKOS_FORCEINLINE_FUNCTION NT constant(const T &...t)
Definition integrator_fT_p2.hh:31
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