xnn.common.models.d4.enable_eeq_reuse#
- xnn.common.models.d4.enable_eeq_reuse(model, enabled=True, **options)[source]#
Switch the EEQ reuse between steps on (or off) for every D4 term of a model.
The hook of the molecular-dynamics channels (ASE calculator, MDI engine): walks
modelforDFTD4modules and calls theirenable_eeq_reuse(). Returns the number of terms found (0 when the model has no D4 term, in which case the option has no effect).