create_output_variable#

MaxwellCircuit.create_output_variable(variable, expression, solution=None, context=None)[source]#

Create or modify an output variable.

Parameters:
variablestr, optional

Name of the variable.

expressionstr, optional

Value for the variable.

solutionstr, optional

Name of the solution in the format “name : sweep_name”. If None, the first available solution is used. Default is None.

contextlist, str, optional

Context under which the output variable will produce results.

Returns:
bool

True when successful, False when failed.

References

>>> oModule.CreateOutputVariable