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 : foreign

  • reference variable : Backend.core

  • intent : in

Type:

attr.Attribute

m

Math wrapper functions provided by solver

Variable properties:

  • type : foreign

  • reference variable : Backend.m

  • intent : in

Type:

attr.Attribute

label

No description given

Variable properties:

  • type : variable

  • intent : out

  • dimensions : ()

  • groups : label

Type:

attr.Attribute

firstinit

Iterable of all variables that belong to group ‘firstinit’

Variable properties:

  • type : group

  • intent : in

  • default value : ()

Type:

attr.Attribute

secondinit

Iterable of all variables that belong to group ‘secondinit’

Variable properties:

  • type : group

  • intent : in

  • default value : ()

Type:

attr.Attribute

thirdinit

Iterable of all variables that belong to group ‘thirdinit’

Variable properties:

  • type : group

  • intent : in

  • default value : ()

Type:

attr.Attribute

fourthinit

Iterable of all variables that belong to group ‘fourthinit’

Variable properties:

  • type : group

  • intent : in

  • default value : ()

Type:

attr.Attribute

fifthinit

Iterable of all variables that belong to group ‘fifthinit’

Variable properties:

  • type : group

  • intent : in

  • default 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.

initialize()

After all other xso.components were initialized, the model can be assembled in core.

run_step(dt)