autopdex.SimState.add_strong_bc

SimState.add_strong_bc(field, on_boundary_fun, value_fun, index=None, reset=False, integration_mode: str | None = None)[source]

Register a strong boundary condition via an internal L2 projection on the selected boundary trace.

Required signatures:
  • on_boundary_fun(x) -> bool for the static geometric boundary selection

  • value_fun(x), value_fun(x, t), or value_fun(x, t, settings) for the prescribed value. The 3-argument form receives the full settings dict, allowing access to user-defined parameters (e.g. sim.settings["user key"] = ...) for sensitivity analysis.

  • integration_mode=”collocation” uses Gauss-Lobatto points on tensor-product facets.