set_source_context#

Maxwell2d.set_source_context(sources, number_of_modes=1)[source]#

Set the source context.

Parameters:
sourceslist

List of source names.

number_of_modesint, optional

Number of modes. The default is 1.

Returns:
bool

True when successful, False when failed.

References

>>> oModule.SetSourceContexts