atsim.potentials.config._potential_form
¶
Module Contents¶
Classes¶
Potential_Form (potential_function) |
Wraps cexprtk and python functions so that they can be used |
Existing_Potential_Form (name, potential_form) |
Wraps an object from the atsim.potentials.potentialforms module so that |
-
class
atsim.potentials.config._potential_form.
Potential_Form
(potential_function)[source]¶ Bases:
object
Wraps cexprtk and python functions so that they can be used as potential-form style function factories in Potential_Form_Registry
-
class
atsim.potentials.config._potential_form.
Existing_Potential_Form
(name, potential_form)[source]¶ Bases:
object
Wraps an object from the atsim.potentials.potentialforms module so that it can be registered directly with Potential_Form_Registry and so used from config files.
This is the case for objects that are registered in potentialforms but not in the potentialfunctions module