Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/cuda.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright 2022
#
# This file is part of HiPACE++.
#
# Authors: Axel Huebl
# License: BSD-3-Clause-LBNL

name: 🐧 CUDA

on: [push, pull_request]
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/disabled/macos.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright 2020
#
# This file is part of HiPACE++.
#
# Authors: Axel Huebl, MaxThevenet
# License: BSD-3-Clause-LBNL

name: macos

on: [pull_request]
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/hip.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright 2021-2022
#
# This file is part of HiPACE++.
#
# Authors: Axel Huebl
# License: BSD-3-Clause-LBNL

name: 🐧 HIP

on: [push, pull_request]
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright 2020-2022
#
# This file is part of HiPACE++.
#
# Authors: Axel Huebl, MaxThevenet, Severin Diederichs
# License: BSD-3-Clause-LBNL

name: linux

on:
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/setup/hip.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
#!/usr/bin/env bash

# Copyright 2021-2022
#
# This file is part of HiPACE++.
#
# Authors: Axel Huebl
# License: BSD-3-Clause-LBNL

#
# Copyright 2020 The WarpX Community
#
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/setup/macos.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/usr/bin/env bash

# Copyright 2020-2021
#
# Copyright 2020 The HiPACE++ Community
# This file is part of HiPACE++.
#
# Authors: Axel Huebl, MaxThevenet, Severin Diederichs
# License: BSD-3-Clause-LBNL
# Authors: Axel Huebl

set -eu -o pipefail

Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/setup/macos_omp.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
#!/usr/bin/env bash

# Copyright 2020-2021
#
# This file is part of HiPACE++.
#
# Authors: Axel Huebl, MaxThevenet, Severin Diederichs
# License: BSD-3-Clause-LBNL

#
# Copyright 2020 The HiPACE++ Community
#
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/setup/nvcc11.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
#!/usr/bin/env bash

# Copyright 2022
#
# This file is part of HiPACE++.
#
# Authors: Axel Huebl
# License: BSD-3-Clause-LBNL

#
# Copyright 2021-2022 Axel Huebl
#
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/setup/nvhpc.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
#!/usr/bin/env bash

# Copyright 2022
#
# This file is part of HiPACE++.
#
# Authors: Axel Huebl
# License: BSD-3-Clause-LBNL

#
# Copyright 2021-2022 Axel Huebl
#
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/setup/ubuntu.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
#!/usr/bin/env bash

# Copyright 2020-2022
#
# This file is part of HiPACE++.
#
# Copyright 2020 The HiPACE++ Community
# Authors: AlexanderSinn, Axel Huebl, MaxThevenet, Severin Diederichs
#
# License: BSD-3-Clause-LBNL
# Authors: Axel Huebl

set -eu -o pipefail

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/setup/ubuntu_clang.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/usr/bin/env bash

# Copyright 2020-2022
#
# Copyright 2020-2022 The HiPACE++ Community
# This file is part of HiPACE++.
#
# Authors: Axel Huebl, MaxThevenet, Severin Diederichs
# License: BSD-3-Clause-LBNL
# Authors: Axel Huebl

set -eu -o pipefail

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/setup/ubuntu_ompi.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
#!/usr/bin/env bash

# Copyright 2020-2021
#
# This file is part of HiPACE++.
#
# Copyright 2020 The HiPACE++ Community
# Authors: AlexanderSinn, Axel Huebl, MaxThevenet, Severin Diederichs
#
# License: BSD-3-Clause-LBNL
# Authors: Axel Huebl

set -eu -o pipefail

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/setup/ubuntu_ompi_cuda.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/usr/bin/env bash

# Copyright 2020-2021
#
# Copyright 2020 The HiPACE++ Community
# This file is part of HiPACE++.
#
# Authors: Axel Huebl, MaxThevenet, Severin Diederichs
# License: BSD-3-Clause-LBNL
# Authors: Axel Huebl

set -eu -o pipefail

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/source.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Copyright 2020 Axel Huebl, Maxence Thevenet
# Copyright 2020-2021
#
# This file is part of HiPACE++.
#
# Authors: Axel Huebl, MaxThevenet, Severin Diederichs
# License: BSD-3-Clause-LBNL

name: source
Expand Down
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Copyright 2020-2022
#
# This file is part of HiPACE++.
#
# Authors: AlexanderSinn, Andrew Myers, Axel Huebl, MaxThevenet
# Severin Diederichs
# License: BSD-3-Clause-LBNL

# Preamble ####################################################################
#
cmake_minimum_required(VERSION 3.18.0)
Expand Down
7 changes: 7 additions & 0 deletions docs/equations_hipace.tex
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
% Copyright 2021
%
% This file is part of HiPACE++.
%
% Authors: MaxThevenet, Remi Lehe, Severin Diederichs
% License: BSD-3-Clause-LBNL

\documentclass{article}
\usepackage[a4paper, total={6in, 8in}]{geometry}
\usepackage[utf8]{inputenc}
Expand Down
7 changes: 7 additions & 0 deletions docs/optimizations.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright 2021
#
# This file is part of HiPACE++.
#
# Authors: MaxThevenet, Severin Diederichs
# License: BSD-3-Clause-LBNL

In order to kick-start HiPACE++, things were done in the simplest way possible, leaving obvious optimizations for later.
This file lists these easy optimizations, to avoid missing low-hanging fruits.

