Skip to content

Commit 01c436d

Browse files
gmalinvePipKat
andauthored
Apply suggestions from code review
Co-authored-by: Kathy Pippert <[email protected]>
1 parent 83e93ce commit 01c436d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pyaedt/maxwell.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ def setup_y_connection(self, assignment=None):
617617
----------
618618
assignment : list, optional
619619
List of windings. For example, ``["PhaseA", "PhaseB", "PhaseC"]``.
620-
The default value is ``None``, in which case the design has no Y connection.
620+
The default is ``None``, in which case the design has no Y connection.
621621
622622
Returns
623623
-------
@@ -942,7 +942,7 @@ def assign_rotate_motion(
942942

943943
@pyaedt_function_handler(face_list="assignment")
944944
def assign_voltage(self, assignment, amplitude=1, name=None):
945-
"""Assign a voltage source to a list of faces in Maxwell 3D or a list of Objects in Maxwell 2D.
945+
"""Assign a voltage source to a list of faces in Maxwell 3D or a list of objects in Maxwell 2D.
946946
947947
Parameters
948948
----------
@@ -1717,7 +1717,7 @@ def enable_harmonic_force(
17171717
assignment : list
17181718
List of object names for force calculations.
17191719
force_type : int, optional
1720-
Force Type. ``0`` for Objects, ``1`` for Surface, ``2`` for volumetric.
1720+
Force type. Options are ``0`` for objects, ``1`` for surface, and ``2`` for volumetric.
17211721
window_function : str, optional
17221722
Windowing function. Default is ``"Rectangular"``.
17231723
Available options are: ``"Rectangular"``, ``"Tri"``, ``"Van Hann"``, ``"Hamming"``,
@@ -1791,9 +1791,9 @@ def enable_harmonic_force_on_layout_component(
17911791
Parameters
17921792
----------
17931793
assignment : str
1794-
Name of layout component to apply harmonic forces.
1794+
Name of layout component to apply harmonic forces to.
17951795
nets : dict
1796-
Dictionary containing nets and layers on which enable harmonic forces.
1796+
Dictionary containing nets and layers to enable harmonic forces on.
17971797
force_type : int, optional
17981798
Force Type. ``0`` for Objects, ``1`` for Surface, ``2`` for volumetric.
17991799
window_function : str, optional
@@ -2218,7 +2218,7 @@ def assign_impedance(
22182218
assignment : str
22192219
Faces or objects to apply the impedance boundary to.
22202220
material_name : str, optional
2221-
If it is different from ``None``, then material properties values will be extracted from
2221+
Material name. The default is ``None``. If other than ``None``, material properties values are extracted from
22222222
the named material in the list of materials available. The default value is ``None``.
22232223
permeability : float, optional
22242224
Permeability of the material.The default value is ``0.0``.

0 commit comments

Comments
 (0)