GridFire 0.0.1a
General Purpose Nuclear Network
Loading...
Searching...
No Matches
gridfire::IsArithmeticOrAD Concept Reference

Concept for types allowed in engine calculations. More...

#include <engine_abstract.h>

Concept definition

template<typename T>
concept gridfire::IsArithmeticOrAD = std::is_same_v<T, double> || std::is_same_v<T, CppAD::AD<double>>
Concept for types allowed in engine calculations.

Detailed Description

Concept for types allowed in engine calculations.

This concept restricts template parameters to either double or CppAD::AD<double>, enabling both standard and automatic differentiation types.

Definition at line 33 of file engine_abstract.h.