Update Source/Particles/PhysicalParticleContainer.cpp #235
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🐧 In Situ Vis | |
on: [push, pull_request] | |
concurrency: | |
group: ${{ github.ref }}-${{ github.head_ref }}-insituvis | |
cancel-in-progress: true | |
jobs: | |
sensei: | |
name: SENSEI | |
runs-on: ubuntu-20.04 | |
if: github.event.pull_request.draft == false | |
env: | |
CXX: clang++ | |
CC: clang | |
CXXFLAGS: "-Werror -Wshadow -Woverloaded-virtual -Wunreachable-code -Wno-error=pass-failed" | |
CMAKE_GENERATOR: Ninja | |
CMAKE_PREFIX_PATH: /root/install/sensei/v4.0.0/lib64/cmake | |
container: | |
image: senseiinsitu/ci:fedora35-amrex-20220613 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Configure | |
run: | | |
cmake -S . -B build \ | |
-DWarpX_SENSEI=ON \ | |
-DWarpX_COMPUTE=NOACC | |
- name: Build | |
run: | | |
cmake --build build -j 4 | |
ascent: | |
name: Ascent | |
runs-on: ubuntu-20.04 | |
if: github.event.pull_request.draft == false | |
env: | |
CXX: g++ | |
CC: gcc | |
CMAKE_PREFIX_PATH: /ascent/install/lib/cmake/ | |
container: | |
image: alpinedav/ascent:0.9.2 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Configure | |
run: | | |
. /ascent_docker_setup_env.sh | |
cmake -S . -B build \ | |
-DWarpX_ASCENT=ON \ | |
-DWarpX_COMPUTE=NOACC | |
- name: Build | |
run: | | |
. /ascent_docker_setup_env.sh | |
cmake --build build -j 4 | |
- name: Test | |
run: | | |
cp Examples/Physics_applications/laser_acceleration/inputs_3d . | |
cp Examples/Physics_applications/laser_acceleration/3d_ascent_actions.yaml ascent_actions.yaml | |
mpiexec -n 2 ./build/bin/warpx.3d \ | |
inputs_3d \ | |
max_step = 40 \ | |
diag1.intervals = 30:40:10 \ | |
diag1.format = ascent | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ascent-test-artifacts | |
path: | | |
*.png | |
conduit_* | |
if-no-files-found: error |