5 #include <CoDiPack/include/codi.hpp> 6 #include <deal.II/differentiation/ad/sacado_math.h> 7 #include <deal.II/differentiation/ad/sacado_number_types.h> 8 #include <deal.II/differentiation/ad/sacado_product_types.h> 11 using FadType = Sacado::Fad::DFad<double>;
17 using codi_FadType = codi::RealForwardGen<double, codi::Direction<double,dimForwardAD>>;
22 codi::Direction< codi::RealForwardVec<dimForwardAD>, dimReverseAD>
codi::RealReverseIndexVec< dimReverseAD > codi_JacobianComputationType
Reverse mode type for Jacobian computation using TapeHelper.
Sacado::Fad::DFad< FadType > FadFadType
Sacado AD type that allows 2nd derivatives.
Sacado::Fad::DFad< double > FadType
Sacado AD type for first derivatives.
codi_JacobianComputationType RadType
CoDiPaco reverse-AD type for first derivatives.
Files for the baseline physics.
static constexpr int dimForwardAD
Size of the forward vector mode for CoDiPack.
codi::RealReversePrimalIndexGen< codi::RealForwardVec< dimForwardAD >, codi::Direction< codi::RealForwardVec< dimForwardAD >, dimReverseAD > > codi_HessianComputationType
Nested reverse-forward mode type for Jacobian and Hessian computation using TapeHelper.
static constexpr int dimReverseAD
Size of the reverse vector mode for CoDiPack.
codi::RealForwardGen< double, codi::Direction< double, dimForwardAD > > codi_FadType
Tapeless forward mode.
codi_HessianComputationType RadFadType
Nested reverse-forward mode type for Jacobian and Hessian computation using TapeHelper.