Expand Down
7 changes: 7 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright 2021
#
# This file is part of HiPACE++.
#
# Authors: MaxThevenet, Severin Diederichs
# License: BSD-3-Clause-LBNL

sphinx_rtd_theme>=0.4.0
recommonmark
sphinx>=3.0
Expand Down
7 changes: 7 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright 2021-2022
#
# This file is part of HiPACE++.
#
# Authors: Axel Huebl, MaxThevenet, Severin Diederichs
# License: BSD-3-Clause-LBNL

# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
Expand Down
10 changes: 8 additions & 2 deletions examples/beam_in_vacuum/analysis.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
#! /usr/bin/env python3

# This Python analysis script is part of the code HiPACE++
# Copyright 2020-2021
#
# It compares the transverse field By with the theoretical value, plots both
# This file is part of HiPACE++.
#
# Authors: MaxThevenet, Severin Diederichs
# License: BSD-3-Clause-LBNL


# This script compares the transverse field By with the theoretical value, plots both
# the simulation result and the theory on the same plot, and asserts that the
# difference is small.
#
Expand Down
8 changes: 8 additions & 0 deletions examples/beam_in_vacuum/analysis_2ranks.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#!/usr/bin/env python3

# Copyright 2020-2021
#
# This file is part of HiPACE++.
#
# Authors: MaxThevenet, Severin Diederichs
# License: BSD-3-Clause-LBNL


import matplotlib.pyplot as plt
import numpy as np
import argparse
Expand Down
8 changes: 8 additions & 0 deletions examples/beam_in_vacuum/analysis_adaptive_ts.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#! /usr/bin/env python3

# Copyright 2020-2021
#
# This file is part of HiPACE++.
#
# Authors: MaxThevenet, Severin Diederichs
# License: BSD-3-Clause-LBNL


import numpy as np
import re

Expand Down
8 changes: 8 additions & 0 deletions examples/beam_in_vacuum/analysis_beam_push.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#! /usr/bin/env python3

# Copyright 2020-2021
#
# This file is part of HiPACE++.
#
# Authors: MaxThevenet, Severin Diederichs
# License: BSD-3-Clause-LBNL


import matplotlib.pyplot as plt
import matplotlib
import argparse
Expand Down
10 changes: 8 additions & 2 deletions examples/beam_in_vacuum/analysis_from_file.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
#! /usr/bin/env python3

# This Python analysis script is part of the code HiPACE++
# Copyright 2021
#
# It is used in the beam from_file test and compares three beams,
# This file is part of HiPACE++.
#
# Authors: AlexanderSinn, Severin Diederichs
# License: BSD-3-Clause-LBNL


# This script is used in the beam from_file test and compares three beams,
# one from the write_beam script, two from hipace,
# with each other and asserts if they are different.

Expand Down
10 changes: 8 additions & 2 deletions examples/beam_in_vacuum/analysis_grid_current.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
#! /usr/bin/env python3

# This Python analysis script is part of the code Hipace
# Copyright 2021
#
# It calculates the sum of jz. The beam current and the grid current should cancel each other.
# This file is part of HiPACE++.
#
# Authors: MaxThevenet, Severin Diederichs
# License: BSD-3-Clause-LBNL

# This script calculates the sum of jz.
# The beam current and the grid current should cancel each other.

import argparse
import numpy as np
Expand Down
10 changes: 8 additions & 2 deletions examples/beam_in_vacuum/analysis_transverse.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
#! /usr/bin/env python3

# This Python analysis script is part of the code Hipace
# Copyright 2021
#
# It compares the transverse field By from a serial and a parallel simulation
# This file is part of HiPACE++.
#
# Authors: MaxThevenet
# License: BSD-3-Clause-LBNL


# This script compares the transverse field By from a serial and a parallel simulation
# with transverse beam currents and asserts that the results are the same

import matplotlib.pyplot as plt
Expand Down
10 changes: 8 additions & 2 deletions examples/blowout_wake/analysis.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
#! /usr/bin/env python3

# This Python analysis script is part of the code HiPACE++
# Copyright 2020-2021
#
# It compares the transverse field By with the theoretical value, plots both
# This file is part of HiPACE++.
#
# Authors: MaxThevenet, Severin Diederichs
# License: BSD-3-Clause-LBNL


# This script compares the transverse field By with the theoretical value, plots both
# the simulation result and the theory on the same plot, and asserts that the
# difference is small.
#
Expand Down
9 changes: 7 additions & 2 deletions examples/blowout_wake/analysis_coarsening.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
#! /usr/bin/env python3

# This Python analysis script is part of the code Hipace
# Copyright 2021
#
# It compares a field from a simulation with full IO and from a simulation with coarse IO
# This file is part of HiPACE++.
#
# Authors: AlexanderSinn
# License: BSD-3-Clause-LBNL

# This script compares a field from a simulation with full IO and from a simulation with coarse IO

import matplotlib.pyplot as plt
import scipy.constants as scc
Expand Down
11 changes: 9 additions & 2 deletions examples/blowout_wake/analysis_slice_IO.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
#! /usr/bin/env python3

# This Python analysis script is part of the code Hipace
# Copyright 2020-2021
#
# It compares a field from a simulation with full IO and from a simulation with only slice IO
# This file is part of HiPACE++.
#
# Authors: MaxThevenet
# License: BSD-3-Clause-LBNL


# This script compares a field from a simulation with
# full IO and from a simulation with only slice IO

import matplotlib.pyplot as plt
import scipy.constants as scc
Expand Down
Loading