jacobian

dustpy.std.dust.jacobian(sim, x, dx=None, *args, **kwargs)[source]

Function calculates the Jacobian for implicit dust integration.

Parameters:
  • sim (Frame) – Parent simulation frame

  • x (IntVar) – Integration variable

  • dx (float, optional, default : None) – stepsize

  • args (additional positional arguments)

  • kwargs (additional keyworda arguments)

Returns:

jac – Dust Jacobian

Return type:

Sparse matrix

Notes

Function returns the Jacobian for Simulation.dust.Sigma.ravel() instead of Simulation.dust.Sigma. The Jacobian is stored as sparse matrix.