Skip to content

Commit

Permalink
fixed trailing white spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mateczentye committed Dec 1, 2021
1 parent a9f16be commit 5401345
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions paramak/parametric_reactors/negative_triangularity_reactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ def __init__(self,
tf_width: float = 75,
pf_coil_heights: Optional[Union[float, list]] = [75,75,150,75,75],
pf_coil_widths: Optional[Union[float, list]] = [75,75,150,75,75],
pf_coil_center_points: Optional[Union[list, tuple]] = [(350,850),
pf_coil_center_points: Optional[Union[list, tuple]] = [(350,850),
(1350,650),
(1400,0),
(1400,0),
(1350,-650),
(350,-850)],
pf_coil_casing_thickness: Optional[float] = [15,15,15,15,15],
Expand Down Expand Up @@ -608,7 +608,7 @@ def _make_vertical_build(self):
# Divertor
self._divertor_start_height = (self._plasma.high_point[1])
self._divertor_end_height_top = self._divertor_start_height + \
self._divertor_height_full
self._divertor_height_full

### Diverter height check ###
min_div_h = self._rear_wall_end_height_top - self._divertor_start_height
Expand Down Expand Up @@ -816,7 +816,7 @@ def _make_blankets(self):
central_cutter = paramak.CenterColumnShieldCylinder(
height=self._inner_tf_leg_height + 10, # for overlap
inner_radius=0,
outer_radius=self._inner_shield_end_rad #+ 0.0001, # slight overlap: without it doesn't cut properly
outer_radius=self._inner_shield_end_rad
)

### Blanket layers ###
Expand All @@ -827,7 +827,9 @@ def _make_blankets(self):
stop_angle=360,
plasma=self._make_plasma(),
rotation_angle=self._rotation_angle,
offset_from_plasma=self._inner_wall_thickness + self._blanket_thickness + self._wall_to_plasma_gap,
offset_from_plasma=self._inner_wall_thickness + \
self._blanket_thickness + \
self._wall_to_plasma_gap,
name="blanket_rear_wall",
cut=[
central_cutter,
Expand All @@ -842,7 +844,8 @@ def _make_blankets(self):
stop_angle=360,
plasma=self._make_plasma(),
rotation_angle=self._rotation_angle,
offset_from_plasma=self._inner_wall_thickness + self._wall_to_plasma_gap,
offset_from_plasma=self._inner_wall_thickness + \
self._wall_to_plasma_gap,
name="blanket",
cut=[
central_cutter,
Expand Down

0 comments on commit 5401345

Please sign in to comment.