Module maooam_tl_ad

Tangent Linear (TL) and Adjoint (AD) model versions of MAOOAM.

Local Functions

jacobian (ystar) Compute the Jacobian of MAOOAM in point ystar.
get_adtensor (aotensor_tab) Compute the AD tensor from the original MAOOAM one (method 2)
model (t, y, buf) Tendencies for MAOOAM.
tl_traj (t, ystar, deltay, buf) Tendencies for the TL of MAOOAM in point ystar for perturbation deltay.
get_tl (ystar) Get a function that computes the tendencies for the TL of MAOOAM in point ystar in a form that can be integrated (same function signature as model)
ad_traj (t, ystar, deltay, buf) Tendencies for the adjoint of MAOOAM in point ystar for perturbation deltay.
get_ad (ystar) Get a function that computes the tendencies for the adjoint of MAOOAM in point ystar in a form that can be integrated (same function signature as model)


Local Functions

jacobian (ystar)
Compute the Jacobian of MAOOAM in point ystar.

Parameters:

  • ystar array with variables in which the jacobian should be evaluated.

Returns:

    Jacobian in coolist-form (table of tuples {i,j,value})
get_adtensor (aotensor_tab)
Compute the AD tensor from the original MAOOAM one (method 2)

Parameters:

  • aotensor_tab model tensor coolist (not yet in fficoo form).

Returns:

    adjoint model tensor (table form)
model (t, y, buf)
Tendencies for MAOOAM.

Parameters:

  • t time
  • y array with variables at time t
  • buf n-array (buffer) to store derivatives.
tl_traj (t, ystar, deltay, buf)
Tendencies for the TL of MAOOAM in point ystar for perturbation deltay.

Parameters:

  • t time
  • ystar array with the variables (current point in trajectory)
  • deltay array with the perturbation of the variables at time t
  • buf n-array (buffer) to store derivatives.
get_tl (ystar)
Get a function that computes the tendencies for the TL of MAOOAM in point ystar in a form that can be integrated (same function signature as model)

Parameters:

  • ystar array with the variables (current point in trajectory)

Returns:

    function that computes the tendencies for the TL of MAOOAM in point ystar.
ad_traj (t, ystar, deltay, buf)
Tendencies for the adjoint of MAOOAM in point ystar for perturbation deltay.

Parameters:

  • t time
  • ystar array with the variables (current point in trajectory)
  • deltay array with the perturbation of the variables at time t
  • buf n-array (buffer) to store derivatives.
get_ad (ystar)
Get a function that computes the tendencies for the adjoint of MAOOAM in point ystar in a form that can be integrated (same function signature as model)

Parameters:

  • ystar array with the variables (current point in trajectory)

Returns:

    function that computes the tendencies for the adjoint of MAOOAM in point ystar.
generated by LDoc 1.4.3 Last updated 2016-03-11 16:19:27