xso.backendcomps.Context

class xso.backendcomps.Context(*, core, m)[source]

Inherited by all other model components to access backend.

core

Link to core object defined in Backend class

Type:

xarray-simlab foreign variable

m

Link to math functions wrapper in Backend class

Type:

xarray-simlab foreign variable

label

Stores label supplied at model setup

Type:

xarray-simlab variable

initialize()[source]

Assigns label given to component, to be referenced in model backend

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

__init__(*, core, m) None

Method generated by attrs for class Context.

Methods

__init__(*, core, m)

Method generated by attrs for class Context.

initialize()

Every XSO component is initialized with a label attribute storing the name supplied at model setup.