Source code for gpe.mixins """Mixins to help implement required interfaces from minimal implementations.""" import numpy as np __all__ = ["StateMixin"] [docs] class StateMixin: [docs] experiment = None [docs] t_final = np.inf [docs] xp = np # Replace with cupy for GPU usage