xso.backendcomps.RunSolver
- class xso.backendcomps.RunSolver(*, core, m, firstinit=(), secondinit=(), thirdinit=(), fourthinit=(), fifthinit=())[source]
Inherits model backend from context and calls solver to run as final initialization stage of model runtime.
- core
Model backend instance is stored here
Variable properties:
type :
foreignreference variable :
Backend.coreintent :
in
- Type:
attr.Attribute
- m
Math wrapper functions provided by solver
Variable properties:
type :
foreignreference variable :
Backend.mintent :
in
- Type:
attr.Attribute
- label
No description given
Variable properties:
type :
variableintent :
outdimensions : ()
groups : label
- Type:
attr.Attribute
- firstinit
Iterable of all variables that belong to group ‘firstinit’
Variable properties:
type :
groupintent :
indefault value : ()
- Type:
attr.Attribute
- secondinit
Iterable of all variables that belong to group ‘secondinit’
Variable properties:
type :
groupintent :
indefault value : ()
- Type:
attr.Attribute
- thirdinit
Iterable of all variables that belong to group ‘thirdinit’
Variable properties:
type :
groupintent :
indefault value : ()
- Type:
attr.Attribute
- fourthinit
Iterable of all variables that belong to group ‘fourthinit’
Variable properties:
type :
groupintent :
indefault value : ()
- Type:
attr.Attribute
- fifthinit
Iterable of all variables that belong to group ‘fifthinit’
Variable properties:
type :
groupintent :
indefault value : ()
- Type:
attr.Attribute
- __init__(*, core, m, firstinit=(), secondinit=(), thirdinit=(), fourthinit=(), fifthinit=()) None
Method generated by attrs for class RunSolver.
Methods
__init__(*, core, m[, firstinit, ...])Method generated by attrs for class RunSolver.
After all other xso.components were initialized, the model can be assembled in core.
run_step(dt)