CustomTuner

class hoomd.tune.CustomTuner(trigger, action)

Bases: CustomOperation, Tuner

User-defined tuner.

Parameters:

CustomTuner is a hoomd.operation.Tuner that wraps a user-defined hoomd.custom.Action object so the action can be added to a hoomd.Operations instance for use with hoomd.Simulation objects.

Tuners modify the parameters of other operations to improve performance. Tuners may read the system state, but not modify it.

Example:

custom_tuner = hoomd.tune.CustomTuner(
    action=custom_action,
    trigger=hoomd.trigger.Periodic(1000),
)
simulation.operations.tuners.append(custom_tuner)

Members inherited from AutotunedObject:

property kernel_parameters

Kernel parameters. Read more...

property is_tuning_complete

Check if kernel parameter tuning is complete. Read more...

tune_kernel_parameters()

Start tuning kernel parameters. Read more...


Members inherited from Integrator:

trigger

The trigger to activate this operation. Read more...


Members inherited from CustomOperation:

act()

Perform the action of the custom action if attached Read more...

property action

Action that this operation wraps. Read more...