Module maooam

Lua implementation of the modular arbitrary-order ocean-atmosphere model MAOOAM.

Run as follows: luajit maooam.lua

To continue a previous run, use the "continue" argument: luajit maooam.lua continue

Optimised for LuaJIT (http://luajit.org).

See README.md for more details.

Local Functions

ao (t, y, buf) Function that calculates the time derivative of the n variables.


Local Functions

ao (t, y, buf)
Function that calculates the time derivative of the n variables. The function reduces to a sparse tensor contraction due to the bilinear nature of the equations.

Parameters:

  • t time
  • y array with variables at time t
  • buf n-arrayi (buffer) to store derivatives.
generated by LDoc 1.4.3 Last updated 2016-03-11 15:53:17