CoDiPack  3.0.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementDataPointers Struct Reference

Definition of the data for a statement. The pointers a populated from a byte data stream. More...

#include <primalValueBaseTape.hpp>

Public Member Functions

inlineConfig::LowLevelFunctionDataSize computeSize (size_t lhsSize, size_t rhsSize, size_t passiveSize, size_t constantSize)
 Computes the byte size for the data of the statement.
 
inlinevoid populate (size_t lhsSize, size_t rhsSize, size_t passiveSize, size_t constantSize, char *byteData)
 Set all the pointer from the given byte data. The sizes are used to compute the offsets.
 
template<typename T>
inlinevoid push (T *&array, T const &value)
 

Public Attributes

PassiveRealconstantValues
 Array for the constant values in the statement.
 
IdentifierlhsIdentifiers
 Array for the lhs identifiers.
 
RealoldLhsValues
 Array for the old values of the lhs values.
 
RealpassiveValues
 Array for the passive values of a statement.
 
IdentifierrhsIdentifiers
 Array for the rhs identifiers.
 

Detailed Description

template<typename T_TapeTypes, typename T_Impl>
struct codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementDataPointers

Definition of the data for a statement. The pointers a populated from a byte data stream.

Member Function Documentation

◆ push()

template<typename T_TapeTypes, typename T_Impl>
template<typename T>
inlinevoid codi::PrimalValueBaseTape< T_TapeTypes, T_Impl >::StatementDataPointers::push ( T *& array,
T const & value )
inline

Push data into an array. Sets the value at the current position and then changes the pointer to the next position.


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