update#
- MaxwellMatrix.update(old_source, source_type, new_source=None, new_excitations=None)#
Update the reduced matrix.
- Parameters:
- old_source
str
Original name of the source to update.
- source_type
str
Source type, which can be
Series
orParallel
.- new_source
str
,optional
New name of the source to update. The default value is the old source name.
- new_excitations
str
,optional
List of excitations to include in the matrix reduction. The default values are excitations included in the source to update.
- old_source
- Returns:
- bool
True
when successful,False
when failed.