autopdex.models.poisson

autopdex.models.poisson(coefficient_fun=<function <lambda>>, source_fun=None)[source]

Poisson equation in n dimensions: coefficient * Laplace(Theta) + source_term = 0

Parameters:
  • coefficient_fun (function) – Function to compute the coefficient

  • source_fun (function (dependend on the position jnp.ndarray x), optional) – Function to compute the source term, defaults to None.

Returns:

Function to compute the PDE residual.

Return type:

pde_fun (function)

Notes

  • This models works for DOFs as a jnp.ndarray.