Loading...
Searching...
No Matches
gridfire::IsArithmeticOrAD Concept Reference

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

`#include <types.h>`

## Concept definition

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

## 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.