xsimlab.Model.update_cache

Model.update_cache(var_key)

Update the model’s cache for a given model variable.

This is generally not really needed, except for on demand variables where this might optimize multiple accesses to the variable value between two simulation stages.

No copy is performed.

Parameters

var_key (tuple) – Variable key in the form of a ('process_name', 'var_name') tuple.