Skip to content

Commit

Permalink
Update laser_STC.SI.1Rank.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
huixingjian authored Oct 15, 2024
1 parent 599fae1 commit 0fc4205
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/laser_STC.SI.1Rank.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# It initializes a Hipace simulation of a gaussian laser with initial STC parameters
# and test the correctness of the STC factors

# abort on first encounted error
# Abort on first encountered error
set -eu -o pipefail

# Read input parameters
Expand All @@ -29,7 +29,7 @@ TEST_NAME="${FILE_NAME%.*}"
mpiexec -n 1 $HIPACE_EXECUTABLE $HIPACE_EXAMPLE_DIR/inputs_chirp \
laser.phi2 = 2.4e-26 \
laser.STC_theta_xy = 0 \
hipace.file_prefix = $TEST_NAME \
hipace.file_prefix = $TEST_NAME
# Compare the result with theory
$HIPACE_EXAMPLE_DIR/analysis_laser_init_chirp.py --output-dir=$TEST_NAME \
--chirp_type="phi2"
Expand All @@ -40,7 +40,7 @@ rm -rf $TEST_NAME
mpiexec -n 1 $HIPACE_EXECUTABLE $HIPACE_EXAMPLE_DIR/inputs_chirp \
laser.zeta = 2.4e-19 \
laser.STC_theta_xy = 0 \
hipace.file_prefix = $TEST_NAME \
hipace.file_prefix = $TEST_NAME

# Compare the result with theory
$HIPACE_EXAMPLE_DIR/analysis_laser_init_chirp.py --output-dir=$TEST_NAME \
Expand All @@ -49,9 +49,9 @@ $HIPACE_EXAMPLE_DIR/analysis_laser_init_chirp.py --output-dir=$TEST_NAME \
rm -rf $TEST_NAME

mpiexec -n 1 $HIPACE_EXECUTABLE $HIPACE_EXAMPLE_DIR/inputs_chirp \
laser.beta= 2e-17 \
laser.beta = 2e-17 \
laser.STC_theta_xy = 0 \
hipace.file_prefix = $TEST_NAME \
hipace.file_prefix = $TEST_NAME

# Compare the result with theory
$HIPACE_EXAMPLE_DIR/analysis_laser_init_chirp.py --output-dir=$TEST_NAME \
Expand Down

0 comments on commit 0fc4205

Please sign in to comment.