14#if !defined(ADOLC_MEDISUPPORTADOLC_H)
15#define ADOLC_MEDISUPPORTADOLC_H 1
19#include <medi/adToolImplCommon.hpp>
20#include <medi/adjointInterface.hpp>
21#include <medi/ampi/types/indexTypeHelper.hpp>
22#include <medi/medi.hpp>
35 :
public medi::ADToolImplCommon<AdolcTool, true, true, double, double,
48 typedef medi::MpiTypeDefault<AdolcTool>
MediType;
52 static medi::OperatorHelper<
53 medi::FunctionHelper<adouble, double, double, int, double, AdolcTool>>
93 AdolcTool(MPI_Datatype primalMpiType, MPI_Datatype adjointMpiType)
94 : medi::ADToolImplCommon<
AdolcTool, true, true, double, double, double,
95 int>(primalMpiType, adjointMpiType) {}
111 inline void stopAssembly(medi::HandleBase *h)
const { MEDI_UNUSED(h); }
149 modValue = value.
value();
154 value.setValue(modValue);
166 MEDI_UNUSED(oldPrimal);
182 MEDI_UNUSED(inoutval);
Taped active scalar for reusable forward and reverse differentiation.
Definition adtb_types.h:211
size_t loc() const
Retrieves the location of the adouble on the tape.
Definition adtb_types.h:332
double value() const
Retrieves the current value stored at the tape location.
Definition adtb_types.h:323
void mediFinalizeStatic()
void mediAddHandle(medi::HandleBase *h)