ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
detray::concepts::material_rod Concept Reference

Material parameters with a radius. More...

#include <detray/material/concepts.hpp>

Concept definition

template<class M>
concept detray::concepts::material_rod = requires(const M rod) {
typename M::material_type;
{ rod.thickness() } -> std::same_as<typename M::scalar_type>;
{ rod.radius() } -> std::same_as<typename M::scalar_type>;
{
rod.path_segment(typename M::scalar_type(), typename M::scalar_type())
} -> std::same_as<typename M::scalar_type>;
{
rod.path_segment_in_X0(typename M::scalar_type(), typename M::scalar_type())
} -> std::same_as<typename M::scalar_type>;
{
rod.path_segment_in_L0(typename M::scalar_type(), typename M::scalar_type())
} -> std::same_as<typename M::scalar_type>;
}
Material parameters.
Definition concepts.hpp:19
Material parameters with a radius.
Definition concepts.hpp:76

Detailed Description

Material parameters with a radius.