yaeos__tapenade_interfaces Module

Tapenade runtime stack interfaces

Fortran interfaces to the push/pop routines used by Tapenade-generated adjoint code.

Description

These external procedures exchange scalar and array values with the Tapenade AD stack. They are implementation support for generated derivative routines and are not normally called directly by model users.

Examples

The interfaces are invoked from Tapenade-generated code during reverse mode evaluation.


Uses

  • module~~yaeos__tapenade_interfaces~~UsesGraph module~yaeos__tapenade_interfaces yaeos__tapenade_interfaces module~yaeos__constants yaeos__constants module~yaeos__tapenade_interfaces->module~yaeos__constants iso_fortran_env iso_fortran_env module~yaeos__constants->iso_fortran_env

Used by

  • module~~yaeos__tapenade_interfaces~~UsedByGraph module~yaeos__tapenade_interfaces yaeos__tapenade_interfaces module~yaeos__models_ar_saft_pcsaft YAEOS__MODELS_AR_SAFT_PCSAFT module~yaeos__models_ar_saft_pcsaft->module~yaeos__tapenade_interfaces module~yaeos__models yaeos__models module~yaeos__models->module~yaeos__models_ar_saft_pcsaft module~yaeos yaeos module~yaeos->module~yaeos__models module~yaeos__extra_fluids yaeos__extra_fluids module~yaeos__extra_fluids->module~yaeos__models proc~co2_h2o_isop co2_h2o_isop proc~co2_h2o_isop->module~yaeos__models

Interfaces

interface

  • public subroutine POPREAL8(a)

    POPREAL8

    Description

    Pop one real value from the AD stack.

    Arguments

    Type IntentOptional Attributes Name
    real(kind=pr) :: a

    Returned value.

interface

  • public subroutine POPREAL8ARRAY(a, n)

    POPREAL8ARRAY

    Description

    Pop a real array from the AD stack.

    Arguments

    Type IntentOptional Attributes Name
    real(kind=pr), dimension(n) :: a

    Returned array values.

    integer :: n

    Number of array elements.

interface

  • public subroutine popinteger4(i)

    Pop a 4-byte integer value from the AD stack.

    Arguments

    Type IntentOptional Attributes Name
    integer :: i

    Returned integer value.

interface

  • public subroutine pushinteger4(i)

    Push a 4-byte integer value onto the AD stack.

    Arguments

    Type IntentOptional Attributes Name
    integer :: i

    Integer value to push.

interface

  • public subroutine pushreal8(a)

    pushreal8

    Description

    Push one real value onto the AD stack.

    Arguments

    Type IntentOptional Attributes Name
    real(kind=pr) :: a

    Value to push.

interface

  • public subroutine pushreal8array(a, n)

    pushreal8array

    Description

    Push a real array onto the AD stack.

    Arguments

    Type IntentOptional Attributes Name
    real(kind=pr), dimension(n) :: a

    Array values to push.

    integer :: n

    Number of array elements.