Quasi-uniform surface rule for a unit-radius spherocylinder of cylindrical length AspectRatio.
More...
|
| static constexpr Kokkos::Array< Scalar, 3 *num_points > | points () |
| | The points as (x, y, z) triples, ordered by cylinder, north cap, then south cap.
|
| static constexpr Kokkos::Array< Scalar, num_points > | weights () |
| | The num_points surface-area weights, in the order of points().
|
| template<class Function> |
| static constexpr auto | integrate (const Function &f) |
| | sum_i w_i f(x_i, y_i, z_i), approximating the unit-radius spherocylinder surface integral.
|
template<class
Scalar, unsigned Ntheta,
double AspectRatio>
class mundy::QuasiUniformSpherocylinder< Scalar, Ntheta, AspectRatio >
Ntheta controls the circumferential resolution; the corresponding cylinder and cap counts are determined by the aspect ratio. Nodes and weights are computed at compile time and rounded to Scalar.