FSimBase.Simulator
— TypeSimulator struct.
NOTICE
- If
p
is not copyable, i.e.,applicable(copy, p) == false
, it would not correctly be logged in log_func.
CommonSolve.solve
— Methodsolve(simulator; ...)
solve
for simulator::Simulator
(similar to that of DifferentialEquations.jl). This method will automatically reinitialise simulator
.
FSimBase._initialise
— MethodInitialise simulator.
FSimBase.maybe_apply
— MethodNotes
- The basic concept is borrowed from an MRAC example.
- It is modified to be compatible with SimulationLogger.jl.
Limitations
- Conditional method definition is troublesome; see #16.
Instead of it, I decided to merely define a new method with argument __log_indicator__::__LOG_INDICATOR__
, which will provide "empty Dict" in the case of no logging.
FSimBase.step_until!
— MethodStep until tf
.
SciMLBase.reinit!
— MethodReinitialise simulator.
SciMLBase.step!
— MethodStep dt
time.