7#ifndef CALLBACK_UTILS_RADIUS_HPP
8#define CALLBACK_UTILS_RADIUS_HPP
23 template<
typename AFields,
typename RField>
27 static_assert(RField::dim == 1);
29 static_assert(std::is_floating_point_v<typename RField::value_type>);
30 typename RField::value_type scaling;
34 Simple (
typename RField::value_type scaling_) :
41 scaling { (typename RField::value_type)1.0 }
46 return scaling * grp.template get<RField>();
Contains the abstract base class that the user should subclass from in order to define the desired fu...
Specialization of the Callback::BaseProperties type to groups.
Definition callback.hpp:85
radius is propertional to one of the group properties.
Definition callback_utils_radius.hpp:26
Simple(typename RField::value_type scaling_)
Definition callback_utils_radius.hpp:34
Simple()
Definition callback_utils_radius.hpp:40
float coord_t
Internal coordinate type.
Definition fields.hpp:28
contains classes that implement parts of the Callback base.
Definition callback_utils.hpp:35
The abstract base class the user should inherit from.
Definition callback.hpp:32