diff --git a/docs/paper/the-karl-code/paper.bib b/docs/paper/the-karl-code/paper.bib new file mode 100644 index 0000000..e69de29 diff --git a/docs/paper/the-karl-code/paper.tex b/docs/paper/the-karl-code/paper.tex new file mode 100644 index 0000000..febc261 --- /dev/null +++ b/docs/paper/the-karl-code/paper.tex @@ -0,0 +1,137 @@ +\documentclass[preprint,12pt]{elsarticle} + +%% Use the option review to obtain double line spacing +%% \documentclass[preprint,review,12pt]{elsarticle} + +%% Use the options 1p,twocolumn; 3p; 3p,twocolumn; 5p; or 5p,twocolumn +%% for a journal layout: +%% \documentclass[final,3p,times]{elsarticle} +% \documentclass[final,3p,times,twocolumn]{elsarticle} + +%% \usepackage{graphicx} +\usepackage{amssymb} +\usepackage{amsmath} % for align +\usepackage{listings}% for code listings +\usepackage{xcolor} % to set colors in code listings +\usepackage{siunitx} % for proper units + +% additional CGS units +\DeclareSIUnit\statcoulomb{statC} +\DeclareSIUnit\statvolt{statV} +\DeclareSIUnit\erg{erg} + +% setup syntax highlighting for JSON +\colorlet{punct}{red!60!black} +\definecolor{delim}{RGB}{20,105,176} +\colorlet{digit}{magenta!60!black} + + +%% This list environment is used for the references in the +%% Program Summary +%% +\newcounter{bla} +\newenvironment{refnummer}{% +\list{[\arabic{bla}]}% +{\usecounter{bla}% + \setlength{\itemindent}{0pt}% + \setlength{\topsep}{0pt}% + \setlength{\itemsep}{0pt}% + \setlength{\labelsep}{2pt}% + \setlength{\listparindent}{0pt}% + \settowidth{\labelwidth}{[9]}% + \setlength{\leftmargin}{\labelwidth}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\rightmargin}{0pt}}} + {\endlist} + +\journal{Computer Physics Communications} + +\begin{document} + +\begin{frontmatter} + +%% Title, authors and addresses + +\title{Afterlive: A performant code for Vlasov-Hybrid simulations} + +\author[a]{Patrick Kilian\corref{author}} +\author[a,b,c]{Cedric Schreiner} +\author[a]{Felix Spanier} + +\cortext[author] {Corresponding author.\\\textit{E-mail address:} mail@petschge.de} +\address[a]{North-West University, Potchefstroom, South Africa} +\address[b]{Julius-Maximilians-Universit\"at, W\"urzburg, Germany} +\address[c]{Max-Planck-Institute for Solar System Research, G\"ottingen, Germany} + +\begin{abstract} + +\end{abstract} + +% submit to http://www.ees.elsevier.com/cpc. + +% In addition to the manuscript you must supply: the program source code; job control scripts, where applicable; a README file giving the names and a brief description of all the files that make up the package and clear instructions on the installation and execution of the program; sample input and output data for at least one comprehensive test run; and, where appropriate, a user manual. These should be sent, via email as a compressed archive file, to the CPC Program Librarian at cpc@qub.ac.uk. + + +\begin{keyword} +%% keywords here, in the form: keyword \sep keyword +Monte Carlo +\end{keyword} + +\end{frontmatter} + +{\bf PROGRAM SUMMARY} + +\begin{small} +\noindent +{\em Manuscript Title:} Afterlive: A performant code for Vlasov-Hybrid simulations \\ +{\em Authors:} Patrick Kilian, Cedric Schreier and Felix Spanier \\ +{\em Program Title:} Afterlive (\textbf{A} \textbf{F}ourier-based \textbf{T}ool in the \textbf{E}lectrostatic limit for the \textbf{R}apid \textbf{L}ow-noise \textbf{I}ntegration of the \textbf{V}lasov \textbf{E}quation) \\ +{\em Journal Reference:} \\ %Leave blank, supplied by Elsevier. +{\em Catalogue identifier:} \\ %Leave blank, supplied by Elsevier. +{\em Licensing provisions:} GNU Public Licence \\ %muss so sein wegen FFTW3 und blitz +{\em Programming language:} C++ \\ +{\em Computer:} any workstation or cluster that has a modern C++ compiler (e.g. g++ 4.9 or later) an MPI implementation and the required external libraries \\ +{\em Operating system:} Linux / Unix \\ +{\em RAM:} depending on problem size and number of resolved velocity dimensions between 100 MB and 1 TB; 24 bytes per phase point marker, 24 bytes per grid point and species in phase space, some scratch space \\ +{\em Number of processors used:} depending on problem size between one and a few hundred processors \\ +{\em Keywords:} Vlasov-hybrid, collisionless plasma, electrostatic, particle mesh, spectral, parallel, phase space marker \\ +{\em Classification:} 19.3 Collisionless Plasmas \\ %Classify using CPC Program Library Subject Index, see ( % http://cpc.cs.qub.ac.uk/subjectIndex/SUBJECT_index.html) +{\em External routines/libraries:} C++ compiler (tested with g++ 4.8, 4.9, 5.3 and 6.3), MPI 1.1 (tested with OpenMPI 1.6.5, 1.8.1, and 1.10.2 and MPICH 3.1), HDF5 with support for parallel I/O(tested with version 1.8.13, 1.8.15, 1.8.16 and 1.10.0), FFTW3 (tested with version 3.3.3, 3.3.4 and 3.3.5), Blitz++ (tested with version 0.10), Jansson (tested with version 2.7.1, 2.7.3, 2.7.5 and 2.9.1) and pkg-config\\ +{\em Nature of problem:} Kinetic simulations of collisionless plasma are often done with particle-in-cell codes which also mix Eulerian (fields on a grid) and Lagrangian (freely flowing meta-particles to track particle densities) description. In these codes however computational meta-particles are added up in the deposition scheme. Thus particles are usually equal weights and the noise level is considerable. Purely Eulerian codes must go to great length to yield a stable scheme without excessive numerical diffusion.\\ +{\em Solution method:} In this method a Eulerian description of the electrostatic field is also combined with a Lagrangian description of particles, but the distribution function $f$ is reconstructed over the full phase space in a way that avoids drowning out particles with a low phase space weight. This allows for the use of a wide range of macro factors for different tracer particles and an excellent dynamic range in densities. \\ +{\em Restrictions:} The current implementation handles one dimension in space and one or three dimensions in velocity only and is applicable to electrostatic scenarios. Using the two extra components of the velocity is computationally costly. \\ +{\em Unusual features:} The configuration is stored in JSON files. \\ +{\em Running time:} minutes to hours; $10^6$ to $10^7$ marker updates per second and CPU.\\ + +\end{small} + +%% main text +\section{Introduction} +\label{sec:intro} + +% Problem domain + + +% Collisionless +\appendix + +\section{Acknowledgments} +% +% +%MPI 1.1 support was provided by the Open MPI implementation under the BSD-new +%license. +Design and implementation of the MPI standard by OpenMPI is described in +\cite{Gabriel_2004}. +% +This work is based upon research supported by the National Research Foundation +and Department of Science and Technology. Any opinion, findings and conclusions +or recommendations expressed in this material are those of the authors and +therefore the NRF and DST do not accept any liability in regard thereto. + + +%% References with bibTeX database: +\section{References} +\bibliographystyle{elsarticle-num} +\bibliography{paper} + +\end{document}