CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::AggregatedTypeVectorAccessWrapperFactory< T_Type, typename > Struct Template Reference

Factory for the creation of AggregatedTypeVectorAccessWrapper instances. More...

#include <aggregatedTypeVectorAccessWrapper.hpp>

Public Types

using RType = AggregatedTypeVectorAccessWrapper<Type>
 Which instances this factory creates.
 
using Type = T_Type
 See AggregatedTypeVectorAccessWrapperBase.
 

Static Public Member Functions

template<typename Real , typename Identifier >
static RTypecreate (VectorAccessInterface< Real, Identifier > *access)
 
static void destroy (RType *access)
 Delete the AggregatedTypeVectorAccessWrapper instance created by the crate method.
 

Detailed Description

template<typename T_Type, typename = void>
struct codi::AggregatedTypeVectorAccessWrapperFactory< T_Type, typename >

Factory for the creation of AggregatedTypeVectorAccessWrapper instances.

This factory is specialized for CoDiPack types to return the provided interface, thus removing the overhead of a wrapped interface.

User can specialize this factory if the default construction of AggregatedTypeVectorAccessWrapper needs to be specialized.

Template Parameters
T_TypeSee AggregatedTypeVectorAccessWrapper.

Member Function Documentation

◆ create()

template<typename T_Type , typename = void>
template<typename Real , typename Identifier >
static RType * codi::AggregatedTypeVectorAccessWrapperFactory< T_Type, typename >::create ( VectorAccessInterface< Real, Identifier > * access)
inlinestatic

Instantiate a AggregatedTypeVectorAccessWrapper class.

Parameters
accessThe vector access interface from underlying tape.

The documentation for this struct was generated from the following file: