jacopy.packages.poisson.poisson_engine

jacopy.packages.poisson.poisson_engine(*, registry=None, mode='efficient', structures=(), declare_sn=True)

The tangent engine extended with the Poisson layer for the given structures: each structure contributes its own rules (PoissonStructure.engine_rules()). declare_sn=True (the historical default, kept for compatibility) treats every structure passed as declaring "poisson"; pass declare_sn=False and declare on the structures themselves (declare=("poisson",)) — the per-structure contract: the flag is not distributed, each structure carries its own assumptions.

Parameters:
Return type:

ExpansionEngine