PDE#

class cuqi.pde.PDE(PDE_form, grid_sol=None, grid_obs=None, observation_map=None)#

Parametrized PDE abstract base class

Parameters:
  • PDE_form (callable function) – Callable function which returns a tuple of the needed PDE components (expected components are explained in the subclasses)

  • observation_map (a function handle) – A function that takes the PDE solution as input and the returns the observed solution. e.g. observation_map=lambda u: u**2 or observation_map=lambda u: u[0]

  • grid_sol (np.ndarray) – The grid on which solution is defined

  • grid_obs (np.ndarray) – The grid on which the observed solution should be interpolated (currently only supported for 1D problems).

__init__(PDE_form, grid_sol=None, grid_obs=None, observation_map=None)#

Methods

__init__(PDE_form[, grid_sol, grid_obs, ...])

assemble(parameter)

observe(solution)

solve()

Attributes