jacobian

dustpy.std.gas.jacobian(sim, x, *args, **kwargs)[source]

Functions calculates the Jacobian for the gas.

Parameters:
  • sim (Frame) – Parent simulation frame

  • x (IntVar) – Integration variable

  • args (additional positional arguments)

  • kwargs (additional keyworda arguments)

Returns:

jac – Jacobi matrix for gas evolution

Return type:

Field

Notes

The boundaries need information about the time step, which is only available at the integration stage. The boundary values are therefore meaningless and should not be used to calculate the source terms via matrix-vector multiplication. See the documentation for details.