This adds a new header, microphysics_autodiff.H, which includes the autodiff library and sets things up for use with AMReX. It also provides the admath namespace, which is a drop-in replacement for std for functions from <cmath>, and works on both autodiff types and normal numeric types.
This adds a new header,
microphysics_autodiff.H
, which includes the autodiff library and sets things up for use with AMReX. It also provides theadmath
namespace, which is a drop-in replacement forstd
for functions from<cmath>
, and works on both autodiff types and normal numeric types.