PDE#
- class cuqi.pde.PDE(PDE_form, grid_sol=None, grid_obs=None, observation_map=None)[source]#
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)
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).
observation_map (a function handle) – A function that takes the PDE solution, interpolated on grid_obs, as input and returns the observed solution. e.g., observation_map=lambda u, grid_obs: u**2.
Methods
Attributes