|
ADOL-C: Automatic Differentiation in C/C++ 2.7.3
|
MeDiPack adapter that connects taped ADOL-C values with AMPI. More...
#include <medipacksupport.h>


Public Types | |
| typedef adouble | Type |
| typedef void | AdjointType |
| typedef double | ModifiedType |
| typedef double | PrimalType |
| typedef int | IndexType |
| typedef medi::MpiTypeDefault< AdolcTool > | MediType |
Public Member Functions | |
| AdolcTool (MPI_Datatype primalMpiType, MPI_Datatype adjointMpiType) | |
| bool | isActiveType () const |
| bool | isHandleRequired () const |
| bool | isOldPrimalsRequired () const |
| void | startAssembly (medi::HandleBase *h) const |
| void | addToolAction (medi::HandleBase *h) const |
| void | stopAssembly (medi::HandleBase *h) const |
| medi::AMPI_Op | convertOperator (medi::AMPI_Op op) const |
| void | createPrimalTypeBuffer (PrimalType *&buf, size_t size) const |
| void | createIndexTypeBuffer (IndexType *&buf, size_t size) const |
| void | deletePrimalTypeBuffer (PrimalType *&buf) const |
| void | deleteIndexTypeBuffer (IndexType *&buf) const |
Static Public Member Functions | |
| static void | initTypes () |
| static void | init () |
| static void | finalizeTypes () |
| static void | finalize () |
| static int | getIndex (const Type &value) |
| static void | clearIndex (Type &value) |
| static PrimalType | getValue (const Type &value) |
| static void | setIntoModifyBuffer (ModifiedType &modValue, const Type &value) |
| static void | getFromModifyBuffer (const ModifiedType &modValue, Type &value) |
| static void | createIndex (Type &value, IndexType &index) |
| static void | registerValue (Type &value, PrimalType &oldPrimal, IndexType &index) |
| static PrimalType | getPrimalFromMod (const ModifiedType &modValue) |
| static void | setPrimalToMod (ModifiedType &modValue, const PrimalType &value) |
| static void | modifyDependency (ModifiedType &inval, ModifiedType &inoutval) |
Static Public Attributes | |
| static MPI_Datatype | MpiType |
| static MPI_Datatype | ModifiedMpiType |
| static MPI_Datatype | PrimalMpiType |
| static MPI_Datatype | AdjointMpiType |
| static MediType * | MPI_TYPE |
| static medi::AMPI_Datatype | MPI_INT_TYPE |
| static medi::OperatorHelper< medi::FunctionHelper< adouble, double, double, int, double, AdolcTool > > | operatorHelper |
MeDiPack adapter that connects taped ADOL-C values with AMPI.
The adapter supplies active-type metadata, MPI datatypes, and callbacks used to record communication operations on an ADOL-C tape.
| typedef void AdolcTool::AdjointType |
| typedef int AdolcTool::IndexType |
| typedef medi::MpiTypeDefault<AdolcTool> AdolcTool::MediType |
| typedef double AdolcTool::ModifiedType |
| typedef double AdolcTool::PrimalType |
| typedef adouble AdolcTool::Type |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |