fedoo.problem.NonLinear.set_time_integrator

NonLinear.set_time_integrator(evolution, integrator)

Attach or remove a problem-level time integrator.

The integrator compiles compatible static weakforms before assembly initialization. For example:

pb.set_time_integrator(fd.time.SECOND_ORDER, fd.time.Newmark())

Passing None removes the integrator associated with the evolution category. This can only be used before a compatible weakform has been compiled into its transient form.