Mundy: Multibody Nonlocal Dynamics Version of the Day
Loading...
Searching...
No Matches
mundy::passive_scalar< T > Struct Template Reference

Trait: underlying passive (non-AD) type of T. For an autodiff scalar (is_autodiff_scalar): passive_scalar_t<T> == typename T::value_type. For any other scalar (arithmetic types and custom non-autodiff scalars): passive_scalar_t<T> == T.

#include <cmath.hpp>

Inheritance diagram for mundy::passive_scalar< T >:
[legend]

Public Types

using type = T

Member Typedef Documentation

◆ type

template<typename T>
using mundy::passive_scalar< T >::type = T