CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::JacobianConvertWrapper< T_Nested > Struct Template Reference

Wrapper for JacboianInterfaces that requires a passive value conversion. More...

#include <jacobian.hpp>

Public Types

using DelayAcc = JacobianDelayAccessor<JacobianConvertWrapper>
 Return type for reference access.
 
using Nested = T_Nested
 See JacobianConvertWrapper.
 
using T = typename Nested::T
 See JacobianInterface.
 

Public Member Functions

 JacobianConvertWrapper (Nested &nested)
 Constructor.
 
DelayAcc operator() (size_t const i, size_t const j)
 Reference access, i in [0, ..., m), j in [0, ..., n).
 
T operator() (size_t const i, size_t const j) const
 Value access, i in [0, ..., m), j in [0, ..., n).
 
template<typename SetT >
void setLogic (size_t const i, size_t const j, SetT const &v)
 Called by the JacobianDelayAccessor when a value is set.
 

Detailed Description

template<typename T_Nested>
struct codi::JacobianConvertWrapper< T_Nested >

Wrapper for JacboianInterfaces that requires a passive value conversion.

Template Parameters
T_NestedThe nested Jacobian, that has a passive value storage.

Member Function Documentation

◆ operator()() [1/2]

template<typename T_Nested >
DelayAcc codi::JacobianConvertWrapper< T_Nested >::operator() ( size_t const i,
size_t const j )
inline

Reference access, i in [0, ..., m), j in [0, ..., n).

Returns a JacobianDelayAccessor for the tracking of the nonzero entries.

◆ operator()() [2/2]

template<typename T_Nested >
T codi::JacobianConvertWrapper< T_Nested >::operator() ( size_t const i,
size_t const j ) const
inline

Value access, i in [0, ..., m), j in [0, ..., n).


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