40#include "../../traits/realTraits.hpp"
41#include "../misc/tapeParameters.hpp"
42#include "../misc/vectorAccessInterface.hpp"
108 template<
typename T_Real,
typename T_Identifier>
136 template<
typename Adjo
int>
#define CODI_DD(Type, Default)
Abbreviation for CODI_DECLARE_DEFAULT.
Definition macros.hpp:94
CoDiPack - Code Differentiation Package.
Definition codi.hpp:90
TapeParameters
Configuration options for a tape.
Definition tapeParameters.hpp:52
Provides file IO, information about internal tape vectors and allows to clear tape data.
Definition dataManagementTapeInterface.hpp:109
void setParameter(TapeParameters parameter, size_t value)
See Parameters functions.
T_Real Real
See DataManagementTapeInterface.
Definition dataManagementTapeInterface.hpp:112
void beginUseAdjointVector()
Declare that the adjoint vector is being used. See Adjoint vector management.
size_t getParameter(TapeParameters parameter) const
See Parameters functions.
void readFromFile(std::string const &filename)
See File IO functions.
bool hasParameter(TapeParameters parameter) const
See Parameters functions.
void resizeAdjointVector()
Explicitly trigger resizing of the adjoint vector. See Adjoint vector management.
void deleteVectorAccess(VectorAccessInterface< Real, Identifier > *access)
See Adjoint vector access.
VectorAccessInterface< Real, Identifier > * createVectorAccess()
See Adjoint vector access.
void writeToFile(std::string const &filename) const
See File IO functions.
void deleteData()
See File IO functions.
T_Identifier Identifier
See DataManagementTapeInterface.
Definition dataManagementTapeInterface.hpp:113
VectorAccessInterface< Real, Identifier > * createVectorAccessCustomAdjoints(Adjoint *data)
See Adjoint vector access.
void endUseAdjointVector()
Declare that the adjoint vector is no longer used. See Adjoint vector management.
void swap(DataManagementTapeInterface &other)
Swap all data with an other tape.
std::set< TapeParameters > const & getAvailableParameters() const
See Parameters functions.
void resetHard()
Delete everything and return to the state after construction, as far as possible.
void deleteAdjointVector()
Delete the adjoint vector. See Adjoint vector management.
Unified access to the adjoint vector and primal vector in a tape evaluation.
Definition vectorAccessInterface.hpp:91