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

Whether T is a real scalar that carries no derivatives: arithmetic types, plus custom types that opt in. More...

#include <NumTraits.hpp>

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

Detailed Description

template<typename T>
struct mundy::is_passive_scalar< T >

Custom non-autodiff scalars specialize this to true. It gates code that needs a plain real number, such as tolerances and atomics.