Skip to content

Commit

Permalink
Run trailing-whitespace, end-of-file-fixer, black
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirdParty authored and chillenzer committed Jan 19, 2024
1 parent 5d89434 commit 3cf4dbd
Show file tree
Hide file tree
Showing 245 changed files with 4,956 additions and 5,199 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,6 @@ IncludeCategories:
Priority: 9

# Future options - not supported in clang-format 12
#
#
# OperandAlignmentStyle: Align
...
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bin/* text eol=lf
bin/* text eol=lf
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,4 +290,3 @@ Test Suite Examples

You know a useful setting to validate our provided methods?
Tell us about it or add it to our test sets in the examples/ folder!

1 change: 0 additions & 1 deletion COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -672,4 +672,3 @@ may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

1 change: 0 additions & 1 deletion COPYING.LESSER
Original file line number Diff line number Diff line change
Expand Up @@ -163,4 +163,3 @@ whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.

1 change: 0 additions & 1 deletion bin/picongpu-completion.bash
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,3 @@ complete -o nospace -F _pic-compile pic-compile
complete -o nospace -F _pic-configure pic-configure
complete -F _pic-edit pic-edit
complete -o nospace -F _tbg tbg

6 changes: 3 additions & 3 deletions docs/BorisPusher/BorisPusher.tex
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ \section{Boris-Pusher}
\end{equation}
wobei $q$ die Ladung und $\vec{v}$ die Geschwindigkeit ist. $\vec{E}$ und $\vec{B}$ befinden sich am Ort des Teilchens. Zwischen $\vec{p}$ und $\vec{v}$ besteht der Zusammenhang:
\begin{equation}
\vec{v} = \frac{\vec{p}}{m \gamma} = \frac{\vec{p}}{\sqrt{m^{2} + \frac{\vec{p}^{2}}{c^{2}}}}
\vec{v} = \frac{\vec{p}}{m \gamma} = \frac{\vec{p}}{\sqrt{m^{2} + \frac{\vec{p}^{2}}{c^{2}}}}
\end{equation}
mit der Ruhemasse $m$. Für kleine Impulse, also $p \ll m c$ gilt die nicht-relatistische Näherungsformel:
\begin{equation}
Expand All @@ -38,7 +38,7 @@ \section{Boris-Pusher}
\end{equation}
Um $\vec{p}_{t}$ zu bekommen, wurden $\vec{p}_{t + \nicefrac{1}{2}}$ und $\vec{p}_{t - \nicefrac{1}{2}}$ gemittelt. Das Problem ist nur, dass wir $\vec{p}_{t + \nicefrac{1}{2}}$ nicht kennen. Hier hilft uns ein Trick weiter. Zunächst führen wir dazu die Variablen $\vec{p}^{-}$ und $\vec{p}^{+}$ ein:
\begin{equation}
\vec{p}_{t - \nicefrac{1}{2}} = \vec{p}^{-} - \frac{1}{2} q \vec{E} \Delta t
\vec{p}_{t - \nicefrac{1}{2}} = \vec{p}^{-} - \frac{1}{2} q \vec{E} \Delta t
\end{equation}
\begin{equation}
\vec{p}_{t + \nicefrac{1}{2}} = \vec{p}^{+} + \frac{1}{2} q \vec{E} \Delta t
Expand Down Expand Up @@ -72,4 +72,4 @@ \section{Boris-Pusher}
\vec{p}^{+} = \vec{p}^{-} + \vec{p}\prime \times \vec{s}
\end{equation}

\end{document}
\end{document}
8 changes: 4 additions & 4 deletions docs/BorisPusher/VayPusher.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ \section{Vay-Pusher}
\subsection{Conventions}
All indices have been reduced by a $\frac{1}{2}$-step compared to the paper.
All indices have been reduced by a $\frac{1}{2}$-step compared to the paper.
Locations ($\vec r_i$) and fields ($\vec E_i$, $\vec B_i$) are known at full time steps, momenta and speeds ($\vec p_i$, $\vec u_i$, $\vec v_i$) at half time steps. In contrast to the Vay paper real momenta ($\vec p_i = \vec u_i \cdot m_0$) will be used.
\begin{eqnarray*}
\mbox{Vay paper} & \rightarrow & \mbox{implematation in PIC} \\
Expand All @@ -30,7 +30,7 @@ \subsection{Conventions}
\end{eqnarray*}
\subsection{Variables handed to particle pusher}
The pusher takes:
The pusher takes:
\begin{itemize}
\item $\vec E_0$ \quad \texttt{eField}
\item $\vec B_0$ \quad \texttt{bField}
Expand All @@ -50,7 +50,7 @@ \subsection{Second step of the algorithm}
\vec p \prime & = & \vec p_{0} + \frac{q \Delta t}{2} \vec E_{0} \\
\gamma \prime & = & \sqrt{1 + \frac{{\vec p \prime}^2}{m_0^2 c^2 }} \\
\vec \tau & = & \frac{q \Delta t}{2 m_0} \vec B_{0} \\
u^{\star} & = & \frac{\vec p \prime \cdot \vec \tau}{m_0 c} \\
u^{\star} & = & \frac{\vec p \prime \cdot \vec \tau}{m_0 c} \\
\sigma & = & {\gamma \prime }^2 - {\vec \tau}^2 \\
\gamma_{+1/2} & = & \sqrt{\frac{ \sigma + \sqrt{ \sigma^2 + 4 \left( {\vec \tau}^2 + {u^\star}^2 \right) } }{2}} \\
\vec t & = & \frac{\vec \tau}{\gamma_{+1/2}} \\
Expand All @@ -63,4 +63,4 @@ \subsection{Particle push}
\end{document}
\end{document}
1 change: 0 additions & 1 deletion docs/COMMIT.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,3 @@ Compile **all CMake presets** of a *single example* with:
- Compile like a boss!
`<pathToYourPIConGPUgitDirectory>/compile -l -q -j 60 <pathToYourPIConGPUgitDirectory>/examples/ $tmpPath`
- Wait for the **thumbs up/down** :)

1 change: 0 additions & 1 deletion docs/picongpu-docs-env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ dependencies:
- pip
- pip:
- "-r requirements.txt"

36 changes: 6 additions & 30 deletions docs/propose_changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
print(m_list[m_sel], milestones[m_sel].number)

# get pulls (all pulls are also issues but not vice versa)
issues = repo.get_issues(state="closed", sort="updated", direction="asc",
milestone=milestones[m_sel])
issues = repo.get_issues(state="closed", sort="updated", direction="asc", milestone=milestones[m_sel])
# Use this in the future, but pagination seems broken in it:
# search_string = 'repo:ComputationalRadiationPhysics/picongpu ' +
# 'type:pr is:merged milestone:"'+milestones[m_sel].title+'"'
Expand All @@ -37,34 +36,11 @@


# categories
user = {
"input": []
}
bugs = {
"core": [],
"pmacc": [],
"plugin": [],
"tools": [],
"other": []
}
features = {
"core": [],
"pmacc": [],
"plugin": [],
"tools": [],
"other": []
}
refactoring = {
"core": [],
"pmacc": [],
"plugin": [],
"tools": [],
"other": []
}
misc = {
"docs": [],
"other": []
}
user = {"input": []}
bugs = {"core": [], "pmacc": [], "plugin": [], "tools": [], "other": []}
features = {"core": [], "pmacc": [], "plugin": [], "tools": [], "other": []}
refactoring = {"core": [], "pmacc": [], "plugin": [], "tools": [], "other": []}
misc = {"docs": [], "other": []}

for i in issues:
# skip issues, only pull requests
Expand Down
Loading

0 comments on commit 3cf4dbd

Please sign in to comment.