GridFire 0.6.0 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>>
gridfire::IsArithmeticOrAD
Concept for types allowed in engine calculations.
Definition engine_abstract.h:40

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