Integrator
- class simframe.integration.Integrator(var, instructions=[], failop=None, preparator=None, finalizer=None, maxit=500, description='')[source]
Bases:
objectIntegratorclass that manages the integration instructions- Attributes:
descriptionDescription of integrator
failopHeartbeatobjects that is called if any integrationInstructionreturnedFalsefinalizerHeartbeatobject that is called after the integration was successful.instructionsList of integration
Instructionsthat will be executed in that order.maxitMaximum number of integration tries until program will be aborted.
preparatorHeartbeatobject that is called before the integration instructions will be executed.varThe integration variable
IntVarthat is associated with thisIntegrator.
Methods
Method that executes one integration step.
Attributes Summary
Description of integrator
Heartbeatobjects that is called if any integrationInstructionreturnedFalseHeartbeatobject that is called after the integration was successful.List of integration
Instructionsthat will be executed in that order.Maximum number of integration tries until program will be aborted.
Heartbeatobject that is called before the integration instructions will be executed.The integration variable
IntVarthat is associated with thisIntegrator.Methods Summary
Method that executes one integration step.
Attributes Documentation
- description
Description of integrator
- failop
Heartbeatobjects that is called if any integrationInstructionreturnedFalse
- finalizer
Heartbeatobject that is called after the integration was successful.
- instructions
List of integration
Instructionsthat will be executed in that order.
- maxit
Maximum number of integration tries until program will be aborted.
- preparator
Heartbeatobject that is called before the integration instructions will be executed.
- var
The integration variable
IntVarthat is associated with thisIntegrator.
Methods Documentation