Skip to content

Commit 1acda93

Browse files
Small fix.
1 parent ce46fe5 commit 1acda93

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/picongpu/include/fields/background/templates/TWTS/BField.tpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,10 +258,10 @@ namespace twts
258258
/* Single TWTS-Pulse */
259259
switch (pol)
260260
{
261-
case NORMAL_TO_TILTPLANE :
261+
case LINEAR_X :
262262
return getTWTSBfield_Normalized<simDim>(bFieldPositions_SI, time_SI);
263263

264-
case WITHIN_TILTPLANE :
264+
case LINEAR_YZ :
265265
return getTWTSBfield_Normalized_Ey<simDim>(bFieldPositions_SI, time_SI);
266266
}
267267
return getTWTSBfield_Normalized<simDim>(bFieldPositions_SI, time_SI); // defensive default

src/picongpu/include/fields/background/templates/TWTS/EField.tpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,10 @@ namespace twts
177177
/* Single TWTS-Pulse */
178178
switch (pol)
179179
{
180-
case NORMAL_TO_TILTPLANE :
180+
case LINEAR_X :
181181
return getTWTSEfield_Normalized<simDim>(eFieldPositions_SI, time_SI);
182182

183-
case WITHIN_TILTPLANE :
183+
case LINEAR_YZ :
184184
return getTWTSEfield_Normalized_Ey<simDim>(eFieldPositions_SI, time_SI);
185185
}
186186
return getTWTSEfield_Normalized<simDim>(eFieldPositions_SI, time_SI); // defensive default

0 commit comments

Comments
 (0)