Origin of the Heaviest Elements: the Rapid Neutron-Capture Process

Abstract: The production of about half of the heavy elements found in nature is assigned to a specific astrophysical nucleosynthesis process: the rapid neutron capture process (r-process). Although this idea has been postulated more than six decades ago, the full understanding faces two types of uncertainties/open questions: (a) The nucleosynthesis path in the nuclear chart runs close to the neutron-drip line, where presently only limited experimental information is available, and one has to rely strongly on theoretical predictions for nuclear properties. (b) While for many years the occurrence of the r-process has been associated with supernovae, more recent studies have cast substantial doubts on this environment. Alternative scenarios include the mergers of neutron stars, neutron-star black hole mergers, but possibly also rare classes of supernovae as well as hypernovae/collapsars with polar jet ejecta and also accretion disk outflows related to the collapse of fast rotating massive stars with high magnetic fields. Stellar r-process abundance observations, have provided insights into, and constraints on the frequency of and conditions in the responsible stellar production sites. One of them, neutron star mergers, was just identified and related to the Gravitational Wave event GW170817. High resolution observations, increasingly more precise due to improved experimental atomic data, have been particularly important in defining the heavy element abundance patterns of the old halo stars, and thus determining the extent, and nature, of the earliest nucleosynthesis in our Galaxy. Combining new results and important breakthroughs in the related nuclear, atomic and astronomical fields of science, this review attempts to provide an answer to the question "How Were the Elements from Iron to Uranium Made?" (Abridged)

\section{Introduction and historical reviews}
\label{sec:intr-hist-revi}
At present we know of 118 elements from charge number $Z=1$ (H) to
$Z=118$ (Og). 80 of them have at least one stable isotope (up to
$Z=82$, Pb) with $Z=43$ (Tc) and $Z=61$ (Pm) being unstable. Another
11 elements up to $Z=94$ (Pu) [with the exception of $Z=93$, Np] are
naturally occurring on earth with sufficiently long half-lives, while
the remaining ones with short half-lives have only been either
produced in laboratory or possibly also astrophysical
environments. The question of how this took place in the Universe is a
long-standing one. Presently we know that of the natural
elements/isotopes only $^{1,2}$H, $^{3,4}$He and $^{7}$Li originate in
the Big Bang, with problems remaining in understanding the abundance
of $^7$Li \citep{Cyburt.Olive.ea:2016,Pitrou.Coc.ea:2018}.  All other
elements were synthesized in stars, the first ones forming a few
hundred million years after the Big Bang.  The majority of stars,
which have long evolutionary phases, are powered by fusion
reactions. During their evolution, and in explosive end phases,
massive stars can synthesize (among others) elements up to, and
including, the iron-peak elements (e.g., $21 \leq Z \leq 30$ from Sc
to Zn).  Major concepts were laid out in the 1950s
\citep{Burbidge.Burbidge.ea:1957,Cameron:1957}, and one of the main
conclusions was that the production of heavier nuclei up to Pb, Bi,
and the actinides requires free neutrons.

A (very) small number of these heavy isotopes are produced as a result
of charged-particle and photon-induced reactions in explosive
nucleosynthesis, the so called (proton-rich) p process
\citep[e.g.][and references
therein]{Arnould.Goriely:2003,Travaglio.Rauscher.ea:2018,Nishimura.Rauscher.ea:2018},
and possibly a further contribution results from interactions with
neutrinos in such environments, including the $\nu$
process~\citep{Woosley.Hartmann.ea:1990,Sieverding.Martinez-Pinedo.ea:2018}
and $\nu$p
process~\citep{Froehlich.Martinez-Pinedo.ea:2006,Pruet.Hoffman.ea:2006,Wanajo:2006}.

The two main processes involving the capture of free neutrons are the
slow (s) process and the rapid (r) process, with the s~process taking
place during stellar evolution and passing through nuclei near
stability with a process timescale of hundreds to thousands of
years. For many of these nuclei experimental data are available
\citep[see
e.g.][]{Kaeppeler.Gallino.ea:2011,karakas14,Reifarth.Lederer.Kaeppeler:2014}. The
r~process operates (over a timescale of seconds) far from stability
requiring high neutron densities in regimes where still little
experimental data are known and the quest for its stellar origin
involved a large number of speculations for many decades
\citep[e.g.][] {Cowan.Thielemann.Truran:1991,arnould07}. [There are
also observational indications of intermediate neutron capture
processes between the s and the r~process, e.g., the i process
\citep{cowan77}, possibly occurring in super-AGB stars
\citep{Jones.Ritter.ea:2016}.]  Fig.~\ref{fig:solarabund} gives an
overview of the major contributions to the solar system abundances.
We note, however, that the contributions of the i, p, $\nu$, and
$\nu$p processes are minor and thus are not readily apparent in this
figure.  The focus of this review will be on the r~process and the
understanding how the corresponding isotopes were synthesized in
nature.

\begin{figure}[htb]
  \includegraphics[width=\linewidth]{solar}
  \caption{Abundances, $Y_i$, of elements and their isotopes in the
    solar system as a function of mass number $A_i=Z_i+N_i$, with a
    normalization leading to an abundance of $10^6$ for $^{28}$Si,
    rather than $\sum_iA_i Y_i=1$, as introduced later in the
    text. Element ratios are obtained from solar spectra, the isotopic
    rations from primitive meteorites and terrestrial values
    \citep{Asplund.Grevesse.ea:2009,lodders09}. These values represent
    a snapshot in time of the abundances within the gas that formed
    the solar system. It formed from contributions of the Big Bang
    (light elements H, He, Li and their isotopes $^{1,2}$H, $^{3,4}$He
    and $^7$Li, given in yellow) plus stellar sources, contributing
    via winds and explosions to the interstellar medium until the
    formation of the solar system. The abundances result from
    charged-particle fusion reactions up to the Fe-group in stellar
    evolution and explosions (green), and neutron capture
    processes. The latter are a superposition of (understood) slow
    neutron captures (s~process) in helium burning of stars (with
    abundance maxima at closed neutron shells for stable nuclei,
    blue), and a rapid neutron capture process (r~process) leading to
    abundance maxima shifted to lighter nuclei in comparison to the
    s~process (red). The r~process and its stellar origins represent
    the focus of this article.\label{fig:solarabund}}

\end{figure}

Over the years there have been a number of comprehensive reviews on
this topic \citep[for a selected list see e.g.][and references
therein]{Hillebrandt:1978,Cowan.Thielemann.Truran:1991,Qian.Wasserburg:2007,arnould07,sneden08,Thielemann.Arcones.ea:2011,
  thielemann17a,Thielemann.Eichler.ea:2017,Horowitz.ea:2018}.  In
order to get clues on the r~process origin, a wide range of subtopics
need to be addressed: (1) nuclear input to understand the
nucleosynthesis path far from stability, (2) nucleosynthesis modeling
to find out conditions for neutron densities and temperatures which
can reproduce the r-process abundances found in nature, (3)
determining whether proposed astrophysical sites can match such
conditions, (4) observations of stellar abundances throughout galactic
history in order to find out which of these sites can contribute
during which period of galactic evolution, (5) in order to do so with
good precision a detailed study of the atomic physics is required for
identifying the strengths of absorption lines needed to determine
abundances, and (6) detections of long-lived radioactive species that
can hint towards understanding the frequencies of r-process events in
the Galaxy.  Thus, a number of connected fields, including atomic
physics, nuclear physics, stellar spectroscopy, stellar (explosion)
modeling, and galactic chemical evolution are involved in attempting
to answer the long-standing problem of ``How Were the Elements from
Iron to Uranium Made?'', one of the \textsl{Eleven Science Questions
  for the New Century} addressed by the National Academy of Sciences
in 2003~\cite{NAP10079}.  Detailed discussions will come in the
appropriate sections, but we want to mention at this point already a
number of suggested scenarios, in order to whet the appetite for these
upcoming sections.

While there have been many parametric studies in the early days,
assuming a set of neutron densities and temperatures
\citep[e.g.][]{seeger.fowler.clayton:1965,Kodama.Takahashi:1975,Kratz.Gabelmann.ea:1986,Kratz.Thielemann.ea:1988,Kratz.Bitouzet.ea:1993,Freiburghaus.Rembges.ea:1999,Pfeiffer.Kratz.ea:2001},
the long-standing question is, where an r~process with neutron
densities of $10^{26}$~cm$^{-3}$ and higher, producing highly unstable
neutron-rich isotopes of all heavy elements and permitting a fast
build-up of the heaviest elements up to the actinides, can take place.

There have been many suggestions relating the site of the strong
r~process to
\begin{enumerate}
\item the innermost ejecta of regular core-collapse supernovae
  \citep[e.g.][]{Schramm:1973,Sato:1974,Hillebrandt.Kodama.Takahashi:1976,Hillebrandt:1978,Woosley.Wilson.ea:1994,Takahashi.Witti.Janka:1994,Witti.Janka.Takahashi:1994,Qian.Woosley:1996,hoffman.woosley.qian:1997,Thompson.Burrows.Meyer:2001,Wanajo.Kajino.ea:2001,Terasawa.Sumiyoshi.ea:2001b,Qian.Wasserburg:2007,Farouqi.Kratz.ea:2010,Roberts.Woosley.Hoffman:2010,Roberts.Reddy.Shen:2012,Martinez-Pinedo.Fischer.ea:2012,Arcones.Thielemann:2013,Mirizzi:2015,Fischer.Wu.ea:2018}. However,
  despite all remaining uncertainties in the explosion mechanism,
  recent conclusions are that at most a weak r~process can occur under
  these conditions
  \cite{Wanajo.Janka.Mueller:2011,Martinez-Pinedo.Fischer.ea:2012,Roberts.Reddy.Shen:2012,curtis18},
  because weak interactions with electron neutrinos and anti-neutrinos
  will either make initially neutron-rich matter less neutron-rich or
  even proton-rich or, if matter is neutron-rich, sufficiently high
  entropies are not attained.
\item Outer layers of supernova explosions, e.g.\ the helium layer
  where neutrons are created by $(\alpha,n)$-reactions, were also
  suggested
  \cite{Truran.Cowan.Cameron:1978,Thielemann.Arnould.Hillebrandt:1979,Cowan.Cameron.Truran:1980,Hillebrandt.ea:1981,Klapdor.ea:1981,Cameron.Cowan.Truran:1983,Cowan.Cameron.Truran:1983,Thielemann.Metzinger.Klapdor:1983,Cowan.Cameron.Truran:1985,Epstein.Colgate.Haxton:1988,Nadyozhin.Panov:2007,Banerjee.Haxton.Qian:2011,Qian:2014},
  later also the collapsing ONeMg core of massive stars
  \cite{Wheeler.Cowan.Hillebrandt:1998}. Further options include---for
  low abundances of heavy elements in the early Galaxy---sufficient
  amounts of neutrons in He-shell, provided via neutrino
  interactions~\citep{Epstein.Colgate.Haxton:1988}. But this scenario,
  with low neutron number densities, would not be able to produce the
  solar r-process pattern with its correct peak
  locations~\citep{Banerjee.Haxton.Qian:2011,Banerjee.Qian.ea:2016}.
\item A special class of core-collapse supernovae (MHD-jet supernovae)
  with fast rotation, high magnetic fields and neutron-rich jet ejecta
  along the poles
  \citep{symbalisty85,cameron03,Fujimoto.Nishimura.Hashimoto:2008,Ono.Hashimoto.ea:2012,Winteler.Kaeppeli.ea:2012,Moesta.Richers.ea:2014,Nishimura.Takiwaki.Thielemann:2015,Moesta.ea:2015,Nishimura.Sawai.ea:2017,moesta18,halevi18,Obergaulinger.Just.Aloy:2018}
  showed quite some promise. A further option related to massive stars
  with fast rotation goes back to
  \citet{Pruet.Woosley.Hoffman:2003,Pruet.Thompson.Hoffman:2004} and \citet{Siegel.Barnes.Metzger:2018}. If
  collapsing to black holes, i.e.\ leading to collapsars, magnetic
  field effects could cause the production of medium mass r-process
  elements in the black hole accretion disk.
\item Ejecta from binary neutron star (or BH-neutron star) mergers
  \citep[e.g.][]{Lattimer.Schramm:1974,symbalisty82,Eichler.Livio.ea:1989,Freiburghaus.Rosswog.Thielemann:1999,Rosswog.Davies.ea:2000,Rosswog.Korobkin.ea:2014,Wanajo.Sekiguchi.ea:2014,Goriely.Bauswein.Janka:2011,Just.Bauswein.ea:2015,Eichler.Arcones.ea:2015,Goriely.Bauswein.ea:2015,Ramirez-Ruiz.Trenti.ea:2015,Mendoza-Temis.Wu.ea:2015,Shibagaki.Kajino.ea:2016,Wu.Fernandez.Martinez.ea:2016,Lippuner.Fernandez.Roberts.ea:2017,Thielemann.Eichler.ea:2017},
  becoming of special interest after the recent detection of a neutron
  star merger \citep[GW170817,][]{Metzger:2017}.
\end{enumerate}

But before discussing these sources in detail, a lot of groundwork has
to be laid out.  Section~\ref{sec:observations-jjc-cs} provides an
overview of observations (including the atomic physics for their
correct interpretation), section~\ref{sec:basic-working} the basic
working of an r~process and which conditions are needed for its
successful operation, sections~\ref{sec:exper-devel-r}
and~\ref{sec:nuclear-modeling-r} discuss the impact played by nuclear
physics (with experimental and theoretical investigations), and
section~\ref{sec:astr-sites-their} passes through the astrophysical
sites which can fulfill the required conditions,
section~\ref{sec:chemev} combines these astrophysical sites and how
their role in galactic evolution connects to
section~\ref{sec:observations-jjc-cs}. Finally in the summary
(section~\ref{sec:conclusions}), after having presented all possible
connections, we discuss remaining issues and open questions, i.e.\
whether a single r-process site has been identified by now, or whether
we still might need several sources to explain observations throughout
galactic evolution.

\section{Observations}
\label{sec:observations-jjc-cs}

\subsection{Stellar Abundances of Neutron-Capture Elements in
  Metal-Poor Stars}
\label{sec:stellar-abunds}
Stellar abundance observations over decades have provided fresh
evidence about the nature and extent of heavy element nucleosynthesis.
In the case of the s~process there is direct observational evidence of
in situ stellar nucleosynthesis with the observation of the
radioactive element Tc, discovered first by \citet{merrill52}.
Additional stellar abundance studies have strongly linked this type of
nucleosynthesis to very evolved He shell-burning asymptotic giant
branch stars (e.g., \citealt{busso99},
\citealt{Kaeppeler.Gallino.ea:2011}, \citealt{karakas14}).  There is
no similar example for the r~process, related to nucleosynthesis
during stellar evolution; its need for explosive neutron floods
ensures that its action is part of the death thores of massive stars
or dynamic events around compact objects.  Some elements are only
formed exclusively or almost so in the r~process, such as Eu, Os, Ir,
Pt, Th and U (see Figure~\ref{kappsr}).  Their presence in old very
metal-poor Galactic halo stars is a clear indication that this neutron
process occurred in some violent astrophysical site early in the
history of the Galaxy and the Universe \citep[see e.g.]  [and
references therein]{sneden08,Thielemann.Eichler.ea:2017}.

\begin{figure}[htb]
  \includegraphics[width=\linewidth]{kappsr.pdf}
  \caption{Breakdown of the solar system abundances into the s and the
    r~process \citep{Cowan.Thielemann:2004}.\label{kappsr}}
\end{figure}

\begin{figure}[htb]
  \includegraphics[width=\linewidth]{aabund-solar-s1s2.pdf}
  \caption{Solar r-process abundances as determined
    by~\citet{Cowan.Thielemann.Truran:1991}
    and~\citet{Goriely:1999}. The largest
    uncertainties are clearly visible for $A\lesssim 100$ (weak s
    process region) and around lead.\label{fig:solarr}}
\end{figure}

Identification of r-process-rich stars began with the discovery of
n-capture overabundances in the field red giant HD~115444
\citep{griffin82}.  This was followed by the identification of an
r-process pattern in the well known bright giant HD~122563, even
though its overall n-capture element level is depressed relative to Fe
(\citealt{sneden83}, see also the more extensive analysis of
\citealt{honda06}).  An initial n-capture abundance survey in
metal-poor stars \citep{gilroy88} considered 20 red giants, finding a
common and easily spotted pattern of increasing overabundances from
Ba~($Z=56$) to Eu ($Z=63$) among the rare-earth elements.  With better
echelle spectrographic data came discoveries of many more
r-process-rich stars, leading \citet{beers05} to sub-classify them as
``r-I'' with $0.3 \leq \text{[Eu/Fe]} \leq +1.0$ and
$\text{[Ba/Eu]} < 0$, and as ``r-II'' with $\text{[Eu/Fe]}>+1.0$ and
$\text{[Ba/Eu]}< 0$.

As discussed in the introduction, in general elements heavier than
iron are formed via various nucleosynthetic mechanisms, dominantly by
the r and s~processes.  The most detailed deconvolution of abundances
into nucleosynthetic contributions exists for the solar system, as we
have accurate abundances down to the isotopic lever as a result of
meteoritic and solar atmospheric measurements (e.g.,
\citealt{cameron59}, \citealt{Asplund.Grevesse.ea:2009},
\citealt{lodders09}, see Fig.~\ref{fig:solarabund}).  Identifying the
r-process contributions to the solar system n-capture abundances is
usually accomplished by first determining the s-process fractions,
\citep[e.g.][]{Kaeppeler:1999,arlandini99,Burris.Pilachowski.ea:2000,Kaeppeler.Gallino.ea:2011}.
The remaining (residual) amount of the total elemental abundance is
assumed to be the solar r-process contribution (see
Figures~\ref{kappsr} and~\ref{fig:solarr}).  Aside from the so-called
p process
(\citealt{Arnould.Goriely:2003,rauscher13,Nishimura.Rauscher.ea:2018})
that accounts for the minor heavy element isotopes on the proton-rich
side of the valley of instability, as well as the $\nu$~process~\citep{Woosley.Hartmann.ea:1990} and the
$\nu$p~processs \citep{Froehlich.Martinez-Pinedo.ea:2006}, only the s
and r~processes are needed to explain nearly all of the solar heavy
element abundances.

Early observations of CS~22892-052 (\citealt{sneden94},
\citealt{sneden03}) and later CS~31082-001 (\citealt{hill02},
\citealt{siqueira13} and references therein), indicated a ``purely''
or ``complete'' solar system r-process abundance pattern (see
Figure~\ref{rstars}).  (The total abundances of these, mostly
rare-earth, elements in the stars were smaller than in the Sun but
with the same relative proportions, i.e., scaled.)  This indicated
that these stars, that likely formed early in the history of the
Galaxy, experienced already a pollution by a robust r~process,
operating over billions of years in a similar manner.

\begin{figure}[htb]
  \includegraphics[width=\linewidth]{rstars2.pdf}

  \caption{Top panel:  n-capture abundances in 12 r-II stars
    (points) and the scaled solar-system r-process-only abundances
    of~\cite{siqueira13}, mostly adopted from
    \cite{Simmerer.Sneden.ea:2004}.
    The stellar and solar system distributions have been normalized
    to agree for element Eu (Z~=~63), and than vertical shifts
    have been applied in each case for plotting clarity.
    The stellar abundance sets are:
    (a) CS~22892-052, \cite{Sneden.Cowan:2003};
    (b) HD~115444, \cite{Westin.Sneden.ea:2000};
    (c) BD+17 3248, \cite{Cowan.Sneden.ea:2002};
    (d) CS~31082-001, \cite{siqueira13};
    (e) HD~221170, \cite{Ivans.Simmerer.ea:2006};
    (f) HD~1523+0157, \cite{frebel07};
    (g) CS~29491-069, \cite{Hayek.Wiesendahl.ea:2009};
    (h) HD~1219-0312, \cite{Hayek.Wiesendahl.ea:2009};
    (i) CS~22953-003, \cite{Francois.Depagne.ea:2007};
    (j) HD~2252-4225, \cite{Mashonkina:2014};
    (k) LAMOST J110901.22+075441.8, \cite{Li.Aoki.ea:2015};
    (l) RAVE J203843.2-002333, \cite{Placco.Holmbeck.ea:2017};
    (m) 2MASS J09544277+5246414, \citep{Holmbeck.Beers.ea:2018}.
    Bottom panel: mean abundance differences for the 12 stars
    with respect to the solar system values.
    \label{rstars}}
\end{figure}

However, the growing literature on abundance analyses of very
metal-poor stars has added to our knowledge of the average r-process
pattern, and has served to highlight departures from that pattern.
Additions to the observational results since the review of
\citet{sneden08} include
\citet{Roederer.Sneden.ea:2010,roederer14,Li.Aoki.ea:2015,roederer16,Roederer:2017,Aoki.Ishimura.ea:2017,Yong.Morris.ea:2017,Hansen.Holmbeck.ea:2018}.
These additional observations have shown that there is a complex
relationship between light and heavy n-capture elements:
\citet{Travaglio.Gallino.ea:2004,Cowan.Sneden.ea:2005,Hansen.Primas:2011,Aoki.Beers.ea:2013,Ural.Cescutti.ea:2015,Wu.Fernandez.Martinez.ea:2016}.
In particular it has been found in some stars that there is
significant observed star-to-star abundance scatter of lighter
n-capture elements (Z~$\leq$~50), opposite to the heavier ones
(Z~$\geq$~56), as shown in Fig.~\ref{rstars}.  For heavy n-capture
elements, particularly among the well-studied rare earths, an
r~process origin does not always mean perfect agreement with the solar
r-process pattern.  So-called ``truncated'' r-process stars have been
identified with sharp abundance falloffs toward the heavy end of the
rare earths
\cite{honda06,Honda.Aoki.ea:2007,Roederer.Cowan.ea:2010,Boyd.Famiano.ea:2012}.
These observed abundance patterns can be described as having a range
of r-process ``completeness'' with some stars showing only a partial
agreement. The differences in these abundance patterns have led to a
flurry of stellar models and calculations to identify a site or sites
for r~process, and to determine why stars show differences in these
heavy element patterns.  In addition to the suggestion to the
operation of a ``weak'' r~process, two additional processes have
gained currency: the so-called Lighter Element Primary Process (LEPP;
\citealt{Travaglio.Gallino.ea:2004}), and the i~process
(\citealt{cowan77}; see also \citealt{denissenkov17} and references
therein).  (While the LEPP and the i~process may explain certain
individual stellar abundances, their contributions to the total solar
s~process (SS) abundances appear to be very small.)

An r-process pattern (defined here as $\text{[Eu/Ba]}>~+0.3$) can be seen
even in metal-poor stars with bulk deficiencies in n-capture elements:
{In Fig.~\ref{ssrdiffs} we show abundances differences between
  observed stellar abundances and those of the solar system attributed
  only to the r~process.  Fig.~\ref{ssrdiffs} is similar in structure
  to those of~\citet{Honda.Aoki.ea:2007} and
  \citet{Roederer.Cowan.ea:2010}.  As defined in the figure, if
  $\Delta\log \epsilon=0$, then the stellar n-capture abundance set is
  identical to the solar-system r-process-only distribution.  This is
  clearly the case for elements in the atomic numbers range
  $Z=57$--78, e.g. La--Pt in CS31082-001 \citep{siqueira13}.  All
  extremely r-process-rich stars (classified as ``r-II'':
  $\text{[Eu/Fe]} >+1$) have similar abundance runs in the heavy n-capture
  elements, as discussed above.  However, many metal-poor stars with a
  clear dominance of the r~process, as defined by $\text{[Eu/Ba]}>~+0.3$,
  have abrupt drop-offs in abundances through the rare-earth domain.
  The most dramatic examples are the truncated r-process stars shown
  in Fig.~\ref{ssrdiffs}: HD~122563 \citep{honda06} and HD~88609
  \citep{Honda.Aoki.ea:2007}.  Intermediate cases are abound, as shown
  in \citet{Roederer.Sneden.ea:2010}.}

\begin{figure}[htb]
  \includegraphics[width=\linewidth]{ssrdiffs.pdf}
  \caption{Differences between stellar and r-process-only solar system
    (s.s.) abundances for four very metal-poor stars with
    r-process abundance mixes, after Figure~5 of \citet{Honda.Aoki.ea:2007}                   and Fig.~11 of \citet{Roederer.Sneden.ea:2010}.
    The ``s.s.,r-only'' abundances are those of
    \citet{siqueira13}, mostly from \citet{Simmerer.Sneden.ea:2004}.
    The stellar abundance sets are: CS31082-001, \cite{siqueira13};
    HD~88609, \cite{Honda.Aoki.ea:2007}; HD~122563, \cite{honda06};
    and HD~221170, \cite{Ivans.Simmerer.ea:2006}.
    \label{ssrdiffs}}
\end{figure}

To understand the types and nature of the nucleosynthesis, along with
identifying the stellar sites and the identities of the first stars in
our Galaxy, demands highly precise stellar abundance
observations. Those require both high-resolution spectrographic
measurements and accurate atomic data.  Thus, the discovery of Metal
Poor (MP) stars renewed efforts to improve atomic data for many heavy
(beyond the Fe-group) n-capture elements \citep[see
e.g.,][]{sneden09}, as discussed below in
section~\ref{sec:atomic-elements-stars}.

\subsection{Atomic Data for the Analysis of n-capture Elements in
  Metal-Poor Stars}
\label{sec:atomic-elements-stars}

Although there was a great need for improved transition probabilities,
the identification of lines from n-capture elements in stellar spectra
was possible for most elements using readily available laboratory data
from about the middle of the 20th Century.  Wavelengths of spectral
lines of such elements were measured during the first half of the 20th
Century using large grating spectrographs such as 10~m Rowland circle
instruments.  These early wavelength measurements often achieved
1~part per million (ppm) accuracy and were compiled in the well known
Atomic Energy Level series by \citet{moore71} and for the Rare-Earth
Elements by \citet{martin71}.  The latter of these two works includes
more data from Fourier transform spectrometers (FTSs) and thus
achieved $\simeq 0.01$~ppm or 10~ppb accuracy in many cases.  All of
these spectroscopic data are now available online from the Atomic
Spectra Database of the National Institute of Standards and
Technology\footnote{\url{http://physics.nist.gov/asd}}.  Although
modern optical frequency comb lasers could add many additional digits
to energy levels, this technology has not yet been widely applied
because of the difficulty in simultaneously using it on large numbers
of spectral lines.

The situation with respect to transition probabilities changed with
the development of tunable dye lasers originally by \citet{sorokin66}
in the US and \citet{schafer66} in Germany.  Although it took some
time to thoroughly control dye laser performance, many research groups
had organic dye lasers with broad tunability, narrow bandwidths
(comparable to or less than Doppler widths), short (few nsec) pulse
durations, and repetition rates in the 10s of Hz.  Non-linear
techniques, using crystals and/or gas cells, are needed to access IR
and UV wavelengths, and those were also increasingly available.  The
remaining challenge is to make free atoms and ions of various elements
in the periodic table in an optically thin sample with a low collision
rate.  There are several methods, including sputtering metal cathodes,
in a low pressure gas cell \citep{hannaford81}, laser driven plasma
sources (e.g. \citealt{svanberg94}), and the hollow cathode atom/ion
beam source developed and favored at the Univ.~of Wisconsin-Madison
(\citealt{duquette81}, \citealt{salih83}).  The broadly tunable
organic dye lasers, in combination with a technique to make low
pressure samples of metal atoms and ions, opened the possibility of
using time-resolved laser-induced-fluorescence (TRLIF) to measure
accurate and precise (about a few \%) radiative lifetimes of upper
levels on interest in atoms and ions.  These lifetimes provide an
accurate and precise total decay rate for transition probabilities
from the selected upper level.

Emission branching fractions (BFs) in rich spectra still represented a
challenge.  The same visible and UV capable FTS instruments
(e.g. \citealt{brault76}), used to improve energy levels, became the
``work horse'' of efforts on BFs in complex spectra.  Reference
Ar~\textsc{i} and \textsc{ii} lines became internal standards for many
laboratory spectra from hollow cathode lamps recorded using FTS
instruments (\citealt{whaling93} and references therein).  The
advantages of interferometric instruments such as the 1~m FTS of the
National Solar Observatory on Kitt Peak, AZ were critical for BF
measurements in complex spectra.  This instrument has a large etendue
among all interferometric spectrometers, wavenumber accuracy to 1 part
in 10$^8$, a limit of resolution as small as 0.01~cm$^{-1}$, broad
spectral coverage from the UV to IR, and the capability of recording a
million point spectrum in minutes (\citealt{brault76}).  Hollow
cathode lamps yield emission spectra for neutral and singly ionized
atoms of essentially the entire periodic table.

Interest in rare-earth elements is a natural part of studies of
n-capture elements in MP stars.  Atoms and ions with open f-shells
have a great many transitions in the optical.  Rare-earths have
important applications in general lighting and in optoelectronics
because of their rich visible spectra.  Rare-earth elements in MP
stars are convenient for spectroscopic studies in the optical region
accessible to ground based telescopes.  Europium is a nearly pure
r-process element and lanthanum is a nearly pure s-process element in
solar system material.  Although none of the r-process peaks are in
the rare-earth row, the accessibility from the ground is a major
advantage for rare earths.  Hubble Space Telescope (HST) observing
time is heavily oversubscribed even today.

\begin{figure}[htb]
  \includegraphics[width=\linewidth]{labhisto.pdf}
  \caption{Comparisons of laboratory data on Sm~\textsc{ii} from University of
    Western Ontario (UWO) and University of Wisconsin (UW) groups,
    adapted from Figs.~4 and 5 of \citet{lawler08}.
    In panel (a) a histogram of differences in lifetimes ($\tau$ divided
    by their uncertainties added in quadrature) is shown, along with
    a dashed line representing a one standard deviation Gaussian.
    In panel (b) we show a similar histogram and Gaussian representation
    for transition probabilities (A-values).
    \label{labhisto}}
\end{figure}

Rare-earth elements tend to be singly ionized in the photospheres of
F, G, and K stars of interest for many elemental abundance studies.
The spectrum of singly ionized samarium (Sm~\textsc{ii}) received
attention almost simultaneously by the Univ.\ of Wisconsin-Madison
(UW) laboratory astrophysics team and by a team at the Univ.\ of
Western Ontario (UWO) (\citealt{lawler06}, \citealt{rehse06}).
Publications from these groups did not include comparisons to the
measurements from the other group.  \citet{lawler08} completed
comparisons from the two sets of measurements in a separate note.
{Fig.~\ref{labhisto} shows a histogram of lifetime measurement
  differences in common to the two studies with a one standard
  deviation Gaussian superposed, and a similar histogram comparison
  for Einstein A coefficients which include BFs.}  It is clear from
these histograms that radiative lifetime uncertainties are overly
conservative and BFs uncertainties are satisfactory but perhaps
slightly too optimistic in at least one of two sets of measurements.

Uncertainties in radiative lifetimes from TRLIF experiments have
proven to be easier to minimize than uncertainties in emission BFs.
Various techniques can conveniently be used to check for optical depth
(vary the atom/ion beam intensity), to check for collisional effects
(throttle a vacuum pump), and to eliminate errors from Zeeman quantum
beats (zero the B-field in the experimental region for short lifetimes
and introduce a high, 30~Gauss, B-field for long lifetimes).  Most
importantly benchmark lifetimes in simple spectra such as
He~\textsc{i}, Be~\textsc{i}, Be~\textsc{ii}, Mg~\textsc{ii}, etc.,
which are well known from accurate theory, can be periodically
re-measured as an end-to-end test of the TRLIF experiment
\cite{denhartog02}.  There are multiple challenges in BF measurements.
It is essential to have a reliable relative radiometric calibration,
and have a source that is optically thin for strong lines of interest.
Of course one must resolve lines of interest from nearby blending
partners and line identifications must be correct.  These latter two
constraints are most easily achieved using FTS instruments due to
their exceptional resolving power and absolute wave number accuracy
and precision.  Weak lines from an upper level of interest are clearly
most vulnerable to blending, poor signal-to-noise ratios (S/N), and
other problems.  Uncertainty migrates to weak lines because BFs from
an upper level of interest sum to unity by definition.

Elements with wide hyperfine and/or isotopic structure require some
additional effort, but in most cases the needed hfs data can be
extracted from FTS spectra.  The existence of even a few hfs data from
single frequency laser measurements is helpful since such data can
serve to constrain nonlinear least square fitting of partially
resolved hfs patterns in FTS data.  Laboratory transition probability
measurements on rare-earth ions were summarized during a study of
Ce~\textsc{ii} by \citet{lawler09} and were applied to five r-process
rich very MP stars in a companion paper by \citet{sneden09}.  The most
striking conclusion from the decade long rare-earth study is that the
relative r-process abundance pattern is stable over time and space.
Third r-process peak elements, including Os, Ir, and Pt
were observed in MP stars by \citet{Cowan.Sneden.ea:2005}.  Some
useful lines of Os~\textsc{i} and Ir~\textsc{i} are accessible to
ground based studies.  Unfortunately lines suitable for abundance
studies of many lighter n-capture elements are not accessible to
ground based observations.  Elements near the first r-process peak
such as a As and Se have their valence electrons in nearly closed
p-shells.  The huge gap between the ground and first resonance levels
exists in both the neutral and ion energy level structure, although
the neutral atom population is dominant in most stars of interest for
both of these elements.  A similar problem arises for Te at the second
r-process peak with only deep UV lines.  Fortunately HST time was
allocated for a study of Te~\textsc{i} lines in multiple MP stars
(\citealt{roederer12b}).  The success of the Te study inspired a
careful search through the HST archives for one or more stars with
sufficiently deep UV spectral coverage for observations on all three
r-process peaks (\citealt{roederer12a}).  Unfortunately the star
HD~160617 is likely the only such star with sufficient deep UV
spectral coverage.  Laboratory data sets for many of the lighter
r-process elements are included with references in
\citet{roederer12a}.  Laboratory data sets for many of the lighter
r-process elements could be improved, but a successor telescopes to
HST with a high resolution spectrograph and UV capability will be
needed to exploit improvements in the laboratory data.

The discovery of a single line of U~II in an MP star by
\cite{cayrel01} was a milestone in stellar spectroscopy.  Although the
single line is on the shoulder of a much stronger Fe~\textsc{i} line,
there is some confidence in its identification.  Thorium is also an
element of choice for stellar chronometry (e.g. \citealt{sneden03}).

\subsection{Abundance trends in Galactic and Extragalactic Stars}
\label{sec:gce}

As already discussed in section~\ref{sec:stellar-abunds}, the
metal-poor Galactic stars show indications of neutron-capture
abundances, in fact, it appears as if ALL such stars (to an
observational limit) exhibit some level of n-capture abundances.  In
addition, observations have indicated the presence of n-capture
elements such as Ba in nearby dwarf spheroidal galaxies
\citep{Shetrone.Bolte.Stetson:1998,Shetrone.Venn.ea:2003,Venn.Tolstoy.ea:2003}. More
recently there has been evidence of these elements in ultra-faint
dwarf (UFD) galaxies, structures of only about $10^4$ M$_\odot$ and
possibly being also the building blocks and substructures of the early
Galaxy. The 10 up to now discovered UFDs around our Galaxy are very
metal-poor with metallicities of $\text{[Fe/H]}\approx -3$
\citep{Kirby.ea:2013,Frebel.Norris:2015}, and most of them show very
low r-process enhancements. However, one of them, Reticulum II, shows
highly r-process enhanced stars comparable to Galactic r-process rich
stars such as CS 22892-052
\citep{Roederer:2013,ji16,Roederer:2017,Ji.Frebel:2018} which seems to
go back to one very early r-process event.  In addition to Reticulum
II, a further dwarf galaxy, Tuscana III, has very recentlly been
observed and also shows these features \citep{Marshall.ea:2018}.

\begin{figure}[htb]
  \includegraphics[width=1.0\linewidth]{roederer13f1.pdf}
  \caption{Abundances of [Sr/Fe] vs. [Ba/Fe] in a large number of Galactic
    and extragalactic stars from \citet{Roederer:2013} and references therein.
    \label{roederer13f1}}
\end{figure}

We show in Fig.~\ref{roederer13f1}, \citep[taken from][and references
therein]{Roederer:2013}, a compilation of abundances in both Galactic
and extragalactic stars. In these observations the Sr abundance acts
as a surrogate for the overall metallicity of these stars and Ba
indicates the enrichment of n-capture elements.  The figure
illustrates that stars down to the lowest metallicities contain Sr
and/or Ba. In a solar mix these are predominantly s-process elements,
i.e.\ their s-process isotopes dominate in present solar
abundances. If massive stars with fast rotation rates contributed
already some s~process in early Galactic evolution
\cite{frischknecht16}, this could be due to such s-process
sources. However, global trends, where observed elemental or isotopic
ratios can be deconvolved into s- and r-process contributions, show an
s-process appearance only in later periods of Galactic
evolution. Thus, this compilation strongly suggests that all of these
stars have been enriched in r-process material, which also has
implications for early nucleosynthesis in galaxies.

\begin{figure}[htb]
  \includegraphics[width=\linewidth]{mgeufe.pdf}
  \caption{Abundances as a function of metallicity for [Mg/Fe] (panel a)
    and [Eu/Fe] (panel b).
    This is an update of Fig.~14 in \cite{sneden08}.
    Red straight lines are approximate fits to the averages of halo,
    thick disk, and thin disk stars.
    Black dashed lines in panel (b) highlight the growing star-to-star
    scatter in [Eu/Fe] with decreasing metallicity.
    Individual data points are taken from \citet{fulbright00,
      hill02,reddy03,cayrel04b,Simmerer.Sneden.ea:2004,
      cohen04,Barklem.Christlieb.ea:2005,reddy06,Francois.Depagne.ea:2007,
      bensby14,roederer14,battistini16}.
    \label{mgeufe}}
\end{figure}

Clues about early Galactic nucleosynthesis are also found in
comparison of elements with different nucleosynthesic origin.  We show
one such comparison in Figure~\ref{mgeufe}, observed in halo stars,
i.e.\ containing elements synthesized prior to the formation of these
stars.  It is evident that alpha elements (such as Mg) appear early in
Galactic evolution at low metallicities, originating from fast
evolving massive stars and core-collapse supernovae as their final
endpoints. Such events occur with a high frequency during galactic
evolution and show little scatter. Common r-process elements, like Eu,
display an extensive scatter, indicating that they are made in rare
events which contribute significant amounts of material, when they
occur (see Fig.~\ref{mgeufe}). Such abundance comparisons can be used
to put constraints on the site (or sites) for the r~process and to
understand the history of element formation in the Galaxy (i.e.,
Galactic Chemical Evolution, GCE). We will return to these issues
later in section~\ref{sec:chemev}, after having presented the
nucleosynthesis yields of different astrophysical sites.

The eventual demise of the Hubble Space Telescope, able to obtain
high-quality UV observations, will hamper future progress in the
observation of heavy elements in low-metallicity stars. The James Webb
Space Telescope (JWST), the scientific ``successor'' of HST, will have
no UV capability but an IR capability. Identification of n-capture
element lines in the IR region could provide new avenues for
understanding the operation and nature of the r~process (see
subsection~\ref{sec:atomic-elements-stars}).

\subsection{The role of long-lived radioactive species }
\label{sec:radioactive}

Identification and detailed spectroscopic analysis of a handful of
r-II stars, e.g., CS~22892-052 (\citealt{sneden94},
\citealt{sneden03}) CS~31082-001 (\citealt{hill02},
\citealt{siqueira13} and references therein), and HE~1523-0901
(\citealt{frebel07}) brought forth detections of the long-lived very
heavy n-capture radioactive elements Th ($t_{1/2} =13.0$~Gyr) in all
of these stars, U~($t_{1/2} =4.6$~Gyr), which can only be made in the
r~process, and in addition an n-capture atomic number range from
$Z\approx30$ to 92, indicating also an r-process pattern. This makes
detailed observation vs.\ theory r-process comparisons possible. More
Th detections have been made since then, and more recently U has also
been detected in some halo stars.  Due to its shorter half-life, its
abundance is inherently smaller and detections are difficult. Shown in
Fig.~\ref{Usyn1} from \cite{Holmbeck.Beers.ea:2018} is a uranium
detection in 2MASS J09544277+5246414, the most actinide-enhanced r-II
star known.
\begin{figure}[htbp]
  \includegraphics[width=1.0\linewidth]{Usyn1.pdf}
  \caption{Synthesis and derived abundance for U in the star
    MASS J09544277+524641 from Figure 4 of \cite{Holmbeck.Beers.ea:2018}.
    \label{Usyn1}}
\end{figure}

These Th and U discoveries led to cosmochronology estimates,
independent of a cosmological model, based solely on decay half-lives
of involved isotopes. This method requires Th/U ratios from
theoretical predictions for r-process sources plus observed abundance
ratios. This made possible estimates on the decay-time since the birth
of a star (when the addition of new material from other
nucleosynthesis sites stopped) and promising results were obtained
\cite{Cowan.Thielemann.Truran:1991,Cowan.Pfeiffer.ea:1999,Kratz.Moeller.ea:2000,Schatz.ea:2002}.
The same can in principle also be done utilizing the Th/Eu ratio for
some stars yielding values in concordance with cosmological age
estimates (see above).  The fact that some stars seem to have
experienced an ``actinide boost'', i.e.\ an enhanced amount of Th and
U in comparison to lighter r-process elements, could point back to a
non-universal r-process production pattern and possibly varying
r-process compositions from different productions sites. This made the
[Th/Eu] chronology uncertain or non-reliable for such stars
\citep[e.g.][]{cayrel01,honda04}, having experienced a non-solar
r-process contribution, while the [U/Th] did not show these anomalies
\cite{Mashonkina:2014}. Such an actinide boost is found in a few stars
with metallicities of about $\text{[Fe/H]}=-3$.  This indicates that (a) an
r~process was already contributing in very early Galactic evolution,
but also (b) with possibly varying conditions for producing the
heaviest elements, dependent on the r-process site.  Unfortunately it
has proved difficult to obtain U detections in many stars, but it is
surprising that an actinide boost has not been seen at higher
metallicities \citep[see Fig.~\ref{boost}
from][]{Holmbeck.Beers.ea:2018}.

\begin{figure}[htbp]
  \includegraphics[width=1.0\linewidth]{thorium_rstars.pdf}
  \caption{Th/Eu ratios for stars with detected thorium abundances from \citet{Holmbeck.Beers.ea:2018}. One can see that at low metallicities around [Fe/H]$\approx$-3 quite a number of so-called actinide boost stars can be found. If utilizing initial r-process production ratios which fit solar r-abundances \cite{Schatz.ea:2002}, unreasonable, and even negative, ages of these stars are obtained, not at all consistent with their metallicity, which points to the formation of these stars in the very early Galaxy.
    \label{boost}}
\end{figure}

In addition to observations of long-lived radioactive species seen via
the spectra of stars throughout galactic evolution, there have also
been detections in deep-sea sediments, indicating more recent
additions of these elements to the earth. While the discussion
in~\ref{sec:gce} points to rare strong r-process events in the early
galaxy, the latter detections, suggest the same in recent
history. Long-lived radioactive species can act as witness of recent
additions to the solar system, dependent on their half-lives. For a
review on the signature of radioactive isotopes alive in the early
solar system see e.g. \citet{davis14}. Two specific isotopes have been
utilized in recent years to measure such activities in deep sea
sediments.  One of them, $^{60}$Fe, has a half-life of
$2.6\times 10^6$~yr and can indicate recent additions from events
occurring up to several million years ago. $^{60}$Fe is produced
during the evolution and explosion of massive stars, leading to
supernovae \citep{thielemann11,wanajo13,limongi18,thielemann18}.  It
is found in deep-sea sediments which incorporated stellar debris from
a nearby explosion about two million years ago
\citep{knie04,ludwig16,Wallner:2016,Soerensen.Svensmark.Grae:2017}. Such
a contribution is consistent with a supernova origin and related
occurrence frequencies, witnessing the last nearby event. Another
isotope utilized, $^{244}$Pu, has a half-life of $8.1\times 10^7$~yr
and would contain a collection from quite a number of such supernova
events. If the strong r~process would take place in every
core-collapse supernova from massive stars, about
10$^{-4}$--10$^{-5}$~M$_\odot$ of r-process matter would need to be
ejected per event in order to explain the present day solar abundances
(see Fig.~\ref{rosswogr}). The recent $^{244}$Pu
detection \citep{Wallner.Faestermann.ea:2015} is lower than expected
from such predictions by two orders of magnitude, suggesting that
actinide nucleosynthesis is very rare (permitting substantial decay
since the last nearby event). This indicates that (regular)
core-collapse supernovae did not contribute significantly to the
strong r~process in the solar neighborhood for the past few hundred
million years. Thus, in addition to the inherent problems of (regular)
core-collapse supernova models (to be discussed in later sections) to
provide conditions required for a strong r~process---also producing
the actinides---these observational constraints from nearby events
also challenge them as source of main r-process contributions. A
recent careful study of the origin of the strong r~process with
continuous accretion of interstellar dust grains into the inner solar
system \cite{hotokezaka15} concluded that the experimental findings
\cite{Wallner.Faestermann.ea:2015} are in agreement with an r-process
origin from a rare event. This can explain the $^{244}$Pu existing
initially in the very early solar system as well as the low level of
more recent additions witnessed in deep-sea sediments over the past
few hundred million years.

\subsection{Kilonovae observations}
\label{sec:nsm}

\begin{figure*}[htb]
  \includegraphics[width=0.62\linewidth]{lcQ_data_rmp.pdf}%
  \includegraphics[width=0.37\linewidth]{Figure2_specsequence3_bw.pdf}%
  \caption{(left panel) Bolometric light curve of AT 2017gfo, the
    kilonova associatted with GW170817. The filled black triangles are
    from~\citet{smartt17}. Uncertainties derived from the range of
    values given in the
    literature~\citep{Waxman.Ofek.ea:2017,cowperthwaite17,smartt17}
    are shown as a grey band. Also shown are lower limits (empty
    triangles) on the late-time luminosity as inferred from the Ks
    band with VLT/HAWK-I~\citep{Tanvir.Others:2017} (black) and the
    4.5 $\mu$m detections by the \emph{Spitzer Space Telescope}
    from~\citet{Villar.Others:2018} (green)
    and~\citet{Kasliwal.Kasen.ea:2018} (blue)~\citep[adapted
    from][]{Wu.Barnes.ea:2018}. (right panel) Evolution of the
    kilonova flux spectrum during the first 10 days. Each spectrum is
    labelled by the observation epoch. The shaded areas mark the
    wavelength ranges with very low atmospheric
    transmission~\citep[figure
    from][]{Pian.Others:2017}. \label{fig:kiloobs}}
\end{figure*}

For many years a connection between observations of short-duration
gamma-ray bursts (sGRBs), supernova-like electromagnetic transients
(macronovae/kilonovae), and compact binary mergers has been
postulated~\citep[see e.g.][]{Piran:2004}.  The first observational
evidence, relating a sGRB and an afterglow came in 2013 with the
observation of GRB 130603B by~\citet{tanvir13}\footnote{see
  \url{https://kilonova.space} for an up to date catalog of kilonova
  observations}. First predictions for light curves, accompanying such
events due to the decay of radioactive species, were done
by~\citet{Metzger.Martinez.ea:2010,Roberts.Kasen.ea:2011,Goriely.Bauswein.Janka:2011}. These
initial studies used grey opacities appropriate to the Fe-rich ejecta
in type Ia SNe and predicted peak luminosities at timescales of a day
in the Blue. However, the opacity of heavy r-process elements is
substantially higher due to the high density of line transitions
associated with the complex atomic structure of Lanthanides and
Actinides. This lead to a light curve peak at timescales of a weak in
the
Red/Near-infrared~\cite{kasen13,Barnes.Kasen:2013,Tanaka.Hotokezaka:2013}.
\citet{Metzger.Bauswein.ea:2015} speculated on the possibility that in
fast expanding ejecta unburned neutrons are left and lead via their
decay to a Ultraviolet/Blue precursor event.  Then finally on 17
August 2017 the gravitational wave event GW170817 was
observed~\cite{Abbott.Abbott.ea:2017} and identified as merger of two
neutron stars. With the combination of gravitational wave signals and
multi-messenger observations its location was
identified~\citep{Abbott:2017}, a (weak) sGRB
detected~\citep{Abbott17c}~\citep[weak probably due to an off-axis
observation][]{Wu.Macfadyen:2018}, accompanied by secondary X-ray and
radio signals. The amount of dynamical ejecta have been estimated in
the range $M_{\text{ej}} = 10^{-3} \textrm{--} 10^{-2}$~M$_\odot$
based on Gravitational wave data~\citep{Abbott.Others:2017}. Such
amount of ejecta are enough to produce an electromagnetic
transient. Within eleven hours of the merger the electromagnetic
transient, named AT~2017gfo, was observed in the ultraviolet, optical
and near infrared wavelength bands in the galaxy
NGC~4993~\citep{arcavi17,chornock17,coulter17,cowperthwaite17,drout17,evans17,kasliwal17,nicholl17,Pian.Others:2017,smartt17,soaressantos17,Tanvir.Others:2017}. The
left panel of Fig~\ref{fig:kiloobs} shows the bolometric light curve
for the two-week-long epoch of detailed observations adapted
from~\citep{Wu.Barnes.ea:2018}. The figure also includes late-time
observations from the Ks band with the
VLT/HAWK-I~\citep{Tanvir.Others:2017} and the 4.5 $\mu$m detections by
the \emph{Spitzer Space
  Telescope}~\citep{Villar.Others:2018,Kasliwal.Kasen.ea:2018}. The
right panel shows the evolution of the kilonova flux spectra during
the first 10 days from~\citet{Pian.Others:2017}. The luminosity and
its evolution agreed with predictions for the light powered by the
radioactive decay of heavy nuclei synthesized via the r~process in the
neutron-rich merger
ejecta~\citep{lipacz97,Metzger.Martinez.ea:2010,Roberts.Kasen.ea:2011,Barnes.Kasen:2013,rosswog18}
(see also section~\ref{sec:kilon-an-electr}). Additional evidence is
provided by the spectral/color evolution. The presence of luminous
visual wavelength (``blue'') emission at early times was interpreted
by most groups as arising from the fastest outer layers of the ejecta,
which contained exclusively light $r$-process nuclei with a relatively
low visual wavelength
opacity~\citep{metzger14,nicholl17,drout17}~\citep[see,
however][]{Waxman.Ofek.ea:2017,Kawaguchi.Shibata.Tanaka:2018}.  The
observed transition of the emission colors to the near-infrared
confirmed predictions for the inner ejecta layers containing
lanthanide elements, with atomic mass number
$A \gtrsim
140$~\cite{kasen13,Barnes.Kasen:2013,Tanaka.Hotokezaka:2013}. In order
to explain the color evolution of the emission models with at least
two-components are necessary. However, three component models are
necessary to account for the ejecta components found in neutron star
mergers: dynamic, winds, and secular outflows from the
disk~\citep{Perego.Radice.Bernuzzi:2017}. Combining all
observations~\citet{Villar.ea:2017} find a best-fit kilonova model
consisting of three-components: a ``blue'' lanthanide-poor component
(opacity $\kappa = 0.5$~cm$^{2}$~g$^{-1}$) with
${M}_{\text{ej}}\approx 0.020$~M$_\odot$, moving with a velocity of
approximately $0.27\ c$, an intermediate opacity ``purple'' component
($\kappa = 3$~cm$^{2}$~g$^{-1}$) with
${M}_{\text{ej}}\approx 0.047$~M$_\odot$ at $0.15\ c$, and a ``red''
lanthanide-rich component ($\kappa = 10$~cm$^{2}$~g$^{-1}$) with
${M}_{ej}\approx 0.011$ M$_\odot$ at $0.14\ c$. The three-component
model is compatible with a two-component model containing only blue
and red components. The blue component is expected to contain light
r-process elements with a negligible mass fraction of
Lanthanides/Actinides
$X_{\text{lan}} \lesssim 10^{-4}$~\citep{Kasen.Metzger.ea:2017}. The
mass fraction of Lanthanides/Actinides necessary to account for the
reddening of the spectra has been inferred to be
$X_{\text{lan}}\sim
10^{-3}$--$10^{-2}$~\citep{Kasen.Metzger.ea:2017,Tanaka.Utsumi.ea:2017,Waxman.Ofek.ea:2017}
and hence contains both light and heavy r-process material assuming
Solar proportions. The purple component corresponds to ejecta with a
small, but non-negligible, lanthanide fraction. The blue-component is
expected to be produced by material ejected in the polar direction and
associated to dynamical ejecta, the purple and red components are
expected to originate from post-merger accretion disk ejecta given
their smaller velocities and larger
masses~\citep{Kasen.Metzger.ea:2017,Perego.Radice.Bernuzzi:2017}~(see
section~\ref{sec:neutron-star-neutron}). This milestone observation
provided the first direct indication that r-process elements are
produced in neutron-star mergers including the amount of ejecta,
composition and morphology. Additional information about kilonova
modeling and the connection of these observations with models of
compact binary mergers can be found in
section~\ref{sec:kilon-an-electr}.

\section{Basic Working of the r~process and necessary environment
  conditions}
\label{sec:basic-working}

\subsection{Modeling Composition Changes in Astrophysical Plasmas}
\label{sec:model-comp-chang}

Before discussing the working of the r~process in detail, a short
introduction into the methods should be given, how the build-up of
elements in astrophysical plasmas can be described and determined.
The mechanism to model composition changes is based on nuclear
reactions, occurring in such environments at a given temperature and
density. The overall probability for reactions to happen is obtained
by integrating the reaction cross section $\sigma(E)$ over the
velocity or energy distribution of reacting partners (abbreviated as
$\langle\sigma v\rangle$), being for most conditions in stellar
evolution and explosions a Maxwell-Boltzmann distribution, which can
be generally derived from a Boltzmann transport equation
\citep[e.g.][]
{Clayton:1968,rolfs.rodney:1988,iliadis,Lippuner.Roberts:2017}. Changes
of species can also occur via decays, where the decay constant
$\lambda$ is related to the half-life of a nucleus $t_{1/2}$ via
$\lambda=\ln 2 /t_{1/2}$.  Interactions with photons
(photodisintegrations), described by a black-body spectrum for the
local temperature, are determined by an integration of the relevant
cross section over the energies of the photon Planck
distribution. This results also in an effective
(temperature-dependent) "decay constant" $\lambda(T)$. Reactions with
electrons (electron captures on
nuclei)~\citep[e.g.][]{Fuller.Fowler.Newman:1980,Langanke.Martinez-Pinedo:2001,Langanke.Martinez-Pinedo:2003,Juodagalvis.Langanke.ea:2010}
or
neutrinos~\citep[e.g.][]{Langanke.Kolbe:2001,Langanke.Kolbe:2002,Kolbe.Langanke.ea:2003}
can be treated in a similar way, also resulting in effective decay
constants $\lambda$, which can depend on temperature and density
(determining for electrons whether degenerate or non-degenerate Fermi
distributions are in place), while the $\lambda$'s for neutrinos
require their energy distributions from detailed radiation transport,
not necessarily reflecting the local conditions, but rather the
transport from their place of origin \citep[see e.g.]
[]{Liebendoerfer.Rampp.ea:2005,Liebendoerfer.Whitehouse.ea:2009,Richers.Nagakura.ea:2017,Pan.Mattes.ea:2018,Burrows.Vartanyan.ea:2018}.

All the reactions discussed above contribute to three types of terms
in reaction network equations. The nuclear abundances $Y_i$ enter in
this set of equations and their time derivative can be written in the
form

\begin{eqnarray}
  \frac{d Y_i}{dt} & = & \sum_j P^i _j\ \lambda_j Y_j
                         + \sum_{j,k} P^i _{j,k}\ \frac{\rho}{m_u} \langle j,k\rangle Y_j
                         Y_k \label{4:network}\\
                   & & + \sum_{j,k,l} P^i _{j,k,l}\ \frac{\rho^2}{m_u^2} \langle j,k,l\rangle Y_j Y_k
                       Y_l. \nonumber
\end{eqnarray}

One has to sum over all reaction partners given by the different
summation indices. The P's include an integer (positive or negative)
factor $N^i$ (appearing with one, two or three lower indices for
one-body, two-body, or three-body reactions), describing whether (and
how often) nucleus $i$ is created or destroyed in this
reaction. Additional correction factors $1/m!$ are applied for
two-body and three-body reactions in case two or even three identical
partners are involved.  This can be written
as $P_j^i=N_j^i$, $P_{j,k}^i=N_{j,k}^i/m(i,j)!$, or
$P_{j,k,l}^i=N_{j,k,l}^i/m(i,j,k)!$. m(i,j) in the second term is
equal to 1 for $i\ne j$ and 2 for $i=j$, m(i,j,k) can have the values
1 (for non-identical reaction partners), 2 for two identical partners,
and 3 for the identical partners. Thus, this (additional) correction
factor (without considering the $N^i$'s) is 1 for non-identical
reaction partners, 1/2=1/2! for two identical partners or even
1/6=1/3! for three identical partners. The $\lambda$'s stand for decay
rates (including decays, photodisintegrations, electron captures and
neutrino-induced reactions), $\langle j,k\rangle$ for
$\langle\sigma v\rangle$ of reactions between nuclei $j$ and $k$,
while $\langle j,k,l\rangle$ includes a similar expression for
three-body reactions
\citep{nomoto85,Goerres.Wiescher.Thielemann:1995}, being in reality a
sequence of two two-body reaction with a highly unstable intermediate
nucleus resulting from the first reaction, which is in chemical
equilibrium (see e.g, the next paragraph).  A survey of computational
methods to solve nuclear networks is given in
\citet{Hix.Thielemann:1999b,timmes99,Hix.Meyer:2006,Lippuner.Roberts:2017}.
The abundances $Y_i$ are related to number densities
$n_i=\rho Y_i/m_u$ and mass fractions of the corresponding nuclei via
$X_i=A_i Y_i$, where $A_i$ is the mass number of nucleus $i$,
$\sum X_i = 1$, $\rho$ denotes the density of the medium, and $m_u$
the atomic mass unit. The solution of the above set of differential
equations provides the changes of individual nuclear abundances for
any burning process in astrophysical environments, requiring the
inclusion of all possible reactions and the relevant nuclear
input\footnote{for data repositories see
  e.g. \url{https://jinaweb.org/reaclib/db},
  \url{https://nucastro.org/reaclib.html},
  \url{http://www.kadonis.org}, and
  \url{http://www.astro.ulb.ac.be/pmwiki/Brusslib/HomePage}.}.  In
astrophysical applications the composition changes determined by
Eq.~\ref{4:network} cause related energy generation which can be
dynamically coupled to the thermodynamics and hydrodynamics of the
event \citep{Mueller:1986}. For large reaction networks that can be
computationally rather expensive. For this reason the most often
applied approach is splitting the problem in a
hydrodynamics/thermodynamics part with a limited reaction network,
sufficient for the correct energy generation, and a postprocessing of
the obtained thermodynamic conditions with a detailed nucleosynthesis
network~\citep[see e.g.][and references therein]{ebinger18,curtis18}.

In case matter experiences explosive burning at high temperatures and
densities, the reaction rates for fusion reactions are high, and the
photodisintegration rates (due to a Planck photon distribution
extending to high energies) are high as well. This will lead to
chemical equilibria, i.e.\ balancing of forward and backward flows in
reactions, in particular also for proton or neutron capture reactions
$p+(Z,A)\rightleftarrows (Z+1,A+1) +\gamma$ and
$n+(Z,A)\rightleftarrows (Z,A+1) +\gamma$, corresponding to a relation
between the chemical potentials $\mu _p + \mu (Z,A) = \mu (Z+1,A+1)$
and $\mu_n + \mu(Z,A) = \mu(Z,A+1)$, as the chemical potential of
photons vanishes.  If this is not only the case for a particular
reaction, but across the whole nuclear chart, it leads to a complete
sequence being in chemical equilibrium, i.e.\
$Z \mu_p + N \mu_n = \mu(Z,A)$, termed complete chemical or also
nuclear statistical equilibrium
(NSE)~\citep[e.g.][]{Clayton:1968,Hix.Thielemann:1999a}. When the
involved particles can be described by a Boltzmann distribution (which
is the case in general in astrophysical plasmas, with the exception of
highly degenerate conditions, where Fermi distributions have to be
utilized for the chemical potentials), the abundances of nuclei can be
expressed by nuclear properties like the binding energies $B(Z,A)$,
the abundances of free neutrons and protons, and environment
conditions like temperatures $T$ and densities $\rho$, leading to the
abundance of nucleus $i$ (with $Z_i$ protons and $N_i$ neutrons or
$A_i = Z_i + N_i$ nucleons)

\begin{eqnarray}
  Y_i&=&Y_n^{N_i} Y_p^{Z_i}\frac{G_i(T) A^{3/2}_i}{2^{A_i}}
         \left(\frac{\rho}{m_u}\right)^{A_i-1} \label{NSE1} \\
     & & \times \left(\frac{2\pi\hbar^2}{m_ukT}\right)^{3(A_i-1)/2}
         \exp\left(\frac{B_i}{kT}\right),\nonumber
\end{eqnarray}
where $B_i$ is the nuclear binding energy of the nucleus. $G_i$
corresponds to the partition function of nucleus $i$, as the ground
and excited state population is in thermal equilibrium.
$\beta$-decays, electron captures, and charged-current neutrino
interactions, change the overall proton to nucleon ratio
$Y_e=\sum Z_i Y_i$ and occur on longer time scales than particle
captures and photodisintegrations. They are not necessarily in
equilibrium and have to be followed explicitly. Thus, as a function of
time the NSE will follow the corresponding densities $\rho(t)$,
temperatures $T(t)$, and $Y_e(t)$, leading to two equations based on
total mass conservation and the existing $Y_e$

\begin{eqnarray}
  \sum_i A_i Y_i&=&Y_n+Y_p + \nonumber \\
                & & \sum_{i,(A_i>1)}
                    (Z_i+N_i)Y_i(\rho,T,Y_n,Y_p)=1 \label{NSE2} \\
  \sum_i Z_i Y_i&=&Y_p+\sum_{i,(Z_i>1)} Z_i~Y_i(\rho,T,Y_n,Y_p) \ =Y_e.\nonumber
\end{eqnarray}

In general, very high densities favor large nuclei, due to the high
power of $\rho^{A_i-1}$, and very high temperatures favor light nuclei,
due to $(kT)^{-3(A_i-1)/2}$ in Eq.~(\ref{NSE1}). In the intermediate
regime $\exp (B_i/kT)$ favors tightly bound nuclei with the highest
binding energies in the mass range $A=50-60$ of the Fe-group, but
depending on the given $Y_e$. The width of the composition
distribution is determined by the temperature \citep[see already early
derivations in][]{Clayton:1968}.

Under certain conditions, i.e.\ not sufficiently high temperatures
when not all reactions are fast enough, especially due to small
reaction rates caused by too small Q-values across magic proton or
neutron numbers (closed shells), not a full NSE emerges but only
certain areas of the nuclear chart are in equilibrium, called
quasi-equilibrium groups (or QSE). This happens e.g.\ during early or
late phases of explosive burning, before or after conditions for a
full NSE have been fulfilled. A typical situation is a break-up in
three groups, the Fe-group above Ca ($N=Z=20$), the Si-group between
Ne ($N=Z=10$) and Ca, the light group from neutrons and protons up to
He, and nuclei not in equilibrium from there up to Ne, as discussed in
great detail in~\cite{Hix.Thielemann:1999a}.

\begin{figure}[htbp]
  \includegraphics[width=1.0\linewidth]{explosi.pdf}
  \caption{Plane of maximum temperatures and densities attained during
    explosive Si-burning, indicating the boundaries of conditions
    after freeze-out of charged-particle reactions for an adiabatic
    expansion with an electron fraction $Y_e=0.498$. For high
    densities, permitting "three-body" reactions to build-up C (and
    heavier nuclei), the outcome is a normal freeze-out NSE
    composition. For lower densities, unburned $\alpha$-particles remain,
    i.e.\ the final outcome is a so-called $\alpha$-rich freeze-out (see
    the lines of remaining He mass fractions $X_{\text{He}}$). The
    figure also includes typical conditions experienced in Si-burning
    mass zones of type Ia and core-collapse supernovae (SNe II),
    influencing the nucleosynthesis outcome of such explosions.
    \label{explosi}}
\end{figure}

A so-called $\alpha$-rich freeze-out is a special case of such QSE
conditions, when the build-up of nuclei beyond He is hampered by the
need of reaction sequences involving highly unstable $^8$Be
(e.g. $\alpha+\alpha+\alpha \rightarrow ^{12}$C or
$\alpha+\alpha+n \rightarrow ^9$Be) which are strongly dependent on
the density of matter. The first part of these reaction sequences
involves a chemical equilibrium for
$\alpha+\alpha \leftrightarrow ^{8}$Be which is strongly shifted to
the left side of the reaction equation, due to the half life of
$^{8}$Be ($t_{1/2}=6.7 \times 10^{-17}$s). Reasonable amounts of
$^{8}$Be, which permit the second stage of these reactions via an
alpha or neutron-capture, can only be built-up for high densities. The
reation rates for the combined reactions have a quadratic dependence
on density in comparison to a linear density dependence in regular
fusion reactions. Therefore, for low densities the NSE cannot be kept
and an overabundance of alpha particles (helium) remains, permitting
only a (much) smaller fraction of heavier elements to be formed than
in an NSE for the intermediate temperature/density regime (determined
by binding energies of nuclei). This result is, if cooling causes a
freeze-out of charged-particle reactions, called an $\alpha$-rich
freeze-out and leads to the fact that (a) the abundance of nuclei
heavier than He is (strongly) reduced in comparison to their NSE
abundances, and (b) the abundance maximum of the (fewer) heavy nuclei
is shifted (via final alpha captures) to heavier nuclei in comparison
to an NSE\@.  While this maximum would normally be around Fe and Ni
(the highest binding energies) with A=50-60, it can be shifted up to A
about 90.

Other quasi-equilibrium conditions are encountered in proton or
neutron-rich environments. Such an environment can be essentially free
of neutrons, but permitting proton captures and reverse
photodisintegrations (e.g.\ for accretion of a solar abundance
composition, which is H-dominated, onto neutrons stars in binary
systems, leading to X-ray bursts). This causes QSE-clusters along
isotonic lines in the nuclear chart, connected via $\beta^+$-decays
and/or $(\alpha,n)$-reactions on longer timescales \citep[see
e.g.][]{rembges97}.  In a similar way
\citet{Burbidge.Burbidge.ea:1957} (followed up later by
\citet{seeger.fowler.clayton:1965}), postulated already in their 1957
review that isotopic lines in the nuclear chart are in
quasi-equilibrium for neutron-rich r-process conditions (i.e.\ via
neutron captures and their reverse photodisintegrations), connected
via beta$^-$-decays on longer tinescales. The latter will be discussed
in more detail with respect to the r~process. It should be mentioned
that both latter applications act close to the proton or neutron
drip-lines. This means that small reaction Q-values are involved for
proton or neutron captures, and thus also only small photon energies
for the inverse reactions are needed to establish such an
equilibrium. This changes temperature requirements somewhat.  While a
full NSE, also close to stability with Q-values of the order
8--10~MeV, is only established for temperatures around 4--5~GK (as a
rule of thumb temperatures need to exceed $kT \gtrsim Q/30$), for
Q-values of the order 1--2~MeV close to the drip-lines such equilibria
can still be established at temperatures exceeding about 1--1.5~GK.

\subsection{Special features of the r~process and the role of neutron
  densities and temperatures}
\label{sec:special-features-r}

The previous subsection explained in all generality how, due to
charged-particle reactions, neutron captures, photo-disintegrations,
etc.\ a complete NSE or also just QSE-subgroups can be
established. Here we want to discuss the special case of QSE-subgroups
along isotopic chains, before entering a description of the possible
sites which permit such quasi-equilibria. When charged-particle
reactions are frozen, the only connection between isotopic chains is
given by weak processes, i.e.\ $\beta$-decay (for large nuclear masses
fission and alpha decay set in lighter nuclei). High neutron densities
make the timescales for neutron capture much faster than those for
$\beta$-decay and can produce nuclei with neutron separation energies
$S_n\sim 2$~MeV and less.  This is the energy gained ($Q$-value) when
capturing a neutron on nucleus $A-1$ and or the photon energy required
to release a neutron from nucleus $A$ via photo-disintegration. Such a
process runs close to the neutron-drip line, where $S_n$ goes down
to~0. For temperatures around 1~GK $(\gamma,n)$, describing the
photodisintegrations in a thermal plasma, can still be very active for
such small reaction $S_n$-values, as only temperatures about
$30\,kT \gtrsim S_n$ are required for these reverse reactions to
dominate. With both reaction directions being faster than process
timescales (and $\beta$-decays) a chemical equilibrium can set in
between neutron captures and photodisintegrations. In such a case,
many (quasi-)equilibrium clusters exist, representing each of them an
isotopic chain of heavy nuclei. The abundance distribution in each
isotopic chain follows the ratio of two neighboring isotopes

\begin{eqnarray}
  \label{Sn}
  \frac{Y(Z,A+1)}{Y(Z,A)} &=&n_n \frac{G(Z,A+1)}{2G(Z,A)}
                              \left[\frac{A+1}{A}\right]^{3/2} \\
                          & &\times \left[\frac{2\pi
                              \hbar^2}{m_ukT}\right]^{3/2}
                              \exp\left(\frac{S_n(A+1)}{kT}\right),
                              \nonumber
\end{eqnarray}
with partition functions $G$, the nuclear-mass unit $m_u$, and the
neutron-separation (or binding) energy of nucleus $(Z,A+1)$,
$S_n(A+1)$, being the neutron-capture $Q$-value on nucleus
$(Z,A)$. This relation for a chemical equilibrium of neutron captures
and photo-disintegrations in an isotopic chain can either be derived
by utilizing chemical equilibria and the appropriate chemical
potentials (as discussed in the previous subsection) or in an
equivalent way due to the fact that the cross sections for these
reactions and their reverses are linked via detailed balance between
individual states in the initial and the final nucleus of each capture
reaction. This causes the appearance of partition functions $G$ for
population of excited states.  The abundance ratios are dependent only
on $n_n=\rho Y_n/m_u$, $T$, and $S_n$. $S_n$ introduces the dependence
on nuclear masses, i.e.\ a nuclear-mass model for these very
neutron-rich unstable nuclei. Under the assumption of an
$(n,\gamma)\rightleftarrows (\gamma,n)$ equilibrium, no detailed
knowledge of neutron-capture cross sections is needed.

\begin{figure}

  \includegraphics[width=\linewidth]{fig7_factor_2.pdf}

  \caption{Shown is (a) the line of stability (black squares) and (b)
    an r-process path. The special conditions here are taken from a
    neutron star merger environment which will be discussed further
    below \citep{Eichler.Arcones.ea:2015}. The position of the path
    follows from a chemical equilibrium between neutron captures and
    photo-disintegrations in each isotopic chain
    ($(n,\gamma)\rightleftarrows (\gamma,n)$ equilibrium). However,
    the calculation was performed with a complete nuclear network,
    containing more than 3000 nuclei. The colors along the path
    indicate how well the full network calculation follows such an
    $(n,\gamma) \rightleftarrows (\gamma,n)$ equilibrium. It can be
    seen that such full calculations agree with this equilibrium
    approach within a factor of 2 along the r-process path, which
    continues to the heaviest nuclei. }
  \label{fig_path}
\end{figure}

One fact which can be easily deduced, given that $Y(A+1)/Y(A)$ first
rises with increasing distance from stability, becomes close to 1 at
the abundance maximum of the isotopic chain, and finally decreases, is
that the abundance maxima in each isotopic chain are only determined
by the neutron number density $n_n$ and the temperature $T$.
Approximating $Y(Z,A+1)/Y(Z,A) \simeq 1$ at the maximum and keeping
all other quantities constant, the neutron-separation energy $S_n$ has
to be the same for the abundance maxima in all isotopic chains,
defining the so-called r-process path.

Fig.~\ref{fig_path} shows such r-process path for $S_n \simeq 2$~MeV,
when utilizing masses based on the Finite Range Droplet Model (FRDM)
\citep[][for a detailed discussion of nuclear properties far from
stability see the following sections~\ref{sec:exper-devel-r}
and~\ref{sec:nuclear-modeling-r}]{moeller95}.  In addition, it
displays the line of stability. As the speed along the r-process path
is determined by $\beta$-decays, and they are longest closer to
stability, abundance maxima will occur at the top end of the kinks in
the r-process path at neutron shell closures $N=50, 82, 126$.  This
causes abundance maxima at the related mass numbers $A$ after decay
back to stability at the end of the process, which correspond to
smaller mass numbers $A$ than those for stable nuclei with the same
neutron shell closures. The latter ---experiencing the smallest
neutron capture cross sections and determining the speed of the
s~process--- cause s-process maxima at higher mass numbers.  In
environments with sufficiently high neutron densities, the r~process
continues to extremely heavy nuclei and finally encounters the neutron
shell closure $N=184$, where fission plays a dominant role.

\begin{figure}

  \centering \subfigure[$\beta$-delayed
  fission]{\includegraphics[width=0.5\linewidth]{fig2_betadelayed_fission_rates.pdf}}%
  \subfigure[neutron-induced
  fission]{\includegraphics[width=0.5\linewidth]{fig2_ninduced_fission_rates.pdf}}
  \subfigure[fission
  fragments]{\includegraphics[width=\linewidth]{fig2_fragments_frdm_abla.pdf}}

  \caption{Shown are (color-coded) time derivatives of nuclear
    abundances $Y$ during an r-process simulation
    \citep{Eichler.Arcones.ea:2015}, (a) describing the destruction
    via neutron-induced and $\beta$-delayed fission
    \citep{Panov.Korneev.ea:2010} and (b) the production of fission
    fragments \citep{kelic08}.  The largest destruction rates occur at
    and close to the neutron closure $N=184$, due to the smallest
    fission barriers encountered at these locations. Fission fragments
    are produced in a broad distribution, ranging in mass numbers $A$
    from 115 to 155.  }
  \label{fig_fission}
\end{figure}

Fig.~\ref{fig_fission} shows the regions of the nuclear chart where
fission dominates and the location of fission fragments for the given
mass models and fission barriers.  Nuclear properties like mass
models, fission, and weak interactions will be discussed in extended
detail in the following two sections.

Early r-process calculations always made use of an
$(n,\gamma)\rightleftarrows(\gamma,n)$ equilibrium as discussed above,
but had to assume neutron densities, temperatures, and a specific
duration time (plus the final decay back to stability, including
$\beta$-delayed neutron emission)
\citep{Burbidge.Burbidge.ea:1957,seeger.fowler.clayton:1965,Kodama.Takahashi:1975}. They
realized that with such calculations not a unique set of conditions
could reproduce solar r-process abundances. Within this approach, and
with increasing knowledge of nuclear properties, Kratz and
collaborators provided a large series of parameter studies \citep[see
e.g.][]{Kratz.Bitouzet.ea:1993,Pfeiffer.Kratz.ea:2001}. Fig.~\ref{figkratz}
shows such a superposition of four components in order to obtain an
optimal fit for the three r-process peaks and the amount of matter
produced in the actinides.

\begin{figure}

  \includegraphics[width=\linewidth]{fig_fitkratz}

  \caption{Global r-abundance curve, obtained from simulations, in
    comparison to the solar-system r-process component. The
    predictions utilized time-dependent calculations with constant
    $n_n$ and $T$ for a duration time $\tau$, followed afterwards by
    the decay back to stability, including the smoothing of abundances
    via $\beta$-delayed neutron emission.  Shown is a superposition of
    components with four sets of $n_n$, $T$, and duration time $\tau$
    and different (declining) weights applied. \label{figkratz}}
\end{figure}

\begin{figure}[htb]
  \centering \includegraphics[width=\linewidth]{evol.pdf}
  \caption{Evolution of temperature, density, and nuclear energy
    generation for different trajectories corresponding to material
    ejected dynamically in neutron star mergers. Gray (brown) lines
    correspond to the ``slow (fast) ejecta'' discussed in
    section~\ref{sec:dynamic-ejecta}. For both gray and brown lines,
    light (dark) colors correspond to hotter (colder)
    conditions~\citep[adapted
    from][]{Mendoza-Temis.Wu.ea:2015}\label{fig:revol}}.
\end{figure}

Dynamical calculations with varying $n_n(t)$, and $T(t)$, and
discarding the $(n,\gamma)\rightleftarrows(\gamma,n)$ equilibrium,
follow the abundance changes in detail
\citep[e.g.][]{Blake.Schramm:1976,Truran.Cowan.Cameron:1978,Cowan.Cameron.Truran:1980,Cameron.Cowan.Truran:1983,Cowan.Cameron.Truran:1985}.
These calculations showed that the r~process can operate under two
different regimes with very different nuclear physics
demands~\citep{Wanajo:2007,Arcones.Martinez-Pinedo:2011}: a ``hot''
r~process in which the temperatures are large enough to reach
$(n,\gamma)\rightleftarrows(\gamma,n)$ equilibrium and a ``cold''
r~process in which the temperatures are so low that photodissociation
reactions are irrelevant~\citep{Blake.Schramm:1976}. Notice that the
differentiation between ``hot'' and ``cold'' refers to the temperature
conditions during the neutron capture phase and not during the earlier
phase when the seeds are build (see next section). Material could be
initially very cold and later reheated by nuclear~processes, resulting
in a hot r~process or initially very hot and during the expansion cool
to low temperatures producing a cold r~process. In general,
astrophysical environments produce a broad range of conditions in
which both high and low temperatures are reached, this is illustrated
in Fig.~\ref{fig:revol}. In some cases the material can reach such low
densities that free neutrons remain after the r~process (brown lines
in the figure) with potentially important observational
consequences~\citep{Metzger.Bauswein.ea:2015}. The figure also shows
the nuclear energy generation during the r~process (lower panel) that
is particularly relevant for very neutron-rich conditions as expected
in dynamic ejecta from neutron star mergers (see
section~\ref{sec:dynamic-ejecta}) and for kilonova r-process
electromagnetic transients~(see section~\ref{sec:kilon-an-electr}).

\begin{figure}[htb]
  \centering
  \includegraphics[width=\linewidth]{abund-evol.pdf}\\
  \includegraphics[width=\linewidth]{timescales.pdf}
  \caption{(Upper panel) Evolution of the abundances of neutrons,
    alphas and heavy nuclei during the r~process. (Bottom panel)
    Evolution of the neutron-to-seed ratio and average timescales for
    neutron captures, photodissociation and $\beta$-decays (courtesy
    of M.-R. Wu).\label{fig:atevol}}
\end{figure}

The r~process consists typically of two phases: an initial phase
dominated by neutron captures and, depending on temperature,
photodissociations and a later phase in which neutron captures and
$\beta$-decays operate on very similar time scales during the decay to
stability in what is typically known as r-process freeze-out. The
transition between both phases occurs when the neutron-to-seed ratio
(i.e.\ the ratio of free neutrons to heavy nuclei) reaches values
close to one. This is illustrated in Fig.~\ref{fig:atevol}. The upper
panel shows the evolution of the abundances of neutrons, alphas and
heavy nuclei for a typical trajectory from those shown in
Fig.~\ref{fig:revol}. The lower panel shows the effective neutron
lifetime, $\tau_n$, the average radiative neutron capture timescale
per nucleus, $\tau_{(n,\gamma)}$, the average photodissociation
timescale per nucleus, $\tau_{(\gamma,n)}$, and the average
$\beta$-decay timescale per nucleus, $\tau_\beta$, defined as the
inverse of their average destruction rates per nucleus for the
respective processes (note that $n_n=Y_n \rho/m_u$):

\begin{subequations}
  \label{eq:timescales}
  \begin{equation}
    \label{eq:taun}
    \frac{1}{\tau_n} = \left|\frac{1}{Y_n}\frac{d Y_n}{dt}\right|
  \end{equation}
  \begin{equation}
    \label{eq:taung}
    \frac{1}{\tau_{(n,\gamma)}} = \frac{\sum_{Z,A} Y(Z,A)
      n_n\langle\sigma v\rangle_{A,Z}}{\sum_{Z,A} Y(Z,A)}
  \end{equation}
  \begin{equation}
    \label{eq:taugn}
    \frac{1}{\tau_{(\gamma,n)}} = \frac{\sum_{Z,A} Y(Z,A)
      \lambda_{\gamma}(Z,A)}{\sum_{Z,A} Y(Z,A)}
  \end{equation}
  \begin{equation}
    \label{eq:taubeta}
    \frac{1}{\tau_{\beta}} = \frac{\sum_{Z,A} Y(Z,A)
      \lambda_{\beta}(Z,A)}{\sum_{Z,A} Y(Z,A)}
  \end{equation}
\end{subequations}
Thus, the latter three equations provide the neutron capture rate on
an average seed nucleus (averaged over all nuclei with their
abundances $Y(Z,A)$),
the photodisintegration $(\gamma,n)$ rate and the $\beta$-decay rate,
respectively, being the inverse to the corresponding average reaction
time scales.

For the calculation shown in Fig.~\ref{fig:atevol} the initial
neutron-to-seed (nucleus) ratio, $n_s$, is $\sim 600$ allowing for
several fission cycles before the end of the r~process. The impact of
fission can be seen in the upper panel of the figure by the increase
in the abundance of heavy nuclei. A similar increase is also seen in
the abundances of alpha particles mainly due to the $\alpha$-decay of
translead nuclei. At early times the neutron abundance is large and
changes slowly with time. This is a consequence of the almost
identical $(n,\gamma)$ and $(\gamma,n)$ timescales as the temperatures
are large enough to maintain $(n,\gamma)\rightleftarrows(\gamma,n)$
equilibrium. Neglecting the production of neutrons by $\beta$-decay
and fission one finds the following relation for $1/\tau_n$,
corresponding to Eq.(\ref{eq:taun}), which is equal to the difference
between average neutron destructions via neutron capture and
productions via photodisintegrations per nucleus, divided by the
neutron-to-seed (nucleus) ratio $n_s$

\begin{figure}[htb]
  \centering \includegraphics[width=\linewidth]{tbeta-vs-abundance}
  \caption{r-process elemental abundances compared with the effective
    $\beta$-decay half-live of an isotopic
    chain.\label{fig:beta-vs-abund}}
\end{figure}

\begin{equation}
  \label{eq:taunvstaung}
  \frac{1}{\tau_n} = \frac{1}{n_s}
  \left(\frac{1}{\tau_{(n,\gamma)}}-\frac{1}{\tau_{(\gamma,n)}}\right)
\end{equation}
illustrating the important role played by the neutron-to-seed
ratio. Whenever the $n_s > 1$, the effective neutron lifetime is large
and there is enough time for the r~process to reach a $\beta$-flow
equilibrium~\citep{Kratz.Bitouzet.ea:1993,Freiburghaus.Rembges.ea:1999}
in which the elemental abundances are proportional to effective
$\beta$-decay half-lives of an isotopic chain, (see
Fig.~\ref{fig:beta-vs-abund}), defined as:

\begin{equation}
  \frac{1}{t^{\text{eff}}_{1/2}(Z)} = \frac{1}{\sum_N Y(Z,N)}
  \sum_N \frac{Y(Z,N)}{t_{1/2}(Z,N)}
\end{equation}
During this phase, the r-process path is mainly determined by the
two-neutron separation energies, $S_{2n}$ as only even neutron number
nuclei are present (see Fig.~\ref{fig_path}). Typically, $S_{2n}$
values decrease smoothly with neutron excess with a sudden decrease at
magic neutron numbers. However, for several mass models the $S_{2n}$
are either constant or show saddle point behavior in regions where
there is a transition from deformed to spherical nuclei (or
vice-versa) just before or after magic shell closures. This translates
in the appearance of gaps in the r-process path (see
Fig.~\ref{fig_path}) producing troughs in the abundance
distribution~\citep{Arcones.Martinez-Pinedo:2011} before the onset of
the freeze-out of neutron captures. This troughs have been extensively
discussed in the literature~\citep[see
e.g.][]{Chen.Dobaczewski.ea:1995} as a signature of quenching of the
$N=82$ shell gap, however they are most likely related to the
behaviour of neutron separation energies discussed above~\citep[see
e.g.][]{Grawe.Langanke.Martinez-Pinedo:2007}.

\begin{figure}[htb]
  \centering \includegraphics[width=\linewidth]{freeze-out-evol.pdf}
  \caption{Evolution of the r-process abundances during freeze-out
    (adapted
    from~\citep{Mendoza-Temis.Wu.ea:2015})\label{fig:freezeevol}}
\end{figure}

Before freeze-out the nuclei with the strongest impact in the
r-process dynamics are those with the longest $\beta$-decay
half-lives. These are the nuclei closest to the stability at or just
after the magic shell closures. Uncertainties in the nuclear physics
properties of those nuclei may have a strong impact on the final
abundances. This is particularly the case for nuclei located after the
$N=82$ shell closure. (long-lived nuclei with $N=82$ have known masses
and $\beta$-decay half-lives.) This is confirmed by sensitivity
studies~\citep[see e.g.][]{Mumpower.Surman.ea:2016} that explore the
impact on r-process abundances due to variations of nuclear
properties.

Once the r~process reaches $n_s\approx 1$, there is an important
change in the dynamics. Nuclei start to compete for the few available
neutrons and the effective neutron lifetime decreases dramatically,
see Eq.~\eqref{eq:taunvstaung}. The neutron lifetime increases again
once the $\beta$-decay timescale becomes shorter than the $(n,\gamma)$
timescale, resulting in a more gradual decline of $n_s$ at later
times. The evolution after $n_s \lesssim 1$ is known as r-process
freeze-out. During this phase, the timescales of neutron captures and
$\beta$-decays become similar. It is precisely the competition between
neutron captures and $\beta$-decays (often followed by neutron
emission) during the decay to stability that is responsible of
smoothing the r-process abundances. Just before the freeze-out the
abundances exhibit strong oscillations versus mass number. However,
after freeze-out they are rather smooth in agreement with the solar
system r-process abundances. This is a characteristic feature of the
r~process when compared with the s~process. In this case, there is
never a competition between $\beta$-decays and neutron captures and
hence the abundances show strong sensitivity on $A$.

Any process that produces neutrons during freeze-out can potentially
affect the final abundances. This includes $\beta$-delayed neutron
emission and fission with the first one dominating for
$n_s \lesssim 150$. One should keep in mind that the impact of neutron
production is non-local, in the sense that neutrons can be produced in
a region of nuclear chart and captured in another. The freeze-out is
responsible of shaping the final abundances. The rare-earth peak is
known to be formed during the r-process freeze-out. At low $n_s$, this
is due by a competition between neutron captures and
$\beta$-decays~\citep{Surman.Engel.ea:1997}, at high $n_s$, when
fission is important, the fission yields play also an important
role~\citep{Steinberg.Wilkins:1978,panov08,Goriely.Sida.ea:2013,Eichler.Arcones.ea:2015}. The
freeze-out has also a strong impact on the abundances at the r-process
peaks at $A\sim 130$ and 195. This is illustrated in
Fig.~\ref{fig:freezeevol} that shows the evolution during freeze-out
of the abundances for a subset of the trajectories shown in
Fig.~\ref{fig:revol}. Due to the large $n_s$, material accumulates at
the $N=184$ shell closure with $A\sim 280$. During the decay to
$\beta$-stability the material fissions, producing nuclei with
$A\lesssim 240$ and neutrons. Depending on the fission yields used it
may result in very different final
abundances~\citep{Eichler.Arcones.ea:2015,Goriely.Martinez-Pinedo:2015}. For
the calculations shown in Fig.~\ref{fig:freezeevol}, the fission
yields produce the $A\sim 130$ peak. Neutrons emitted by fission have
a strong impact on the abundances of the 3rd r-process peak. Depending
on the masses of nuclei around
$N=130$~\citep{Mendoza-Temis.Wu.ea:2015} and the $\beta$-decay rates
of nuclei with $Z\gtrsim 80$~\citep{Eichler.Arcones.ea:2015} the peak
could be shifted to higher mass numbers when compared with solar
system abundances.

After having discussed here the general working of and the nuclear
input for an r~process, the following subsection discusses how to
obtain the required neutron-to-seed rations, before discussing the
astrophysical sites section~\ref{sec:astr-sites-their}. However,
independently, the influence of nuclear uncertainties should be
analyzed, which will be done in sections~\ref{sec:exper-devel-r}
and~\ref{sec:nuclear-modeling-r}.  They can also affect the validity
of suitable astrophysical environments. Recent tests with respect to
mass models, $\beta$-decay half-lives, and fission fragment
distributions have been (among others) performed by
\citet{Arcones.Martinez-Pinedo:2011,Eichler.Arcones.ea:2015,Goriely:2015,Mendoza-Temis.Wu.ea:2015,Mumpower.Surman.ea:2016,Marketin.Huther.ea:2016,panov16,Mumpower18}.

\subsection{How to obtain the required neutron-to-seed ratios}
\label{sec:how-obtain-required}

Explosive environments with high temperatures exceeding about 5~GK,
lead to a nuclear statistical equilibrium NSE, consisting of neutrons,
protons, and $\alpha$-particles, as discussed
subsection~\ref{sec:model-comp-chang}. The $Y_e$ which affects the NSE
composition is given by the initial abundances and the weak
interactions which determine the overall neutron to proton (free and
in nuclei) ratio.  Essentially all sites of interest for the r
process, whether starting out with hot conditions or emerging from
cold neutron star material, which heats up during the build-up of
heavier nuclei, pass through such a phase. Thus, both cases will lead
to similar compositions of light particles and nuclei before the
subsequent cooling and expansion of matter, still being governed
initially by the trend of keeping matter in NSE.

In hot environments the total entropy is dominated by the black-body
photon gas (radiation) and proportional to
$T^3/\rho$~\citep{Hartmann.Woosley.El:1985,woosley92,Meyer:1993,Witti.Janka.Takahashi:1994},
i.e.\ the combination of high temperatures and low densities leads to
high entropies. Thus, high entropies lead to an $\alpha$-rich
freeze-out (see Fig.~\ref{explosi}), and - dependent on the entropy -
only small amounts of Fe-group (and heavier) elements are produced,
essentially the matter which passed the three-body bottle neck
reactions (triple-alpha or $\alpha\alpha$n) transforming He to Be
and/or C. This can also be realized when examining
Fig.~\ref{fig_far1}, obtained from detailed nucleosynthesis
calculations, not assuming any equilibrium conditions.  Initially NSE
has been obtained. However, dependent on the entropy, different types
of charged-particle freeze-out occur, paving the way to the subsequent
evolution.

\begin{figure}[htb]

  \includegraphics[width=\linewidth]{fig_farouqi1}

  \caption{Abundances of neutrons $Y_n$, $^4$He ($\alpha$-particles)
    $Y_\alpha$, and so-called seed nuclei $Y_{seed}$ (in the mass
    range $50\leq A\leq100$), resulting after the charged-particle
    freeze-out of explosive burning (for a $Y_e=0.45$), as a function
    of entropy in the explosively expanding plasma, based on results
    by \citet{Farouqi.Kratz.ea:2010}. It can be realized that the
    ratio of neutrons to seed nuclei ($n_s=Y_n/Y_{\text{seed}}$)
    increases with entropy. The number of neutrons per seed nucleus
    determines whether the heaviest elements (actinides) can be
    produced in a strong r~process, requiring
    $A_{\text{seed}}+n_s \gtrsim 230$.  \label{fig_far1} }
\end{figure}

\begin{figure}[htb]

  \includegraphics[width=\linewidth]{fig_freiburgf}

  \caption{neutron-to-seed, $n_s$, ratios (shown as contour lines)
    resulting in expanding hot plasmas from explosive burning as a
    function of the electron abundance $Y_e$ and the entropy (measured
    in $k_b$ per baryon). A strong r~process, producing the actinides
    with $n_s$ of 150, requires for moderate $Y_e$'s, of about 0.45,
    entropies beyond 250 \citep{Freiburghaus.Rembges.ea:1999}. The
    alternative is that for vanishing entropies, i.e.\ cold matter
    like in neutron stars, the $n_s$ curves turn over and become
    independent of entropy. Then an $n_s$ ratio of 150 requires a
    $Y_e$ of about 0.15 or less.  \label{fig_freiburgf}}
\end{figure}

The calculation for Fig.~\ref{fig_far1}, start out with matter in an
NSE composition for $Y_e=0.45$, at $T_0=8$~GK and a density $\rho_0$
corresponding to the given entropy.  The expansion from those
conditions follows on a so-called free-fall timescale
$t_{ff}=(3\pi/(32G\rho_0))^{1/2}$ (the timescale on which a
homogeneous gas cloud of initial density $\rho_0$ would
contract). This timescale is comparable to the expansion caused by an
explosion.
Fig.~\ref{fig_far1} shows how - with increasing entropies - the alpha
mass-fraction ($X_\alpha = 4 Y_\alpha$) is approaching unity and the
amount of heavier elements (which would provide the seed nuclei for a
later r~process) is going to zero. This is similar to the big bang,
where extremely high entropies permit essentially only elements up to
He, and tiny amounts of Li.  Opposite to the Big Bang, experiencing
very proton-rich conditions, the $Y_e=0.45$ chosen here is slightly
neutron-rich, leading at high entropies predominantly to He and free
neutrons. The small amount of heavier nuclei after this
charged-particle freeze-out (in the mass range of $A=50$--100),
depending on the entropy or $\alpha$-richness of the freeze-out, can
then act as seed nuclei for capture of the free neutrons. Once the
charged-particle freeze-out has occurred, resulting in a high
neutron-to-seed ratio $n_s$, the actual r~process - powered solely by
the rapid capture of neutrons - can start, at temperatures below 3~GK\@.
Whether this r~process is a ``hot'' or ``cold'' one, as discussed in
subsection~\ref{sec:special-features-r}, i.e.\ governed by an
$(n,\gamma)\rightleftarrows(\gamma,n)$ equilibrium or the competition
of neutron captures and $\beta$-decays, depends on the resulting
neutron densities and temperatures.

\begin{figure}[htb]
  \includegraphics[width=\linewidth]{abund-ye.pdf}\\
  \includegraphics[width=\linewidth]{az-ye.pdf}
  \caption{(top panel) Evolution of the mass fractions of neutrons,
    alphas and heavy nuclei versus $Y_e$ (left y-axis scale) and
    neutron-to-seed (right y-axis scale) at a temperature of 3~GK for
    an adiabatic expansion with an entropy per nucleon $s=20\
    k_B$. (lower panel) Evolution of the average mass, $A$, and proton
    number $Z$ of the seeds and the final mass number
    $A_f = A_{\text{seed}} + n_s$ versus $Y_e$ (left y-axis
    scale). The evolution of $Z/A$ is also shown (right y-axis
    scale). As a reference $Y_e$ is shown as a diagonal dashed
    line.\label{fig-gabr}}
\end{figure}

For both cases, a prerequisite for an r~process, the neutron-to-seed
ratio depends of the mass range of nuclei to be produced. Starting
with $A=50$--100 nuclei, the production of lanthanides requires
$n_s \sim 50$ while the one of actinides $n_s \sim
150$. Figure~\ref{fig_freiburgf} shows the lines of constant $n_s$ as
a function of entropy and $Y_e$, illustrating the dependence
$n_s \sim s^3/(Y^3_e \tau_{dyn})$ of the neutron-to-seed ratio as a
function of entropy, $Y_e$ and expansion dynamical timescale
$\tau_{\text{dyn}} =
[(d\rho/dt)/\rho]^{-1}$~\citep{hoffman.woosley.qian:1997,Freiburghaus.Rembges.ea:1999}.

When considering the result of these investigations, there remain two
options for a strong r~process in matter which was heated sufficiently
to pass through NSE: (a) for moderately neutron-rich conditions with
$Y_e$ not much smaller than 0.5, only very high entropies can provide
the necessary environment.  (b) For very low entropies, the $n_s$
ratio becomes essentially entropy-independent,
$n_s \approx A_{\text{seed}} [Z_{\text{seed}}/(A_{\text{seed}}
Y_e)-1]$, such that only very neutron-rich matter
($Y_e \lesssim 0.15$) can support a strong
r~process. Fig.~\ref{fig-gabr} shows such a case of low entropies per
nucleon using $s=20\ k_B$, typical for matter ejected in neutron star
mergers. It shows several quantities as a function of $Y_e$. Comparing
with Fig.~\ref{fig_far1} at $S=20$ and for $Y=0.45$ one finds
consistent results, i.e.\ essentially only alphas and heavy nuclei (no
free neutrons) with typical charges $Z_{\text{seed}} \approx 28$ and
$A_{\text{seed}} \approx 63$. Only for $Y_e \lesssim 0.38$ free
neutrons start to appear and Lanthanides are produced for
$Y_e \lesssim 0.25$~\citep[see][for a systematic study of the
astrophysical conditions necessary to produce
Lanthanides]{Lippuner.Roberts:2015}.

\section{Experimental developments for r-process studies}
\label{sec:exper-devel-r}

The r-process path runs through nuclei with extreme neutron excess.
Most of these nuclei have yet not been produced in the laboratory and
their properties are experimentally unknown. Hence the nuclear input
required for r-process simulations must largely be modelled. This has
always been a source of noticeable uncertainties. This situation has
already improved as some intermediate-mass r-process nuclei could be
produced at existing radioactive ion-beam facilities like CERN/Isolde,
GSI and, in particular, RIKEN\@. Significant advance, however, is
expected in the future when key r-process nuclei, including those
around the third r-process peak, become accessible at the
next-generation RIB facilities like FAIR and FRIB\@. This will be
discussed in more detail in the following sections. Data taken at
these facilities will not only directly substitute theory predictions,
but will also serve as stringent and valuable constraints to advance
model predictions for even then not accessible nuclei.

The next two sections deal with the nuclear ingredients needed for
r-process simulations. At first we will discuss the various
experimental approaches to produce and study neutron-rich nuclei and
summarize the experimental data relevant for r-process nucleosynthesis
which have been achieved recently. In the next section we present the
nuclear models applied to interpret the experimental results and
derive the vast nuclear data sets needed for large scale
simulations. We will focus on theoretical advances achieved by
improved models and experimental constraints and guidance, and finally
discuss the impact on the improved nuclear data on our understanding
of r-process nucleosynthesis.

There has been considerable experimental effort over the last forty
years to explore the nuclear physics of the r-process and the
structure and properties of r-process nuclei along the projected
reaction path; a goal that is nearly equivalent with exploring the
evolution of nuclear structure towards the limits of stability.  This
was one of the strong motivations towards the development of
facilities capable of producing radioactive ion beams. The experiments
have concentrated on measurement of masses, $\beta$~decay and
$\beta$-delayed neutron emission probabilities of neutron rich nuclei
towards and on occasion even at the anticipated r-process path.  A
multitude of experimental probes have been used to facilitate the
production and separation of very neutron rich short-lived nuclei and
to measure their specific properties.  The traditional tools in the
past ranged from extracting fission products from
reactors
to the use of spontaneous fission sources, to the analysis of
short-lived reaction products at ISOL and fragmentation
facilities.
The enormous progress in producing neutron-rich isotopes with
increasing intensity and resolution was enabled by the simultaneous
progress in the development of new experimental techniques and
detectors.
The traditional approach of tape-collection and decay analysis leading
to half-life and $\beta$-endpoint determination for single separation
products was replaced by large scale ring experiments for measuring
hundreds of masses at once, or complementary to that by sophisticated
trapping experiments for determining the masses and decay properties
of individual neutron-rich nuclei with unprecedented accuracy.

While the utilization of these facilities and techniques produced a
wealth of data, it primarily addressed the needs for knowledge about
the collective properties of neutron-rich nuclei near or at the
r-process path. These studies provided important information and input
for the early r~process simulations based on the
$(n,\gamma)\rightleftarrows(\gamma,n)$ equilibrium
assumptions. Specific challenges remained, such as the $(n,\gamma)$
nuclear cross section reaction data for simulating the r-process
nucleosynthesis after freeze-out. The associated reaction cross
sections and reaction rates that are now used in dynamic r-process
simulations rely entirely on statistical model calculations, utilizing
Hauser-Feshbach codes like SMOKER,
NON-SMOKER\footnote{\url{https://nucastro.org/reaclib.html}}, and
TALYS\footnote{\url{http://www.talys.eu/more-about-talys}}.  While
this approach is commonly used, it is not clear how reliable these
predictions for the $(n,\gamma)$ reaction rates are and  how valid they are
for reactions on neutron-rich closed-shell nuclei that are
characterized by low
Q-values~\citep{Rauscher.Thielemann.Kratz:1997}. In fact, it is
expected that close to the stability the direct capture component
dominates, permitting possibly an
$(n,\gamma)\rightleftarrows(\gamma,n)$ equilibrium down to lower
temperatures \cite{Mathews1983}, but how reliable are the predictions
for the strength of such direct capture components
\cite{Goriely:1998,arnould07}?  A direct measurement of neutron
capture reactions on short-lived neutron-rich nuclei is challenging
and certainly not feasible within the near future.  The experimental
developments have focused on two approaches that combine theory and
experiment in order to get at the neutron capture cross-sections, the
$\beta$-Oslo method \cite{Spyrou2014, Spyrou2017, Tornyi2014,
  Guttormsen1987} and surrogate reactions \cite{Escher2012}, mostly
$(d,p)$ to get access to $(n,\gamma)$ rates.  New initiatives have also
recently been proposed for direct neutron capture studies at ring
experiments \cite{Reifarth2017}. This proposal is particularly
challenging since the idea is to combine, for the first time, a method
that couples radioactive beam with radioactive target
experiments. Below, we discuss the facilities and approaches presently
used for the production of neutron-rich nuclei on or near the
r-process path, along with some of the noteworthy experimental
developments in tools and techniques that allow measurements of
nuclear masses, $\beta$-decay rates, $\beta$-delayed neutron emission
probabilities, and neutron capture rates of nuclei required as inputs
for reliable simulations of the r~process.

\subsection{Production of neutron-rich isotopes}
The biggest challenge in experimentally studying isotopes near or at
the r-process path is the production of these isotopes in sufficient
abundances to explore their properties. This is closely correlated
with the selectivity of the separators necessary to select the
isotopes in question and the sensitivity of the detectors for
measuring the respective properties. The overall production of rare
isotopes has not significantly improved over the last decades due to
the cross section limitations in the production reactions, or the
energetics of the facilities to produce beams. However, substantial
improvements have been made in the selection process due to innovative
techniques in the isotope separation through electro-magnetic systems
and the increasing utilization of laser based separation
techniques. Also, enormous progress has been made on the detection
side, and the development of ion trapping techniques has overcome many
of the statistical limitations in the more traditional measurements of
lifetimes, masses, and direct measurements of $\beta$-delayed neutron
emission probabilities of the very neutron-rich nuclei. This section
addresses the production of neutron rich nuclei in reactors, in
spontaneous fission sources, in fission products in accelerators, at
spallation sources or ISOL facilities, and at fragmentation
facilities.

\subsubsection{Nuclear reactors and fission product sources}

One of the traditional methods for the production of neutron-rich
nuclei is the extraction and separation of neutron-rich fission
products from high flux nuclear reactors. Pioneering work has been
done at the TRISTAN separator \cite{TristanI, TristanII} at the Ames
Laboratory Research Reactor in Iowa. The TRISTAN separator was moved
in the mid 1970's to the 60 MW High Flux Beam Reactor (HFBR) at
Brookhaven National Laboratory \cite{Crease2000}. The fission products
were ionized, extracted from a $^{235}$U target placed in an ion
source located in a beam line close to the reactor core, and
separated.  A similar separator was installed at the at the High Flux
Reactor of the Institute Laue Langevin (ILL) in Grenoble, France,
where the LOHENGRIN fission fragment separator is used to extract and
analyze fission products to order to study their decay properties
\cite{Lohengrin}. This facility was complemented by the installation
of thermoionization separators, OSTIS I \& II, at the ILL\@. The OSTIS
separator concept \cite{OstisI, OstisII} was based on the use of an
external neutron guide line bombarding an external $^{235}$U
source. This approach allowed the measurement of shorter-lived fission
products since it reduced the transport times to the ion-source.
Studies of neutron-rich nuclei were also performed at smaller reactors
as long as separators were available to select the desired fission
product.
Measurements of masses, decay half-lives, $\beta$-delayed neutron
emission probabilities, and $\gamma$-ray decay properties were
performed with the best techniques available utilizing moving tape
systems.
The measurement of neutron-rich isotopes reached close to some of the
r-process trajectories, in particular for the alkali isotopes. The
measurements on the neutron-rich Rubidium isotopes made at that time
\cite{Leist} are only rivaled now some twenty-five years later.  The
main handicaps, for reaching the r-process path and mapping the very
neutron-rich nuclei, were the fission product distribution and long
extraction times for the fission products. All of these measurements
had limitations that were overcome with the new advances and technical
developments in detectors, including new neutron detection
technologies based on $^6$Li-glass, $^3$He tubes, and $^{3}$He
spectrometer systems \cite{Ohm,Yeh.Clark.ea:1983}.
Fission studies with traditional approaches limited the access to the
very short-lived nuclei along the r-process path, but the development
of new and more sensitive detection systems such as traps or laser
ionization, used in conjunction with spallation or spontaneous fission
sources or with the use of storage rings at fragmentation facilities,
has revolutionized the studies of neutron-rich r-process nuclei.

\begin{figure*}[htb]
  \includegraphics[width=\linewidth]{lorusso}
  \caption{$\beta$-decay half-lives measured
    by~\citet{Lorusso.Nishimura.ea:2015} (solid circles) for a number
    of isotopic chains as a function of neutron number, compared with
    previous data~\citep{Audi.Kondev.ea:2012} (open triangles) and the
    predictions of the models FRDM-QRPA
    (blue)~\citep{Moeller.Pfeiffer.Kratz:2003}, KTUY-GT2
    (green)~\citep{Tachibana.Yamada.Yoshida:1990,Koura.Tachibana.ea:2005},
    and DF3-CQRPA (magenta)~\citep{Borzov.Cuenca-Garcia.ea:2008} when
    available.~\citep[figure
    from][]{Lorusso.Nishimura.ea:2015}\label{fig:lorusso}}
\end{figure*}

\subsubsection{Spallation sources and ISOL techniques}

The on-line separators for fission products were complemented by
ISOLDE (Isotope Separator On-Line DEtector), designed in the
mid-sixties for separating spallation products that were produced by
impinging 600~MeV protons from the synchro-cyclotron at CERN on a
stationary target.
The spallation of the heavy target nuclei produced a variety of
fragments, which were extracted and filtered to yield the desired
isotope. The time required for extraction placed a lower limit on the
half life of isotopes which could be produced by this method. Once
extracted, the isotopes were directed to one of several detector
stations for measuring the decay properties. The ISOLDE separator was
moved in 1990 to the CERN PS booster to increase the yield of the
spallation products \cite{Isolde}. In a two-step process, the 1 GeV
proton beam from the PS-Booster impinging on a Ta or W rod positioned
in close proximity to the uranium-carbide target produced the fast
spallation neutrons to induce fission. This method was essential for
suppressing the proton-rich isobaric spallation products that
dominated the spallation yield.  The new ISOLDE system was one of the
most successful sources for neutron-rich isotopes and dominated the
production of neutron-rich isotopes for nearly two decades. The
implementation of laser ion-source techniques for the selection of
specific $Z$-selectivity, and hence selection of specific elements, was
a significant improvement to studies of neutron-rich nuclei. The laser
ionization of the fission products led to a significant reduction in
isobar background. This was further improved by using the hyperfine
splitting to select or separate specific isomers in neutron-rich
isotopes. These gradual improvements of ion source and separator
techniques finally led to the detailed measurement of the r-process
waiting point nucleus $^{130}$Cd, the first milestone in reaching and
mapping the r-process path \cite{Dillmann2003}, as well as the recent
mass measurements of $^{129-131}$Cd nuclei \cite{Atanasov2015} near
the doubly closed magic shell nucleus of $^{132}$Sn, a capability that
is unmatched to date.

\subsubsection{Fragmentation sources}

Another successful technique for the production of neutron-rich
isotopes is the use of fragmentation for the production of
neutron-rich, or fusion-evaporation for the production of
neutron-deficient, isotopes in heavy ion reactions. The GSI Online
Mass Separator was one of the first instruments to utilize
fusion-evaporation for studying isotopes far from stability using
heavy-ion beams from the UNILAC accelerator. The reaction products
were stopped in a catcher inside an ion source, from where they were
extracted as singly charged (atomic or molecular) ions and
re-accelerated to 60 keV. These beams were implanted, yielding sources
for $\beta$ or particle decay spectroscopy \cite{Roeckl}. This method,
however, was more suitable for the study of neutron-deficient isotopes
and remained not competitive with fission product or spallation based
production of neutron-rich isotopes. This instrument was gradually
replaced by the Projectile Fragment Separator FRS to focus on the
neutron-rich side of the line of stability
\cite{Geissel}. Fragmentation was based on smashing a high energy
heavy ion beam on light target material and collecting the fragments
through electromagnetic separator systems for subsequent on-line
analysis. The great advantage of this technique over the traditional
ISOL approach was that even short-lived isotopes could be studied if
properly separated. Fragmentation played an increasingly important
role for $\beta$-decay studies of r-process isotopes both at the
fragment separators at GSI \cite{Kurcewicz}, at NSCL/MSU in the US
\cite{Quinn}, and RIKEN in Japan \cite{Lorusso.Nishimura.ea:2015}. The
measurement of a very neutron-rich, doubly closed shell nucleus,
$^{78}$Ni, at the on-set of the r~process, presented a particularly
impressive example on the new relevance of fragment separators for the
study of r-process nuclei \cite{Hosmer.Schatz.ea:2005}. The
simultaneous measurement of the half-lives of 110 neutron-rich nuclei
near the $N=82$ closed shell gap at RIKEN
\cite{Lorusso.Nishimura.ea:2015} proved a substantial step forward for
studies of r-process nuclei (see Fig.~\ref{fig:lorusso}). Another
example is the systematic study of $\beta$-decay half-lives and
$\beta$-delayed neutron emission processes using the BELEN $^3$He
detector array for 20 heavier isotopes of Au, Hg, Tl, Pb, and Bi in
the neutron-rich mass region above the neutron shell closure
$N=126$~\citep{Caballero2016} to probe the feeding pattern of the
third r-process abundance peak at $A\approx195$, needed in
astrophysical
studies~\citep{Caballero.Arcones.ea:2014,Eichler.Arcones.ea:2015}.

\subsection{Experimental Achievements in Measuring Nuclear Properties}

Progress at ISOL-based systems, both at reactors as well as at
spallation facilities, was incremental. The production of neutron-rich
isotopes was mainly limited by the chemistry and extraction time from
the ion source. Large effort went in the development of suitable
target materials and ion source techniques \cite{Ravn}. The choice of
isotopes for the study of masses, half-lives and other decay
properties was often dictated by the availability of isotope products
rather than by physics priorities. The measurements were tedious and
the picture of nuclear structure development towards the very neutron
rich side of stability emerged only slowly. The experimental
uncertainties were substantial since mass-determinations depended
mostly on the reliability of $Q_{\beta}$ measurements, which depended
on the statistical significance of the data and were therefore only
reliable to a certain extent. Despite these handicaps for the
experimental community, by the early 21st century significant
progress had been made in measurements of very neutron-rich isotopes
in the Fe--Ni group and in the mass range feeding $A\approx130$
r-process abundance peak associated with the $N=82$ closed neutron
shell. Most notably, the properties of the $^{130}$Cd and the double
closed shell nucleus $^{132}$Sn had been studied at that time
\cite{Kratz}. However, during the last decade fragmentation techniques
improved enormously.  Not only did they allow the measurement of much
shorter lived neutron-rich radioisotopes, they also were not
handicapped by ion-source chemistry considerations and with the right
target and projectile combination they were able to reach far beyond
the range accessible by ISOL facilities. There were exceptions, but
with advantageous chemistry conditions ISOL facilities were still very
competitive with fragmentation techniques.

In the last decades several new technical developments led to an
enormous improvement in the study of r-process masses and decay
properties, partly driven by the development of larger high efficiency
detection devices but also by new techniques using storage ring
technology to determine masses of multiple isotopes at once instead of
painstakingly extracting and probing one isotope after the
other. Other advances were based on the development of laser traps
designed to trap only a few of the selected and collected neutron-rich
isotopes and determine their masses and decay characteristics with
unprecedented accuracy. In addition to these studies of the decay
properties of r-process or near r-process nuclei first attempts are
being made in determining neutron capture rates far off stability
using surrogate reaction techniques, and new innovative ideas are
being brought forward for facilities that allow a direct and model
independent measurements of neutron capture reaction cross sections on
very short-lived neutron rich isotopes. The most significant or
impactful developments of these techniques will be discussed in the
following sections.

\subsubsection{The experimental study of nuclear masses}
Mass measurements of selected isotopes near stability were
traditionally performed using mass spectrometers based on magnetic and
electric sector fields for separating single isotopes. Modern
experimental methods of mass measurement of rare isotopes are
generally based on three experimental techniques. Time-of-flight mass
spectrometry (TOF-MS) is based on the velocity measurement of
short-lived isotopes produced in fragment processes that are analyzed
in single-pass spectrometers. The other techniques are frequency-based
spectrometry of isotopes in storage rings using Schottky pick-up
signals of rapidly circulating particles~\cite{Litvinov2004} and
Penning traps capable of making measurements with even single trapped
particles \cite{Blaum:2006,Blaum2013}.  The TOF and frequency-based
methods are often mentioned together as direct mass measurement
methods because unknown masses (in fact, mass-to-charge ratios) are
directly determined by calibration with well-known masses.

Indirect methods usually rely on the measurement of the energy balance
in reaction or decay processes of the isotopes in question. The
un-known mass is calculated from known ones in the reaction or decays,
plus the determined Q values. This is the classical approach, which
requires a substantial production of the radioactive isotopes in
question to ensure sufficient statistical reliability of the data.

\subsubsection*{Mass measurements in storage rings}

Spectrometry of masses at storage rings allows the simultaneous
measurements of many nuclei. The ions produced at fragmentation
facilities typically are then stored in storage rings where the
relative frequencies of ion revolutions or relative revolution times
of the stored ions are related to their relative mass to charge ratios
and velocities \cite{Yan2016}. In order to measure the masses of the
ions in storage rings, the ions are typically cooled in order to
minimize the velocity spread. The cooling process requires time, and
therefore limits the half-lives that can be measured. This was the
principle of the Schottky Mass Measurement Method \cite{Radon2000,
  Litvinov2004}. Another approach, named the Isochronous Mass
Spectrometry \cite{Hausmann2000, Hausmann2001, Sun2008} removed the
limitation on half-lives since it does not depend on cooling. This ISM
approach resulted in a reduction of the velocity spread by injection
of the ions into the isochronous ion optical mode of the ring.  That
is, the fast and slow ions of the same species are deliberately placed
in the longer and shorter orbital paths, respectively, of the ring in
order to yield essentially the same revolution frequency and therefore
a reduced velocity spread. Two facilities use these methods for mass
measurements at storage rings, the GSI Helmholtz Center in Germany and
the Institute of Modern Physics in Lanzhou, China.  While these two
methods have been used mainly for neutron-deficient nuclei, the masses
of $^{129,130,131}$Cd have been recently measured at
GSI~\citep{Knoebel.Diwisch.ea:2016}. There are ongoing plans to
implement the same approaches at the Radioactive Ion Beam Factory in
RIKEN, Japan and the future FAIR facility at GSI.

\subsubsection*{Mass measurements in traps}

Measurements of masses in traps have yielded the most precise and
accurate mass measurements to date, and present a significant advance
over any other methods, including the storage rings and the
traditional $\beta$-endpoint measurements. There are basically two
types of traps.  Paul traps are based on radio-frequency confinement
of ions and Penning traps use electromagnetic fields to trap ions
(magnetic fields for radial confinement and electrostatic ones for
axial trapping). Coupling of traps to fragmentation or spallation
facilities or coupling to spontaneous fissioning sources has
tremendously extended the reach of high precision and high accuracy
measurements, setting new worldwide standards for studies of this very
fundamental property of the nucleus and its special impact on
simulations of the r~process. There are now numerous facilities
worldwide, including the Canadian Penning Trap at Argonne National
Laboratory; LEBIT at the National Superconducting Cyclotron Laboratory
at MSU in the USA; TITAN at TRIUMF in Canada; JYFLTRAP in Jyvaskyla,
Finland; SHIPTRAP at GSI Darmstadt and MAFFTRAP in Munich, Germany;
ISOLTRAP at CERN; and RIKEN trap at the SLOWRI facility in Japan. Many
of the facilities have implemented or intend to implement MRTOF
devices (multi-reflection time-of-flight spectrographs) to increase
the purity of the ions as well as the range of short-lived exotic
nuclei that can be measured.  ISOLTRAP at CERN was a pioneer in the
field of traps, reaching an uncertainty of a few parts in $10^8$ with
a resolving power of up to $10^6$ with nuclear half-lives in the order
of seconds \cite{Eliseev2013}.  Exotic neutron rich nuclei with
shorter half-lives required much greater resolving power and led to
the introduction of the phase-imaging ion-cyclotron resonance
technique \citep{Eliseev2013}. This new technique is based on
determining the frequency of the ion by the projection of the ion
motion in the trap onto a high resolution position sensitive
micro-channel plate detector.  The method has been shown to increase
the resolving power forty-fold, and at the same time, to tremendously
increase the speed with which measurements can be made. The higher
precision of the measurements have a strong impact on attempts to
distinguish sites of the r~process, as shown in resulting publications
\cite{Mumpower2015,Mumpower.Surman.ea:2016,Mumpower2017}. Recent
highlights include precision mass measurement of neutron-rich
Neodymium and Samarium Isotopes at the CARIBU
facility~\citep{Orford.Vassh.ea:2018}, of neutron-rich rare-earth
isotopes at JYFLTRAP~\citep{Vilen.Kelly.ea:2018}, and neutron-rich
Gallium isotopes at TITAN~\citep{Reiter.Ayet.ea:2018}.

\subsubsection{Beta Decay}

Beta decay measurements are typically challenged by the detection
efficiency of electrons and neutron-rich ions.  New results of
half-lives measured at RIKEN include stacking of eight silicon double
sided strip detectors such as WAS3ABi~\cite{Lorusso.Nishimura.ea:2015,Wu.Nishimura.ea:2017} surrounded by an
array of 84 HP germanium detectors of the EURICA array
\cite{Soderstrom2013}. Tremendous detection power, coupled with the
most intense radioactive ion beams available, has made a significant
contribution to the measurements of half-lives. While silicon has been
the ideal choice, other detector materials such as Ge with higher Z
have recently been commissioned at the NSCL fragmentation facility for
use with $\beta$-decay experiments. The GeDSSD detector shows 50\%
electron efficiency and greater mechanical stability in allowing the
manufacture of thicker detectors \cite{Larson2013}.  TRIUMF in Canada
has also developed the Scintillating Electron-Positron Tagging Array
(SCEPTAR) comprised of 20 thin plastic scintillator beta detectors
that surround the implantation point of radioactive ion beams inside a
central vacuum chamber surrounded by 16 Clover type, large volume
Germanium detectors. SCEPTAR has been shown to have an efficiency of
$\sim$80\% for electrons emitted from radioactive decays, and also
provides information on their directions of emission in order to veto
background in the surrounding GRIFFIN HPGe detectors from the
bremsstrahlung radiation produced by the stopping of the energetic
beta particles.  Neutron rich nuclei are transported to the center of
GRIFFIN by a moving tape collector (MTC) system.

\subsubsection{Beta-delayed neutron emission probability measurements}

Beta delayed neutron emission changes the availability of neutrons in
a given r-process scenario and is particularly important since the
delayed neutrons can significantly change the abundances of
neutron-rich nuclei during freeze-out. While the probabilities of
$\beta$-delayed neutron emission ($P_n$) are of great impact for
r-process simulations, as well as nuclear power reactor designs
\citep[for early work see e.g.][]{Kratz.Schroeder.Ohm.ea:1982}, the
experimental situation is quite poor since very few of the
$P_n$-values have been measured. Facilities capable of producing
neutron-rich nuclei by fragmentation, spallation, or fission sources
have invested in a variety of approaches to measure theses
$P_n$-values.

A number of neutron detection techniques were applied, but multiple
counter systems consisting of a number of $^3$He counters embedded in
a paraffin matrix to thermalize the neutrons for better efficiency
emerged as a standard approach for these kind of studies. One more
recent example was the neutron counter NERO \cite{Nero} that was
developed at the NSCL/MSU to measure the $P_n$-values of neutron-rich
isotopes in the lower mass range that was accessible using fragment
production and separation at the A1900 separator. NERO consists of
sixty $^3$He counters embedded in a polyethylene matrix surrounding
the collection station to maximize counting efficiency. The efficiency
was tested using a $^{252}$Cf spontaneous fissioning source and the
energy detection range of the detectors was expanded using ($\alpha$,
n) reactions on various target materials. NERO was utilized primarily
for the study of lighter r-process nuclei in the Co to Cu mass region
\cite{CoCu} and in the range of of very neutron rich Y, Mo, and Zr
isotopes near the r-process path \cite{Pereira}, pushing the
experiments to nuclei in the N=82 closed neutron shell region
\cite{Montes}.

The BELEN (BEta-deLayEd Neutron) detector array is a more recent
development of a neutron counter that follows the same concept as
NERO\@. BELEN was conceived as a modular detector that has been
developed in preparation for experiments at FAIR\@. Specifically, the
DEcay SPECtroscopy (DESPEC) experiment at FAIR is planned for the
measurement of $\beta$-decays in an array of Double Sided Silicon
Detectors (DSSD) called AIDA, in coincidence with the $^3$He neutron
detectors of BELEN, in order to measure $P_n$-values of exotic
nuclei. BELEN-20 consists of two concentric rings of $^3$He counters
(8 and 12 counters, respectively), arranged inside a polyethylene
neutron moderator. Early measurements included testing the system by
transporting a beam of ions to the center of the neutron detector in
front of a Si detector to measure the $\beta$-decay
\cite{Gomez-Hornillos2011}. The most current version of BELEN includes
48 $^3$He tubes \cite{Calvino2014,Agramunt2016} and was recently
tested, similarly to BELEN-20, at Jyvaskyla, with fission products
produced from the proton-induced fission of Thorium.  Fission products
were swept away by a Helium gas jet system into a double Penning trap
system that acts as a mass separator, resulting in a relatively pure
beam of $\beta$-decaying products. The transport system takes some
time, on the order of a few hundred milliseconds and imposes a
limitation on the lifetimes that can be studied. The BELEN detector is
soon to become a part of the largest ever neutron detector of its kind
as a part of a 160 $^3$He counter arrangement being built by the
BRIKEN collaboration for measurements of exotic nuclei at RIKEN\@. The
challenges that remain are the trade-offs between the highest
efficiencies and the best energy resolutions for the detection of
neutrons. First, measurements at the GSI fragment separator focused on
the study of massive radioactive nuclei of the N=126 closed shell in
the Au to Rn range, in order to determine the half-lives of these
isotopes, the $\beta$-delayed neutron emission probabilities, and the
$P_n$-values, to compare with theoretical model predictions
\cite{Caballero2016}. This work demonstrated that the FRDM+QRPA
predictions typically used in r-process simulations differ sometimes
by up to an order of magnitude from the experimental values. These
discrepancies between theoretical predictions and experimental result
underline the importance of these kind of studies for exploring the
evolution of nuclear structure towards the r-process path and beyond.

Recently, a new technique was demonstrated in which the challenges of
neutron detection are circumvented by measuring the nuclear recoil
\cite{Yee2013} instead of the neutron energy using traps. The traps
can confine a radioactive ion and basically $\beta$-decay at rest. The
emitted radiation emerges with minimal scattering, allowing the
measurement of the ion recoil. The $\beta$ is measured in coincidence
with the ion recoiling as a result of neutron emission resulting in a
time of flight spectrum. The proof of principle was demonstrated using
a fission source of $^{252}$Cf, where fission fragments are
thermalized in a large volume gas catcher, extracted, bunched, trapped
and mass separated in a Penning trap, then delivered into a
$\beta$-decay Paul Trap (BPT). The $\beta$-particles are detected in a
$\Delta$E-E plastic scintillator while the recoil ions are detected in
a microchannel plate detector. The technique allows the measurements
of exotic isotopes with half-lives as short as 50 ms while avoiding
some of the complications of neutron measurements.

\subsection{Experiments towards Neutron Capture Rates}

For a long time, the determination of neutron capture rates on
neutron-rich nuclei has been considered of secondary relevance for the
simulation of r-process nucleosynthesis and scenarios. This is due to
the fact that the r~process is governed by an
$(n,\gamma)\rightleftarrows(\gamma,n)$ equilibrium, where the actual
reaction rates cancel out as described earlier. However, after
freeze-out the equilibrium is no longer maintained and neutron capture
reactions on the neutron-rich r-process reaction products may well
shift the abundance distribution towards heavier nuclei. Sensitivity
studies with variations of the neutron capture rates by factors of ten
result in significant variations in the resulting abundances of the
heavy elements as a function of the astrophysical trajectories that
are used~\citep{Mumpower2015}, but the experimental measurements of
neutron capture on exotic beams pose significant challenges, both in
the production of the exotic nuclei as well as the neutrons and in
turn the measurements of the reaction rates.

While the direct measurement of neutron capture reactions on stable
and even long-lived radioactive for the s~process has been very
successful \cite{Guerrero2017}, a similar approach to study neutron
capture on short-lived neutron rich isotopes provides considerable
challenges. Most of the r-process neutron capture rates rely on
theoretical predictions based on the Hauser-Feshbach statistical model
formalism \cite{Rauscher.Thielemann.Kratz:1997,Goriely:1998}. To test
and verify these predictions a number of indirect methods have been
developed over the last decade as a first step towards this goal. This
includes the so-called Oslo method \cite{Guttormsen1987} as well as
the surrogate reaction technique \cite{Escher2012}, while new methods
are being envisioned towards a direct experimental approach.

\subsubsection{Neutron Capture on neutron rich nuclei: $\beta$-Oslo
  method}
\label{sec:neutr-capt-neutr}

The Oslo method involves the extraction of level densities and
$\gamma$-ray strength functions by the measurements of the total
de-excitation of a nucleus as a function of energy. The different
excitation ranges to be studied are populated by different nuclear
reaction modes that can range from light ion transfer reaction to
inelastic scattering techniques. This approach requires high intensity
beams and the direct measurements of cross sections
\cite{Guttormsen1987} to obtain the level density and strength
function data with sufficient statistics for extracting neutron
capture cross sections. The recent adaptation of the Oslo method has
been demonstrated in the $\beta$-Oslo method in which the
$\beta$-decay of a neutron-rich nucleus populates the levels at high
excitation range and the subsequent $\gamma$-decay is measured using
total absorption spectroscopy~\cite{Spyrou2017}. A first version of
this approach was developed on the basis of $\beta$-decay data
obtained at the ILL Grenoble and at ISOLDE at
CERN~\citep{Kratz1983,Leist1985}. A benchmark test for quantifying the
method was the successful comparison between the level density
analysis from the study of $^{87}$Br$(\beta^-n){}^{86}$Kr through
neutron unbound states in $^{87}$Kr and the direct
$^{86}$Kr$(n,\gamma){}^{87}$Kr resonant neutron capture
data~\citep{Raman1983}. An important aspect in this work is the fact
that the extracted level density is based on the analysis of the
neutron decay data and not on the $\gamma$-decay analysis.

The present approach, the so-called $\beta$-Oslo method, however,
rests mostly on the analysis $\gamma$-decay of highly excited
states. Neutron unbound states, populated by the $\beta$-decay are
less likely to be observed because they primarily decay into the
particle rather than the $\gamma$ channel as observed in the early
studies \cite{Raman1983}.  Nevertheless, the study of the
$\beta$-delayed $\gamma$-decay is a useful tool for determining level
densities up to the threshold. The new approach relies on the use of a
4$\pi$ summing detector device instead of a single Ge detector to
analyze the $\gamma$-decay pattern. The spectra are then unfolded as a
function of excitation energy in order to determine the nuclear level
density and the $\gamma$-strength function. The neutron capture cross
section is derived by folding the level density and $\gamma$-ray
strength function with a nucleon-nucleus optical model potential,
adopting statistical asumptions for the neutron transmission
channels. The analysis depends critically on a number of assumptions
with respect to level density normalization and the optical potential,
which possibly introduces systematic uncertainties. However, the
largest uncertainty is in the assumption of the density of neutron
unbound states above the threshold and the associated neutron strength
distribution. This is typically determined from systematics and
statistical model simulations. It works well near the stability where
the level density above the neutron threshold is high.  It becomes
more questionable when the method is applied to nuclei at the
r-process path, where the neutron thresholds and therefore the level
density are much lower.  A number of measurements have been performed
and the extracted results agree well with the predictions of
Hauser-Feshbach simulations~\citep{Spyrou2014} and the uncertainty
range in the prediction is claimed to be significantly
reduced~\citep{Liddick2016}. The approach suggests a certain
redundancy since the experimental data do not consider the neutron
strength function above the threshold, but adopt the one predicted by
the same statistical model against which the predicted reaction rates
are being tested. A study of the systematic uncertainties
by~\citet{Spyrou2017} suggests that the overall uncertainty in the rates
obtained by the $\beta$-Oslo method is within a factor of $\sim 3$
which is comparable to the uncertainty range of case-optimized Hauser
Feshbach calculations \citep{Beard2014}.

\subsubsection{Neutron capture by $(d,p)$ surrogate reactions}

Single particle transfer reactions such as $(d,p)$ have emerged as a
powerful tool for probing the single particle structure of
neutron-rich nuclei near the r-process path. First $(d,p)$ transfer
measurements, using radioactive $^{130,132}$Sn beams on CD2
(deuterated polyethylene) targets at the Holifield Radioactive Ion
Beam Facility (HRIBF) radioactive beam facility in Oak Ridge National
Laboratory, led to a better understanding of the single particle
structure of bound states in $^{131,133}$Sn \cite{Kozub2012,
  nature09048}. The extracted single particle spectroscopic factors
allowed calculating the direct reaction components for neutron capture
reactions. Higher energy unbound states were not observed. The
observation of such states is critical for extracting reliably the
single resonant or statistical resonant contributions expected for
high level density compound nuclei in $(n,\gamma)$ reactions.

The study of the unbound regions of neutron-rich compound nuclei in
$(n,\gamma)$ reactions near the r-process path is the primary goal of
the surrogate reaction approach where single particle transfer
reactions are utilized to bypass the challenges of measuring neutron
capture cross sections on short lived nuclei. Neutron transfer
reactions such as $(d,p)$ or $(d,p\gamma)$ are frequently highlighted as
surrogates for direct neutron capture studies \cite {Escher2012}. In
surrogate reactions the neutron is carried within a ``trojan''
projectile and brought to react with the target. The neutron-capture
cross sections on the target nucleus can be extracted by measuring the
proton in the final stage \cite{Escher2006,Forssen2007}. First
benchmark experiments have been performed at the 88-inch cyclotron at
Lawrence Berkeley National Laboratory probing the
$^{171,173}$Yb$(n,\gamma)$ cross section via the surrogate reaction
$^{171,173}$Yb$(d,p\gamma)$, using a high intensity deuterium beam
\cite{Hatarik2010}. The extracted neutron capture cross sections
agreed within 15\% with direct measurements \cite{Wisshak2000} at
energies above 90 keV. At lower energies corresponding to the stellar
energy range considerably larger discrepancies are observed.

In the case of neutron capture on short-lived nuclei, inverse
kinematics techniques will be necessary with short-lived radioactive
beams interacting with a deuterium target. Neutron-transfer
measurement on a radioactive r-process nucleus needs large area
silicon detector arrays at backward angles in coincidence with an
ionization counter at forward angles to detect the beam-like recoils
to reduce the beam induced background. Such a system was developed as
the Oak Ridge - Rutgers University Barrel Array (ORRUBA)
\cite{Pain2007}. The ORRUBA detector has been used in the center of
the Gammasphere Ge-array in a combination called Gammasphere Orruba
Dual DEtectors for $(d,p\gamma)$ studies using stable $^{95}$Mo beams
\cite{Cizewski2018} but no conclusive results have been
presented. Extracting the neutron capture cross section out of the
surrogate reaction measurements offers its own challenges since it
requires proper treatment of nuclear model parameters. Deviations
between the results of direct measurements and surrogate reaction
studies may reflect insufficient treatment and separation between
different reaction mechanisms, such as direct transfer and break-up
components \cite{Avrigeanu2016}. While promising as a method, a deeper
understanding of the reaction mechanism seems necessary
\cite{Potel2015}.

\subsubsection{n-capture in ring experiments}
Recently a new method has been proposed for the direct study of
neutron capture on short-lived nuclei, using high intensity
radioactive beams in a storage ring on a thermalized neutron target
gas produced on-line by proton-induced spallation
reactions. \cite{Reifarth2017}. The cross section of the neutron
capture reactions would be measured in inverse kinematics, detecting
the heavy ion recoils in the ring, using for example the Schottky
method developed at the GSI storage ring facilities
\cite{Nolden2011}. This concept is an expansion of earlier work that
proposed the use of the high neutron flux in a reactor core as
possible target environment with the radioactive beam passing through
the reactor core in a storage ring \cite{Reifarth2014}. A number of
simulations demonstrate that both methods seems feasible albeit
technically challenging, since it requires the combination of a
storage ring facility with either a spallation or fission neutron
source. There is a half-life limit that is mostly determined by the
production rate at the radioactive ion facility or the beam intensity
and the beam losses due to interactions with the rest gas in the
ring. Yet, such a facility would allow for the first time to address
the challenges of neutron capture reaction measurements on neutron
rich radioactive isotopes with half lives less than a minute in the
decay products of r-process neutron-rich nuclei.

\section{Nuclear modeling of r-process input}
\label{sec:nuclear-modeling-r}

\subsection{Nuclear masses}
\label{sec:nuclear-masses}

\begin{table}[htb]
  \begin{ruledtabular}
    \caption{Comparison of the root mean square deviation, in keV, for
      the mass models FRDM-1992~\citep{moeller95},
      HFB-21~\citep{Goriely.Chamel.Pearson:2010}, DZ10,
      DZ31~\citep{Duflo.Zuker:1995}, and WS3 \citep{Liu.Wang.ea:2011}
      with experimental taken from the
      2003~\citep{Audi.Wapstra.Thibault:2003} and
      2012~\citep{Wang.Audi.ea:2012}. The columns labeled ``full''
      consider all masses present in each evaluation while the column
      labeled ``new'' includes only masses found in AME-2012 but not
      in AME-2003. \label{tab:mass-deviations}}
    \begin{tabular}{lccc}
      Model & AME-2003 & AME-2012 (new) & AME-2012 \\
            &  (full)  & (new) &  (full) \\ \hline
      FRDM-1992 &  655 &  765 &  666 \\
      HFB-21 & 576 &  646 &  584 \\
      WS3  &  336 &  424 &  345 \\
      DZ10 &  551 &  880 &  588 \\
      DZ31 &  363 &  665 &  400 \\
    \end{tabular}
  \end{ruledtabular}
\end{table}

\begin{figure*}[htbp]
  \centering \includegraphics[width=0.74\linewidth]{mass_exp-theo.pdf}
  \caption{Differences, in MeV, between experimental, taken from the
    2012 version of the atomic mass evaluation
    AME12~\citep{Wang.Audi.ea:2012}, and theoretical binding energies
    (left panels) and two-neutron separation energies (right
    panels). The following mass models are shown: \citep[FRDM-1992][a,
    b]{moeller95}, \citep[HFB-21][c, d]{Goriely.Chamel.Pearson:2010},
    \citep[DZ10][e, f]{Duflo.Zuker:1995}, \citep[DZ31][g,
    h]{Duflo.Zuker:1995}, \citep[WS3][i,
    j]{Liu.Wang.ea:2011}. \citep[Figure
    from][]{Mendoza-Temis:2017}.\label{fig:mass-deviations}}
\end{figure*}

The most basic nuclear property for any r-process calculation is the
mass of the nuclei involved. It determines the threshold energy for
the main reactions during the r~process: $\beta$~decay, neutron capture
and photo-dissociation. Neutron separation energies, $S_n$, are
particularly important if the r~process proceeds in
$(n,\gamma) \rightleftarrows (\gamma,n)$ equilibrium, as the reaction
path is then fixed at a constant value of $S_n$, for given values of
neutron density and temperature of the astrophysical environment. The
most commonly used mass tabulations can be grouped in three different
approaches: a) microscopic-macroscopic models like the finite-range
droplet model (FRDM) approach
\cite{moeller95,moeller12,Moeller.Sierk.ea:2012,Moeller.Sierk.ea:2015,moeller15}, the
Extended Thomas-Fermi model with Strutinski Integral (ETFSI) approach
\cite{Aboussir.Pearson.ea:1995}, the extended Bethe-Weizs\"acker
formula \cite{Kirson:2008} and the Weizs\"acker-Skyrme mass models
\cite{Wang.Liu.Wu:2010,Liu.Wang.ea:2011}; b) a microscopically
inspired parametrization based on the averaged mean field extracted
from the shell model and extended by Coulomb, pairing and symmetry
energies \cite{Duflo.Zuker:1995}; and c) microscopic models based on
the non-relativistic \cite{Goriely.Chamel.Pearson:2016} or
relativistic \cite{Sun.Meng:2008} mean-field models.

All mass models have in common that, by fitting a certain set of
parameters to known experimental data, they are then being used to
predict the properties of all nuclei in the nuclear landscape.  The
models reproduce the experimentally known masses quite well, with mean
deviations between 350 keV and 600 keV (see
Table~\ref{tab:mass-deviations}).  It is quite satisfying to see that,
when in 2012 a new atomic mass evaluation (AME)
\cite{Wang.Audi.ea:2012}, including 219 new experimental masses,
became available the agreement with data worsened only slightly
compared to the comparison with the previous AME\@. However, when
considering only the new experimental masses found in AME-2012 the
agreement deteriorates. As the new masses typically involve more
exotic nuclei than those found in a previous evaluation, they provide
a measure of the capabilities of each model to extrapolate to regions
far from stability. This is in general one the most challenging
aspects to determine when using a given mass model in r-process
calculations. \citet{Neufcourt.Cao.ea:2018} has recently applied
Bayesian machine-learning techniques to assess the predictive power of
global mass models towards more unstable neutron-rich nuclei and
provide uncertainty quantification of predictions. Nevertheless,
deviations between model and data for neutron-rich nuclei are
typically related to bulk properties that may not dramatically affect
the abundance predictions, e.g. the symmetry energy whose value is
known with an uncertainty 3.8~MeV to be the range
29.7--33.5~MeV~\citep{Hebeler.Lattimer.ea:2013}.

Fig.~\ref{fig:mass-deviations} provides a closer comparison between
models and data. One notices systematic deviations between models and
data, i.e.\ for neutron numbers around $N \sim 90$ and 130 just above
the neutron shell closures at $N=82$ and 126
(Fig.~\ref{fig:mass-deviations}).  These mass regions are known as
`transitional regions' where nuclear shapes change from spherical to
deformed configurations, accompanied by a sudden drop in neutron
separation energies. The description of these shape changes is very
sensitive to correlations which are not fully accounted for in the
current mass models.  Noticeable differences among the various mass
models, and the data, are also observed in the differences of neutron
separation energies for odd-A and odd-odd nuclei~\cite{Arzhanov:2017},
likely pointing to the need for an improved description of
neutron-proton correlations.  A better description, in particular of
the transitional region, requires beyond-mean-field techniques. A
first attempt has been presented
in~\citet{Rodriguez.Arzhanov.Martinez-Pinedo:2015}, based on the
Generator Coordinator Method which considers superpositions of
different shapes and restores the breaking of particle number and
angular momentum as inherent in the Hartree-Fock-Bogoliubov (HFB)
approach. However, first calculations of nuclear masses show only
rather slight effects for nuclei in the $N \sim 90$ range.

Although the differences in the transitional regions at $N\sim90$ and
130 between the various mass models might be rather minute, they can
have noticeable impact in r-process simulations.  The FRDM
\citep{moeller95} and version 21 of the Brussels
Hartree-Fock-Bogoliubov mass model
\citep[HFB21][]{Goriely.Chamel.Pearson:2010} predict noticeably
smaller neutron separation energies than the
Duflo-Zuker~\citep{Duflo.Zuker:1995} or the Weizs\"acker-Skyrme
\citep[WS3][]{Wang.Liu.Wu:2010,Liu.Wang.ea:2011} models in the
$N \sim 130$ mass range. As a consequence, for the former two mass
tabulations, these nuclei act as obstacles in the r-process mass flow
and produce a third r-process abundance peak which is narrower in
width, overestimated in height, slightly shifted to larger mass
numbers and followed by an abundance trough just above the peak if
compared to simulations using the Duflo-Zuker and WS3 masses (and to
data) (see Fig.~\ref{fig:Joel-final}). At $N \sim 90$ the FRDM
predicts very low neutron separation energies, in contrast to the
other mass models!~\cite{Arcones.Martinez-Pinedo:2011}. As is
discussed in \citet{Mendoza-Temis.Wu.ea:2015} these low $S_n$ values
have consequences for the matter flow between the second and third
r-process peaks and result in a narrow peak around $A\sim136$ in the
r-process abundances at freeze-out, which is, however, washed out at
later times due to continuous productions of material in this region
by fission. Similar effects have also been observed
in~\citet{Martin.Arcones.ea:2016} using masses derived from Skyrme
energy density functionals based on different optimization
protocols. This allows for systematic studies of uncertainty bands
under the same underlying physical model for the description of
nuclear masses.

\begin{figure}[htbp]
  \centering \includegraphics[width=\linewidth]{joel-final-abundance}
  \caption{Final mass-integrated r-process abundances obtained in a
    neutron-star merger simulation using four different mass models
    \citep[adopted
    from][]{Mendoza-Temis.Wu.ea:2015}\label{fig:Joel-final}}
\end{figure}

\begin{figure}[htbp]
  \centering \includegraphics[width=\linewidth]{n82-riken-halflives}
  \caption{\label{fig:n82halflives}Comparison of
    experimental~\citep{Pfeiffer.Kratz.ea:2001,Dillmann2003,Fogelberg.Gausemel.ea:2004,Lorusso.Nishimura.ea:2015}
    and shell-model halflives~\citep{Zhi.Caurier.ea:2013} for $N=82$
    r-process nuclei}
\end{figure}

\subsection{Beta half lives}
Nuclear beta decays, which change a neutron into a proton, are
responsible for the mass flow to elements with increasingly heavier
$Z$-number.  As the r~process occurs in a dynamical environment, the
time, which is needed for the succession of beta decays to produce
thorium and uranium from the seed nuclei available after freeze-out of
charged-particle fusion reactions, is competing with the dynamical
timescale of the explosion, which transports matter to larger radii
(and lower densities), thus suppressing the neutron number density
required for the mass flow to heavier nuclei by neutron
captures. Particularly important are beta decays of nuclei with magic
neutron numbers $N_{\rm mag}$, as the matter flow is hindered by the
reduced neutron separation energies of the nuclei with
$N_{\rm mag} +1$.  Furthermore, due to the extra binding of the magic
nuclei, the $Q$-value of their beta decays is relatively reduced,
resulting in longer lifetimes.

Calculations of beta decays require two ingredients: the relative
energy scale between parent and daughter nuclei (Q value) and the
transition strength distribution in the daughter nucleus. We note that
the $Q$ values are large for r-process nuclei due to the extreme
neutron excess.  As a consequence uncertainties in this quantity
(usually of order 0.5--1~MeV) have a mild effect on the half lifes,
despite the strong energy dependence of the involved phase space
($E^5$ for allowed Gamow-Teller transition, and even higher powers for
forbidden transitions). However, this strong energy dependence makes
the half life sensitive to the detailed low-lying strength
distribution, which is also crucial to determine whether the beta
decay is accompanied by the emission of neutrons, i.e.\ whether the
transition proceeds to states in the daughter nucleus above or below
the neutron threshold (which is only 2--3 MeV in r-process
nuclei). This so-called $\beta$-delayed neutron emission is a source
of free neutrons and plays an important role in determining the final
r-process abundances during the freeze-out of neutron captures
\cite{Arcones.Martinez-Pinedo:2011}.

Nucleon-nucleon correlations are responsible for the strong
fragmentation of the transition strengths and for its suppression
compared to the Independent Particle Model. These correlations are
accounted for in the interacting shell model
\cite{Caurier.Martinez-Pinedo.ea:2005}, and in fact large-scale shell
model calculations have been proven as the appropriate tool to
describe nuclear Gamow-Teller
distributions~\cite{Caurier.Langanke.ea:1999,Cole.Anderson.ea:2012}
for stellar weak interaction
processes~\cite{Langanke.Martinez-Pinedo:2000,
  Langanke.Martinez-Pinedo:2003}. Shell-model calculations proved also
very valuable for the calculation of the half lives of r-process
key-nuclei with magic neutron numbers. For $^{78}$Ni the shell model
predicted a half life of 127~ms~\citep{Langanke.Martinez-Pinedo:2003},
which was significantly shorter than the value estimated by global
models at the time, and was subsequently experimentally verified
\citep[$110\pm40$ ms,][]{Hosmer.Schatz.ea:2005}.  As is shown in
Fig.~\ref{fig:n82halflives}, the half lives for the $N=82$ r-process
nuclei recently measured at RIKEN \cite{Lorusso.Nishimura.ea:2015}
agree very well with the earlier shell model values
\cite{Zhi.Caurier.ea:2013}, once the quenching of GT transitions is
adjusted to the new $^{130}$Cd half-live. The shell model calculations
imply that the half lives for the $N=50$ and 82 r-process nuclei are
dominated by Gamow-Teller transitions and forbidden strengths
contribute only on the few-percent level. This is different for the
$N=126$ r-process waiting points. Here two independent large-scale
shell model
calculations~\cite{Suzuki.Yoshida.ea:2012,Zhi.Caurier.ea:2013} give
evidence that, due to the presence of intruder states with different
parity, forbidden transitions contribute significantly and make the
half lives about a factor of 2 shorter than estimated for pure allowed
transitions. In turn, the shorter half lives allow for a faster mass
flow through the $N=126$ waiting points. We note that the relevant
forbidden transitions are at low excitation energies, where due to
their enhanced phase space energy dependence they can compete with
allowed transitions, and hence they have a strong impact on the
$\beta$-delayed neutron emission probability.

The shell model is the method-of-choice for $\beta$-decay
calculations. However, due to the model spaces involved, calculations
are only possible for r-process nuclei near closed neutron
shells. Thus, the global beta decay rates for r-process simulations
have to be modelled by less sophisticated many-body
models. Traditionally these studies were performed by calculation of
the Gamow-Teller strength distributions within the Quasiparticle
Random Phase Approximation on the basis of the Finite Range Droplet
Model \cite{Moeller.Nix.Kratz:1997} or the ETFSI approach
\citep[Extended Thomas Fermi Model with Strutinsky
Integral,][]{Borzov.Goriely:2000}. Experimental data for half-lives of
r-process nuclei around $N=50$ and 82
\cite{Pfeiffer.Kratz.ea:2001,Lorusso.Nishimura.ea:2015} showed that
these estimates were systematically too long. The FRDM+QRPA model was
subsequently extended to include forbidden transitions within the
phenomenological ``gross theory'' \cite{Moeller.Pfeiffer.Kratz:2003}.
A new promising road towards globally calculating half lives for
r-process nuclei has recently been developed by performing QRPA
studies on top of the self-consistent Hartree-Fock-Bogoliubov
\citep[HFB+QRPA,][]{Engel.Bender.ea:1999} method or density
functionals either non-relativistic~\citep{Borzov:2003} or
relativistic \citep{Marketin.Vretenar.Ring:2007}.  Recent covariant
density functional
theory~\citep[D3C$^{*}$+QRPA][]{Marketin.Huther.Martinez-Pinedo:2016}
and Skyrme
finite-amplitude~\cite{Mustonen.Engel:2016,Shafer.Engel.ea:2016}
studies, which accounted for allowed and forbidden transitions,
yielded noticeably shorter half lives for medium and heavy nuclei than
obtained by the FRDM+QRPA approach.

Shorter half lives for r-process nuclei with $Z>80$ have a strong
impact on the position of the third r-process
peak~\cite{Eichler.Arcones.ea:2015} and enhance the mass flow through
the $N=126$ waiting points \cite{Mendoza-Temis.Wu.ea:2015}. The latter
implies more material available for fission, thus affecting the
abundances of the second r-process peak, and the late-time $\alpha$
decays from the decaying r-process matter in a neutron star merger
event~\citep{Wu.Barnes.ea:2018}. Studies of the influence on beta
decays on the r-process abundances for different astrophysical sites
have been reported in
\cite{Mumpower.Surman.ea:2016,Shafer.Engel.ea:2016,Kajino.Mathews:2017}.

In principle, the transformation of neutrons into protons can also be
achieved by charged-current ($\nu_e,e^-$) reactions. In fact, there
have been various suggestions how neutrino-induced reactions on nuclei
might affect r-process
nucleosynthesis~\citep[e.g.][]{Qian.Haxton.ea:1997,Haxton.Langanke.ea:1997,Meyer.Mclaughlin.Fuller:1998,Otsuki.Tagoshi.ea:2000,Terasawa.Langanke.ea:2004}. All
these studies were based on the assumption that the r-process operates
in the neutrino-driven wind scenario in the presence of strong
neutrino fluxes. These assumptions are not supported by modern
supernova simulations. In the neutron star merger scenario neutrino
fluxes once the r-process operates are too low to substantially
influence the abundances by charged-current
reactions~\citep{roberts17}.  However, the initial proton-to-neutron
ratio of the matter ejected in neutron star mergers and its spatial
and time dependence is set by neutrino reactions on free nucleons~(see
section~\ref{sec:astr-sites-their})

\subsection{Neutron captures}

During the r-process phase, in which the temperature is large enough
($T \gtrsim 1$~GK), neutron captures and its inverse reaction,
photo-dissociation, are in equilibrium. The rates become, however,
relevant once the nucleosynthesis~process drops out of this
equilibrium.  As the temperature is cooler during this period, it is
mainly neutron capture that matters.

The neutron capture and photo-dissociation rates for r-process nuclei
(the latter can be derived by detailed balance from the former) are
traditionally determined within the statistical model.  This assumes a
sufficiently high density of states in the daughter nucleus at the
relevant capture energies just above the neutron threshold which is
not given for the most neutron-rich nuclei close to the neutron
dripline. A systematic estimate about the range of nuclei for which
the statistical model is applicable to calculate neutron capture rates
is given in \cite{Rauscher.Thielemann.Kratz:1997}. It has been
proposed that for the most neutron-rich nuclei the capture rates
should be calculated within a direct-capture approach based on a
potential \cite{Mathews1983,Otsuki.Typel.Martinez-Pinedo:2010,Xu.Goriely:2012,Xu.Goriely.ea:2014}. In such an approach the rate is
often determined by a single resonance in the Gamow window
\cite{Loens.Langanke.ea:2012}. This makes rate predictions quite
uncertain, as nuclear models are not capable to predict the resonance
energies with sufficient accuracy. It has therefore been suggested to
describe the final states by a level density rather than by discrete
levels \cite{Goriely:1997,Ejnisman.Goldman.ea:1998}.  Calculations of
neutron capture rates which include a statistical component and a
direct contribution are reported in \cite{Mocelj.Rauscher.ea:2007}.

The main ingredients of statistical model calculations within the
Hauser-Feshbach approach are the nuclear level density, the
$\gamma$-strength function for the decay of the compound state, and
various light-particle potentials. The $\gamma$ transition can occur
with different multipolarities requiring either different ($E1$) or
equal parities ($M1$, $E2$) between the involved states. To additionally
fulfil the angular momentum selection rules, requires the knowledge of
parity- and angular-momentum-dependent level densities.

There has been significant progress in modelling nuclear level
densities in recent years. With the Shell Model Monte Carlo approach
(SMMC) \cite{Johnson.Koonin.ea:1992,Koonin.Dean.Langanke:1997} a tool
became available which allowed level densities in unprecedently large
model spaces.  The method to derive level densities within the SMMC
was presented in
\citet{Ormand:1997,Nakada.Alhassid:1997,Langanke:1998} and then
systematically extended to explore the parity-dependence
\cite{Alhassid.Liu.Nakada:1999} and angular-momentum-dependence
\cite{Alhassid.Liu.Nakada:2007}. In \citet{Ozen.Alhassid.Nakada:2015}
the collective vibrational and rotational enhancement factors have
been explored, finding that the decay of these enhancement factors is
correlated with the pairing and shape phase transitions. The vanishing
of pairing and its effect on the level density has been studied in
\citet{Langanke:2006}. In the Bethe Fermi Gas (BFG) level density
formula this vanishing has been described by a temperature-dependent
pairing parameter \cite{Mustafa.Blann.ea:1992,Junghans.deJong.ea:1998}
for which \citet{Langanke:2006} gives a parametrization on the basis
of the SMMC calculations.  SMMC calculations have been performed for
many mid-mass and heavy nuclei.  These include even-even, odd-A and
odd-odd nuclei, allowing to microscopically test the standard
presription in the BFG level density to describe the systematic
differences in these nuclei due to the pairing effect by a pairing
shift parameter
\citep[e.g.][]{Cowan.Thielemann.Truran:1991,Rauscher.Thielemann:2000}.

Despite these advances, a calculation of level densities for all
nuclei involved in r-process nucleosynthesis is out of scope. However,
these calculations have initiated and guided attempts to extend a
microscopically derived parity dependence into phenomenological level
density formulae like the BFG approach. This is achieved by deriving
the excitation-energy dependent parity ratio in the level density by
the assumption of Poisson distributed independent quasi-particles
combined occupation numbers obtained from the BCS
(Bardeen-Cooper-Schrieffer) model, in this way including pairing
\citep{Alhassid.Bertsch.ea:2000}.  In \citet{Mocelj.Rauscher.ea:2007}
this approach has been applied to the large set of r-process nuclei
(incorporating also a temperature-dependent pairing parameter
suggested from SMMC studies) and its effects on astrophysically
relevant reaction rates was studied in \citet{Loens.Langanke.ea:2008}.
This improved level density description is part of the statistical
model packages NON-SMOKER and SMARAGD developed by Rauscher
\cite{Rauscher.Thielemann:2001, Rauscher:2011}.

A different path to derive parity- and angular-momentum-dependent
level densities has been followed by Goriely and co-workers, based on
a combinatorial approach within HFB calculations.  Also this approach
has been incorporated into a statistical model package and applied to
the calculation of neutron capture rates for r-process nuclei within
the Brussels Nuclear Library for Astrophysics Applications (BRUSLIB)\footnote{\url{http://www.astro.ulb.ac.be/bruslib}}
data compilation
\cite{Koning.Hilaire.Goriely:2008,Goriely.Hilaire.Koning:2008,Hilaire.Goriely.ea:2010,Goriely.Hilaire.Girod:2012}.

Traditionally the different $\gamma$-strength functions have been
described by global parametrizations
\cite{Cowan.Thielemann.Truran:1991} which were adjusted to
photo-dissociation for $E1$ transitions or electron scattering data for
$M1$ transitions \citep[e.g.][] {Cowan.Thielemann.Truran:1991}.
Recently $E1$ strength functions became available which were
microscopically calculated for individual nuclei within the framework
of the HFB model \cite{Goriely.Khan:2002,Goriely.Khan.Samyn:2004} or
based on the relativistic mean field model
\cite{Litvinova.Loens.ea:2009}.  These calculations support the
presence of enhanced dipole strength at energies just above the
neutron threshold.  Experimentally such enhanced strength is observed
as `pygmy dipole strength' in nuclei with large neutron excess, like
those involved in r-process nucleosynthesis
\cite{Adrich.Klimkiewicz.ea:2005}.  As shown in \citet{Goriely:1998}
this enhanced dipole strength can have significant impact on neutron
capture cross sections.

Dipole $\gamma$-strength functions determined from particle-$\gamma$
coincidence data in neutron pick-up and inelastic scattering data for
several mid-mass nuclei exhibit a remarkable upbend of the strength
towards $E_\gamma =0$
\citep[e.g.][]{Guttormsen.Chankova.ea:2005,Larsen.Chankova.ea:2006,Larsen.Guttormsen.ea:2007}. The
data also allow for the derivation of the nuclear level density,
making a few assumptions \citep[the Oslo
method,][]{Schiller.Bergholt.ea:2000} (see
section~\ref{sec:neutr-capt-neutr}). The impact of this upbend on
neutron capture rates for r-process nuclei has been studied in
\cite{Larsen.Goriely:2010,Larsen.Goriely.ea:2015} and a potential
increase of the capture rate by up to two orders of magnitude has been
calculated.  The origin of the low-energy upbend has yet not been
completely identified.  Coherent adding of magnetic moments of
high-$j$ orbitals has been suggested as a possible mechanism for
low-energy $M1$ enhancement
\cite{Schwengner.Frauendorf.Larsen:2013,Brown.Larsen:2014,Schwengner.Frauendorf.Brown:2017},
while a low-energy upbend in the $E1$ strength was obtained within
finite-temperature relativistic QRPA calculations~\cite{Litvinova.Belov:2013}. An upbend in the $M1$ strength function has
also been found in large-scale shell model calculations for selected
$pf$-shell nuclei \cite{Sieja:2017} and
$A\gtrsim 100$~\cite{Sieja:2018}. \citet{Goriely.Hilaire.ea:2018} have
performed large scale calculations of $E1$ and $M1$ strength functions
by a combination of shell-model and Gogny-HFB+QRPA calculations.

Several general questions regarding basic assumptions made in
statistical model evaluations of capture rates have been addressed in
large-scale shell model calculations of the $M1$ strength functions for
several mid-mass nuclei \citep[similar studies for $E1$ transitions are
yet prohibited by computing limitations as they require the inclusion
of two major shells,][]{Loens.Langanke.ea:2012}. The results are
briefly summarized as: a) The shell-model $M1$ strength functions turned
out to give smaller cross sections than the usually adopted
parametrizations; b) the scissors mode, a fundamental orbital $M1$
excitation observed in deformed nuclei at low energies
\cite{Bohle.Richter.ea:1984}, might lead to a noticeable enhancement
of the capture rates; c) the assumption of the Brink hypothesis, i.e.\
the strength function is the same for all nuclear states
\cite{Brink:1955,Brink:1957} is only valid with moderate accuracy; and
d) the cross section calculated microscopically by a state-by-state
approach had the largest contribution from a single state with $M1$
excitations just in the Gamow window.  Such a nuclear structure effect
cannot be caught by any global parametrization.  The potential impact
of the $M1$ scissors mode on r-process neutron capture cross sections
has subsequently been revisited by \citet{Mumpower.Kawano.ea:2017}.

The transmission coefficients required in statistical model
calculations of astrophysical rates
\cite{Cowan.Thielemann.Truran:1991,Rauscher.Thielemann:2000} are
calculated on the basis of global optical potentials. For the proton
and neutron potentials several rather reliable potentials exist
\citep[e.g.,][]{Jeukenne.Lejeune.Mahaux:1977,Bauge.Delaroche.Girod:2001,
  Koning.Delaroche:2003,Goriely.Delaroche:2007}.  The situation is
different for the $\alpha$-optical potential. Although several global
potentials exist
\citep[e.g.,][]{McFadden.Satchler:1966,Demetriou.Grama.Goriely:2002,
  Demetriou.Grama.Goriely:2003,Kiss.Mohr.ea:2009,Mohr.Kiss.ea:2013},
none of them is able to consistently describe the existing data at low
energies in statistical model approaches.  Using $^{64}$Zn as an
example, \citet{Mohr.Gyurku.Fulop:2017} explores the sensitivity of
the $\alpha$-induced reaction cross section to the variation of
different alpha optical potential (and other parameters in the
statistical model).  Attempts have been made to cure the
problem. Rauscher suggested that the consideration of Coulomb
excitation leads to a better agreement with data
\cite{Rauscher:2013}. In \citet{Demetriou.Grama.Goriely:2002} it was
shown that a modified imaginary part of the optical potential can
improve the reproduction of experimental reaction data at low
energies.  Based on a large set of $\alpha$-induced reaction data at
sub-Coulomb energies
\citet{Avrigeanu.Avrigeanu.Manailescu:2014,Avrigeanu.Avrigeanu:2015}
have presented a global $\alpha$-optical potential for nuclei in the
mass range $45 \leq A \leq 209$.

\subsection{Fission}
\label{sec:fission}

Fission plays an important role in the r~process, in particular within
the NS-NS merger scenario. Fission determines the region of the
nuclear chart at which the flow of neutron captures and beta decays
stop
\cite{Thielemann.Metzinger.Klapdor:1983,Petermann.Langanke.ea:2012,Giuliani.Martinez-Pinedo.Robledo:2018}. In
the particular case of dynamic cold ejecta from mergers, several
fission cycles are expected to operate before all neutrons are used
\cite{Korobkin.Rosswog.ea:2012,Goriely:2015,Goriely.Martinez-Pinedo:2015}.
Fission has been suggested to be responsible for producing a robust
r-process pattern
\cite{Korobkin.Rosswog.ea:2012,Rosswog.Korobkin.ea:2014,Goriely:2015},
in which the abundances of nuclei with $A \lesssim 140$ are determined
during the r-process freeze-out from the fission yields of nuclei with
$A\lesssim 280$~\cite[see][and
Fig.~\ref{fig:freezeevol}]{Mendoza-Temis.Wu.ea:2015}.

The description of fission for r-process nuclei is very challenging as
it sensitively depends on the knowledge of the fission barriers for a
broad range of very neutron-rich nuclei.  In addition, the evolution
of the shell structure as function of neutron excess is very
uncertain. Several competing reaction channels need to be modelled,
including neutron capture, neutron-induced fission, beta decay,
$\beta$-delayed fission, spontaneous fission, alpha decay and
gamma-induced fission. Hence, parallel to the calculation of fission
barriers one has to develop models for all these different reaction
channels.  Several studies have computed barriers for r-process nuclei
\cite{Howard.Moeller:1980,Myers.Swiatecki:1999,Mamdouh.Pearson.ea:2001,
  Goriely.Hilaire.ea:2009,Erler.Langanke.ea:2012,Moeller.Sierk.ea:2015}. It
has been shown that the dominating fission channel during r-process
nucleosynthesis is neutron-induced fission~\citep{Panov.Kolbe.ea:2005,Martinez-Pinedo.Mocelj.ea:2007,Petermann.Langanke.ea:2012}.
However, the necessary reaction rates have been computed for a
strongly limited set of barriers
\cite{Thielemann.Cameron.Cowan:1989,Panov.Kolbe.ea:2005,Goriely.Hilaire.ea:2009,Panov.Korneev.ea:2010}.
This hinders studies of the sensitivity of the r-process abundances to
the fission barriers. Due to the dominance of neutron-induced fission,
the fission barrier itself is the most important quantity for the
determination of reliable fission rates, as the fission process occurs
at energies just above the fission barrier. In this case, the inertial
mass parameter plays a minor role as tunneling through the barrier has
only a negligible contribution. This fact, however, simplifies
calculations considerably as the calculation of the inertial mass
parameter is rather challenging
\cite{Sadhukhan.Mazurek.ea:2013,Giuliani.Robledo.Rodriguez-Guzman:2014,Giuliani.Martinez-Pinedo.Robledo:2018}.

In addition to the description of the different fission reaction
channels, also the corresponding fission yields, which depend on the
excitation energies of the compound nucleus
\cite{kelic08,Kelic.Valentina.Schmidt:2009,Schmidt.Jurado.ea:2016,Sadhukhan.Nazarewicz.Schunck:2016,Zhang.Schuetrumpf.Nazarewicz:2016,Schmitt.Schmidt.Jurado:2018,Schmidt.Jurado:2018},
have to be known for r-process simulations. As discussed above, the
fission yields determine the abundance of r-process elements in the
second r-process peak and above and can play an important role for
abundance distribution of rare-earth elements
\cite{Bengtsson.Howard:1975,Steinberg.Wilkins:1978,panov08,Goriely.Sida.ea:2013,Eichler.Arcones.ea:2015,Vassh.Vogt.ea:2018}.

It should be emphasized that during the last phase of the r-process
alpha decays compete with fission. This competition determines the
final abundances of Pb, U and Th and of long-lived
actinides. Consequently, an improved description of transuranic
nuclides is necessary for the determination of the r-process
abundances produced in the dynamic ejecta from neutron star mergers,
with important consequences for the kilonova
lightcurves~\citep{Hotokezaka.Wanajo.ea:2016,barnes16,Rosswog.Feindt.ea:2017,Zhu.Wollaeger.ea:2018,Wanajo:2018,Wu.Barnes.ea:2018}.

\subsection{Nuclear Equation of State}
Most environments expected to be sites of a strong r~process involve
objects at highest densities, whether related to core-collapse,
compact binary mergers, or the inner areas of black hole accretion
disks. The nuclear and supra-nuclear equation of state is of highest
importance for modelling these sites, providing the pressure response
during dynamic phases, the nuclear and particle composition, the
existence of electron/positron pairs and their degeneracy, and last
but not least determining maximum neutron star masses, which are
important e.g.\ for answering the question whether in compact binary
mergers a hypermassive neutron star lives for period or remains as a
final outcome.  The recent discovery of massive $\sim 2$~M$_\odot$
neutron
stars~\citep{Demorest.Pennucci.ea:2010,Antoniadis.Freire.ea:2013} had
a major impact. Thus, simulations of neutron-star mergers and
core-collapse supernovae are quite sensitive to the adopted Equation
of State (EoS), particularly its stiffness, mainly related to the
symmetry energy \citep[for some recent literature see
e.g.,][]{Lattimer:2012,Hebeler.Lattimer.ea:2013,Steiner.Hempel.Fischer:2013,Lattimer:2014,Fischer.Hempel.ea:2014,Baldo.Burgio:2016,Steiner.Lattimer.ea:2016,Oezel.Freire:2016,Lattimer.Prakash:2016}.
\citet{Oertel.Hempel.ea:2017} give an excellent overview about the
various EoS implementations available, as well as the
experimental nuclear and astronomical constraints.

\section{Astrophysical Sites and their ejecta composition}
\label{sec:astr-sites-their}

In section~\ref{sec:intr-hist-revi} we have whetted the appetite
already by mentioning possible sources/sites for the origin of the
heavy r-process elements. Section~\ref{sec:basic-working} has
discussed the optimal conditions that any astrophysical site should
attain in order to produce r-process nuclei. They reduce to particular
combinations of entropy, expansion time scale, and $Y_e$ in the
ejecta. As a minimum requirement the ejecta should be characterized by
a high neutron-to-seed nuclei ratio. This is certainly the case for
neutron-rich matter, pointing naturally to neutron stars as an
important reservoir of neutrons. However, ejecting material from the
deep gravitational field of a neutron star requires a cataclysmic
event.  Thus could be either associated to the birth of a neutron star
in a supernova explosion or to ejecta from a compact binary merger
involving a neutron star. This leads logically to the most promising
sites for a strong r~process: (i) The innermost ejecta of regular
core-collapse supernovae. But opposite to initial expectations
\citep[e.g.][]{Hillebrandt.Kodama.Takahashi:1976}, the ejecta of a
neutrino-driven core-collapse supernova are not very
neutron-rich. However, for high entropies high neutron-to-seed ratios
could be obtained, permitting a strong r~process
\citep{Woosley.Wilson.ea:1994,Takahashi.Witti.Janka:1994,hoffman.woosley.qian:1997,Qian.Wasserburg:2007,Farouqi.Kratz.ea:2010,Roberts.Reddy.Shen:2012,Martinez-Pinedo.Fischer.ea:2012,Arcones.Thielemann:2013,Martinez-Pinedo.Fischer.Huther:2014,mirizzi15,Fischer.Martinez-Pinedo.ea:2018}.
(ii) A special class of core collapse supernovae (magneto-rotational
MHD-jet supernovae or collapsars), with fast rotation and high
magnetic fields responsible for their explosion mechanism, can come
with neutron-rich jet ejecta along the poles or from accretion disk
outflows
\citep{fujimoto06,fujimoto07,Fujimoto.Nishimura.Hashimoto:2008,Ono.Hashimoto.ea:2012,Winteler.Kaeppeli.ea:2012,Moesta.Richers.ea:2014,Nishimura.Takiwaki.Thielemann:2015,Moesta.ea:2015,Shibagaki.Kajino.ea:2016,Nishimura.Sawai.ea:2017,moesta18,halevi18,Siegel.Barnes.Metzger:2018}.
(iii) Ejecta from binary neutron star mergers are naturally
neutron-rich
\citep{Lattimer.Schramm:1974,lattimer76,Eichler.Livio.ea:1989,Freiburghaus.Rosswog.Thielemann:1999,nishimura06,Korobkin.Rosswog.ea:2012,Bauswein.Goriely.Janka:2013,Wanajo.Sekiguchi.ea:2014,Just.Bauswein.ea:2015,Eichler.Arcones.ea:2015,Goriely:2015,Ramirez-Ruiz.Trenti.ea:2015,Mendoza-Temis.Wu.ea:2015,Shibagaki.Kajino.ea:2016,just16,Radice.Galeazzi.Lippuner.ea:2016,Wu.Fernandez.Martinez.ea:2016,Rosswog.Feindt.ea:2017,Lippuner.Fernandez.Roberts.ea:2017,Siegel.Metzger:2017,Bovard.Martin.ea:2017,Baiotti.Rezzolla:2017,Thielemann.Eichler.ea:2017},
all predicted before the observation of GW170817.

A common feature of these scenarios is that matter reaches such high
temperatures that neutrinos become the main cooling mechanism. Those
neutrinos and in particular electron flavor neutrinos can interact
with the ejecta and reset the composition that is commonly determined
by a balance between the following reactions:

\begin{eqnarray}
  \nu_e + n & \rightleftarrows &p+ e^- \\
  \bar\nu_e + p& \rightleftarrows &n+ e^+.
\end{eqnarray}

In the case of neutrino-driven winds and potentially also for neutron
star mergers ejecta, the material is subject long enough to the
processes above to reach an equilibrium between neutrino and
antineutrino
captures~\citep{Qian.Woosley:1996,Martinez-Pinedo.Fischer.ea:2016},
resulting in

\begin{equation}
  \label{eq:yeeq}
  Y_e=  Y_{e,\text{eq}} = \left[1+\frac{L_{\bar{\nu}_e}
      W_{\bar{\nu}_e}}{L_{\nu_e}W_{\nu_e}} \frac{\varepsilon_{\bar{\nu}_e} - 2
      \Delta + \Delta^2/\langle
      E_{\bar{\nu}_e}\rangle}{\varepsilon_{\nu_e} + 2 \Delta + \Delta^2/\langle
      E_{\nu_e}\rangle}\right]^{-1}.
\end{equation}
with $L_{\nu_e}$ and $L_{\bar{\nu}_e}$ being the neutrino and
antineutrino luminosities,
$\varepsilon_{\nu} = \langle E_\nu^2\rangle/\langle E_\nu\rangle$ the
ratio between the second moment of the neutrino spectrum and the
average neutrino energy (similarly for antineutrinos),
$\Delta = 1.2933$~MeV the neutron-proton mass difference, and
$W_{\nu} \approx 1+1.01 \langle E_\nu \rangle/(m_n c^2)$,
$W_{\bar{\nu}} \approx 1-7.22 \langle E_{\bar{\nu}} \rangle/(m_n c^2)$
the weak-magnetism correction to the cross sections for neutrino and
antineutrino absorption~\citep{Horowitz:2002} with $m_n$ the nucleon
mass.

These reactions turn matter neutron-rich provided the following
condition is fulfilled:

\begin{equation}
  \label{eq:nrichcond}
  \varepsilon_{\bar{\nu}_e} - \varepsilon_{\nu_e} > 4\Delta -
  \left[\frac{L_{\bar{\nu}_e} W_{\bar{\nu}_e}}{L_{\nu_e}W_{\nu_e}}-1\right]
  (\varepsilon_{\bar{\nu}_e}-2\Delta).
\end{equation}

\begin{figure*}[htb]
  \centering \includegraphics[width=0.53\linewidth]{lumi-e.pdf}%
  \hspace{0.02\linewidth}%
  \includegraphics[width=0.45\linewidth]{mergers-l-e.pdf}
  \caption{(left panel) Evolution of the luminosities and average
    energies of neutrinos emitted during the protoneutron star cooling
    phase following a core-collapse supernova explosion \citep[adapted
    from][]{Martinez-Pinedo.Fischer.Huther:2014}. (right panel)
    Luminosities and average energies of neutrinos emitted after a
    NS-NS merger that forms and hypermassive neutron star surrounded
    by an accretion disk. \citep[based on the simulations
    from][courtesy of Albino
    Perego]{Perego.Yasin.Arcones:2017}. \label{fig:lumi-e}}
\end{figure*}

One should keep in mind an important difference between neutrino
emission from protoneutron stars formed in core-collapse supernovae
and the emission from a neutron-star merger remnant (see
Fig.~\ref{fig:lumi-e}). In the supernova case, we deal with the
deleptonization of a hot neutron star and consequently we expect
slightly higher fluxes for $\nu_e$'s than $\bar\nu_e$'s. However, due
to the fact that the $\bar\nu_e$ spectrum is slightly hotter than the
$\nu_e$ spectrum, the luminosities of both flavors are rather
similar. According to Eq.~\eqref{eq:nrichcond} this implies that the
average energies between $\bar\nu_e$ and $\nu_e$ should differ by at
least $4\Delta \approx 5.2$~MeV. Such large differences are not
reached in any modern neutrino-wind
simulation~\cite{huedepohl10,fischer10,Martinez-Pinedo.Fischer.ea:2012,Roberts.Reddy.Shen:2012,Martinez-Pinedo.Fischer.Huther:2014,mirizzi15}. In
the case of a neutron star merger the initial configuration
corresponds to a cold very neutron-rich neutron star. Due to the
merger dynamics the final merger remnant and accretion disk is heated
to large temperatures. The large temperatures favor the production of
electron-positron pairs and the material tends to protonize towards
the new equilibrium $Y_e$ on timescales of hundreds of ms as
determined by the weak interaction timescale in matter affected by
neutrino interactions
\citep{Beloborodov:2003,Arcones.Martinez-Pinedo.ea:2010}. During this
phase the luminosities and average energies of $\bar\nu_e$ are much
larger than those of $\nu_e$ (see right panels of
Fig.~\ref{fig:lumi-e}), reducing the required energy difference of
Eq.~(\ref{eq:nrichcond}). Hence, even if the impact of neutrino
process in mergers is expected to be
substantial~\cite{Wanajo.Sekiguchi.ea:2014,perego14,sekiguchi15,martin15,sekiguchi16,Foucart.Oconnor.ea:2016,Martin.Perego.ea:2018}
the (late) ejecta affected by neutrino interactions are expected to be
still neutron-rich enough to produce a (weak) r~process, while early
dynamic ejecta, emerging from spiral arms after the collision, stay in
any case very neutron-rich and lead to a strong r~process.

There is also an important difference between the nucleosynthesis
operated in neutrino heated ejecta for supernova and mergers. In the
supernova case, due to the high entropies and moderate electron
fractions the material suffers an $\alpha$-rich freeze-out (see
Fig.~\ref{fig_far1}). Under this conditions, if the material is
subject to strong neutrino fluxes during the phase of alpha formation,
the so-called $\alpha$-effect~\cite{Meyer.Mclaughlin.Fuller:1998} will
drive the composition to $Y_e \approx 0.5$, hindering the occurrence
of an r~process. In the case of merger ejecta due to the more moderate
entropies no alpha formation takes place for $Y_e \lesssim 0.45$ (see
Fig.~\ref{fig:atevol}) and hence the $\alpha$-effect plays no role.

The discussion above neglects neutrino flavor transformations and
their impact on the $Y_e$ of the ejected material. In the supernova
case, the very similar spectra for all neutrino flavors hinders the
impact of neutrino active-active flavor transformations~\citep[see
e.g.][]{Wu.Qian.ea:2015}. Active-sterile transformations, involving
sterile neutrinos on the eV mass scale, as suggested by the
reactor~\cite{Mention.Fechner.ea:2011} and
Gallium~\cite{Giunti.Laveder.ea:2012} anomalies, tend to drive the
composition more
neutron-rich~\citep{Nunokawa.Peltoniemi.ea:1997,Mclaughlin.Fetter.ea:1999,Wu.Fischer.ea:2014,Pllumbi.Tamborra.ea:2015}. As
discussed above in the case of mergers the $\bar\nu_e$ fluxes dominate
over those of $\nu_e$. Hence, the neutrino self-interaction potential
has a different sign than the neutrino matter potential in the
Hamiltonian that describes flavor transformations. This induces
conversions via matter-neutrino
resonances~\cite{malkus12,foucart15,malkus16,zhu16,frensel17} and fast
pairwise conversions~\cite{Wu.Tamborra:2017,Wu.Tamborra.ea:2017}. The
existing investigations clearly point to a potential impact on $Y_e$
and thus on the resulting nucleosynthesis.

After this general outline, disussing in detail how weak interactions
are setting the stage for the resulting $Y_e$ (and entropy), being the
dominant criteria for the operation of an r~process, we want to go
through environments/sites suggested so far in a more detailed way
than in the introduction. However, we want to leave out the r~process
in He-layers, initiated by $^{13}\text{C}(\alpha,n){}^{16}$O reactions
but ruled out since realistic stellar models are in existence
\citep{Woosley.Heger.Weaver:2002}, and straight forward assumptions of
neutron-rich ejecta from the collapsed core of a massive star
\citep[e.g.][]{Hillebrandt.Kodama.Takahashi:1976}, ruled out since the
neutrino-powered explosion mechnism has been established
\citep{Bethe:1990}. Here we will pass through suggested sites related
either to massive stars or compact objects in binary systems.

\subsection{Possible r-process sites related to massive stars}

\subsubsection{Neutrino winds from core-collapse supernovae}
\label{sec:neutrino-winds-from}

Supernovae have been thought to be the origin of the strong r~process
for many years, with the intrinsic expectation that the innermost
ejecta, coming from regions close to the neutron star, should be
neutron-rich \citep[see e.g.\ the reviews
by][]{Cowan.Thielemann.Truran:1991,sumiyoshi01,arnould07}. While the
prompt explosion mechanism has been shown to fail \citep{Bethe:1990},
the development of multidimensional neutrino radiation transport
simulations has shown that the neutrino delayed explosion mechanism
remains the most promising scenario to explain the
observations~\citep[see][for
reviews]{Kotake.Sumiyoshi.ea:2012,Burrows:2013,Foglizzo.Kazeroni.ea:2015,Janka.Melson.Summa:2016,Mueller:2016,Hix.Lentz.ea:2016,Janka:2017a,Burrows.Vartanyan.ea:2018,Cabezon.Pan.ea:2018}. These
simulations predict that after the onset of the supernova explosion
the hot proto-neutron star enters the so-called Kelvin-Helmholtz
cooling phase. During this phase that lasts around 10~s, the
proto-neutron star deleptonizes, emitting neutrinos of all
flavors. Those neutrinos are responsible of producing an outflow of
matter known as neutrino-driven
wind~\citep{Duncan.Shapiro.Wasserman:1986} that is expected to operate
in each supernova explosion that produces a neutron star. The basic
properties of the wind are well understood, based on semianalitical
models~\citep{Duncan.Shapiro.Wasserman:1986,Qian.Woosley:1996,hoffman.woosley.qian:1997,Thompson.Burrows.Meyer:2001,Otsuki.Tagoshi.ea:2000,Arcones.Thielemann:2013}. These
models relate the nucleosynthesis relevant conditions (see
sect.~\ref{sec:how-obtain-required}) to fundamental properties
including neutrino luminosities, average energy, and mass and radius
of the proto-neutron star. Early simulations and parametric
models~\cite{woosley92,meyer92,Woosley.Wilson.ea:1994,Witti.Janka.Takahashi:1994,Takahashi.Witti.Janka:1994,Freiburghaus.Rembges.ea:1999,Farouqi.Kratz.ea:2010,Arcones.Martinez-Pinedo:2011,kratz14}
led to impressive results. However, large uncertainties remained,
particularly in the determination of entropy and
$Y_e$. Fig.~\ref{fig_kl2}, taken from \citet{kratz14}, shows a close
to excellent fit to solar r-process abundances, especially when
utilizing modern input from nuclear mass models, but also requiring a
superposition of entropies of up to 280~$k_B$ per baryon (and a
$Y_e<0.5$).
\begin{figure}[htb]

  \includegraphics[width=\linewidth]{fig_kratz2}

  \caption{Results from an r-process calculation, assuming an initial
    $Y_e$ of 0.45, the adiabatic expansion of matter in a so-called
    neutrino wind with a given expansion speed $v_{exp}$ of ejected
    mass shells, and that a superposition of entropies $S$ between 120
    and 280 $k_B$/baryon can be attained. The abundance plot assumes
    that similar amounts of matter are ejected per entropy interval
    and indicates the changes which occur due to utilizing an improved
    nuclear mass model \citep{moeller12,moeller15}.  \label{fig_kl2}}
\end{figure}

\begin{figure}[htb]
  \centering \includegraphics[width=\linewidth]{abund-ndw.pdf}
  \caption{Isotopic abundances relative to solar abundances of nuclei
    produced in neutrino driven winds~\citep[adapted
    from][]{Martinez-Pinedo.Fischer.Huther:2014}.\label{fig:nucwind}}
\end{figure}

The development of hydrodynamics
simulations~\citep{Arcones.Janka.Scheck:2007,Arcones.Janka:2011}
showed that such high entropies were out of reach. Nevertheless, they
still allowed for the occurrence of a weak
r~process~\citep{Roberts.Woosley.Hoffman:2010,Arcones.Montes:2011}. Further
progress, including the development of neutrino radiation
hydrodynamics simulations that follow the whole cooling
phase~\citep{huedepohl10,fischer10,Roberts:2012}, improvements in the
treatment of neutrino opacities in the decoupling
region~\cite{Martinez-Pinedo.Fischer.ea:2012,Roberts.Reddy.Shen:2012,Horowitz.Shen.ea:2012,Rrapaj.Holt.ea:2015,Janka:2016,Roberts.Reddy:2017,Martinez-Pinedo.Fischer.Huther:2014,Bollig.Janka.ea:2017,Fischer.Martinez-Pinedo.ea:2018},
and the treatment of convection in the proto-neutron
star~\cite{Roberts.Shen.ea:2012,mirizzi15b} have shown that most or
all of the ejecta are proton-rich. Under these conditions the
nucleosynthesis proceeds via the $\nu p$
process~\cite{Froehlich.Martinez-Pinedo.ea:2006,Pruet.Hoffman.ea:2006,Wanajo:2006},
producing neutron deficient isotopes, including light p-process nuclei
like $^{92}$Mo, as illustrated in
Fig.~\ref{fig:nucwind}~\citep[see][]{Martinez-Pinedo.Fischer.Huther:2014,Pllumbi.Tamborra.ea:2015,Wanajo.Mueller.ea:2018,Eichler.Nakamura.ea:2018}.

The above result can be understood by considering that in neutrino
driven winds matter is ejected by neutrino energy deposition and is
subject to neutrino reactions for sufficient amounts, permitting $Y_e$
to attain the equilibrium value given in Eq.~\eqref{eq:yeeq}. For the
very similar spectra of $\nu_e$ and $\bar\nu_e$ (see
Fig.~\ref{fig:lumi-e}) predicted by modern simulations, this results
in proton-rich ejecta. These results are robust against the inclusion
of neutrino flavor transformations between active
flavors~\cite{Wu.Qian.ea:2015,Pllumbi.Tamborra.ea:2015} but may be
affected by the active-sterile flavor
transformations~\cite{Wu.Fischer.ea:2014,Pllumbi.Tamborra.ea:2015}.

\subsubsection{Electron-capture supernovae}
A way out of the problem that neutrino irradition is turning matter
proton-rich is by considering matter that is ejected promptly with
little exposure to neutrinos. This occurs in the so-called
electron-capture supernovae in the stellar mass range 8-10 M$_\odot$
\citep{jones14}, which could lead to a weak r
process~\citep{Kitaura.Janka.Hillebrandt:2006,Janka.Mueller.ea:2008,Wanajo.Nomoto.ea:2009,Wanajo.Janka.Mueller:2011},
possibly producing nuclei up to Eu, but not up to and beyond the third
r-process peak~\citep[for more details see][]{mirizzi15b}. However,
there are strong indications based on multidimensional hydrodynamic
simulations of the oxygen deflagration~\cite{Jones.Roepke.ea:2016} and
nuclear physics data on the electron capture rate on
$^{20}$Ne~\citep{Kirsebom.Jones.ea:2019} that intermediate mass stars
may end their lives as a thermonuclear supernova triggered by electron
captures on $^{20}$Ne~\citep[see][for a recent
review]{Nomoto.Leung:2017b}.

\subsubsection{Neutrino-induced r~process in the He-shell}
One of the major requirements for an r~process to take place is to
attain a sufficiently high neutron-to-seed ratio. As already discussed
above for the high entropy wind, this can also be achieved via a
(very) low seed abundance.  \citet{Banerjee.Haxton.Qian:2011} and
\citet{Banerjee.Qian.ea:2016}, following on an idea
by~\citet{Epstein.Colgate.Haxton:1988}, could show that for
core-collapse supernovae with metallicities as low as
$\text{[Fe/H]}\leq 3$, i.e.\ indicating a very low seed abundance, the
neutrons released in the He-shell by $^4$He$(\bar\nu_e, e^+n)^3$H can
be captured to produce nuclei with mass numbers up to $A=200$ in the
stellar mass range of 11--15~M$_\odot$. The caveat of this environment
is, that while a sufficiently high neutron-to-seed ratio permits the
production of heavy nuclei via neutron captures, the relatively low
neutron density $n_n$ leads to a larger $S_n$ for the maximum in each
isotopic chain (with ${Y(Z,A+1)/Y(Z,A)}\approx 1$, see Eq.~\ref{Sn})
and thus a process path closer to stability than for a regular
r~process (see the discussion in~\ref{sec:special-features-r}). Such a
path, in between an r-process and an s-process path leads to abundance
peaks shifted to higher masses numbers than found for the solar
r-abundances. Thus, such a process cannot be an explanation for solar
as well as the r-process abundance patterns observed in
low-metallicity stars.

\subsubsection{Quark deconfinement supernovae}
This suggested scenario considers objects which undergo core collapse
at the end of their evolution and form a central compact proto-neutron
star, but the neutrino emission from the hot proto-neutron star and
accreted matter is not sufficient to prevent a further collapse with
ongoing mass accretion. The question is whether this second collapse
leads directly to black hole formation or can come to a halt
\citep{Fischer.Bastian.ea:2018}.  A specific equation of state effect
was initially introduced by \cite{sagert09,Fischer.Sagert.ea:2011},
with a quark-hadron phase transition taking place just at the
appropriate density/temperature conditions.  When adjusting the
equation of state properties to presently observed maximum neutron
star masses, \citet{Fischer.Wu.ea:2018} could show that in such
supernovae explosions, expected for a certain stellar mass range, an r
process can take place.  When examining their results, they show that
abundance up to the third r-process peak can be obtained, however, the
abundances beyond the second r-process peak show a subsolar
behavior. Thus, while there remains hope that core-collapse supernovae
can produce r-process elements, they probably do not support a
solar-type r~process up to the third r-process peak.

\subsubsection{Magneto-rotational supernovae with jets}
\label{sec:magn-rotat-supern}

Core-collapse with fast rotation and strong magnetic fields is
considered to lead to neutron stars with extremely high magnetic
fields of the order $10^{15}$G \citep[magnetars, see
e.g.][]{Duncan.Thompson:1992,Kramer:2009,Kaspi.Belobodorov:2017} and
connected to a special class of supernovae
\citep{Kasen.Bildsten:2010,greiner15,Nicholl.ea:2017}.  Such
supernovae, induced by strong magnetic fields and/or fast rotation of
the stellar core, i.e., magneto-hydrodynamic supernovae (MHD-SNe), are
considered to provide an alternative and robust astronomical source
for the r~process \citep{symbalisty85}. Nucleosynthetic studies were
carried out by \citet{nishimura06}, based on adiabatic MHD simulations
which exhibited a successful r~process in jet-like explosions.
One important question is whether these earlier results, assuming axis
symmetry, also hold in full three-dimensional (3D) simulations, i.e.,
lead to the ejection of jets along the polar axis. 3D MHD simulations
with an improved treatment of neutrino physics were performed by
\citet{Winteler.Kaeppeli.ea:2012} for a 15~M$_\odot$ progenitor,
utilizing an initial dipole magnetic field of $5\times 10^{12}$ G and
a ratio of magnetic to gravitational binding energy,
$E_{mag} / W = 2.63 \times 10^{-8}$.  These calculations supported and
confirmed the ejection of polar jets in 3D, attaining magnetic fields
of the order $5\times 10^{15}$ G and $E_{mag}/ W = 3.02\times 10^{-4}$
at core-bounce, with a successful r~process up to and beyond the third
r-process peak at $A=195$~\citep[see e.g.][and
Fig.~\ref{fig_mhd}]{Winteler.Kaeppeli.ea:2012}.

\begin{figure}[htb]

  \centering
  \includegraphics[width=0.6\linewidth]{fig_kaeppeli1}\\
  \includegraphics[width=\linewidth]{fig_kaeppeli2}

  %

  \caption{In an MHD-jet supernova the winding up of magnetic field
    lines causes the "squeezing-out" of polar jets, along the rotation
    axis \citep{Winteler.Kaeppeli.ea:2012}. This environment leads to
    quite low entropies, much lower than those discussed in
    Fig.~\ref{fig_far1}. But opposite to the $Y_e$-values utilized for
    Fig.~\ref{fig_far1}, the collapse to high densities resulted in
    large amounts of electron captures and $Y_e$-values close to
    0.1-0.15 (see top part of this figure and the right part of
    Fig.~\ref{fig_freiburgf} as well as Fig.~\ref{fig-gabr}). Such low
    $Y_e$'s, similar to neutron star merger conditions (where even
    values as low as 0.03-0.05 can be attained, see next subsection)
    lead also to a strong r~process - even at low entropies - and the
    abundance predictions displayed here in the bottom part result
    \citep[shown for two fission fragment distributions
    utilized][]{kelic08,panov08}. As $Y_e$ is moderately low, the
    effect of late neutron-capture by fission neutrons is also
    moderate, avoiding a final shift of the third r-process peak as
    indicated in Fig.~\ref{fig:freezeevol}.}
  \label{fig_mhd}
\end{figure}

More recent general relativistic simulations in
3D-MHD~\citep{Moesta.Richers.ea:2014}, involving a 25~M$_\odot$
progenitor with an initial magnetic field of $10^{12}$ G, led in the
early phase to jet formation, but experienced afterwards a kink
instability which deformed the jet-like feature.  Possibly the
difference between the two latter investigations in 3D hydrodynamics
marks a transition due to passing critical limits in stellar mass, the
initial rotation, and magnetic fields between a clear jet-like
explosion and a deformed explosion. When we see the time evolution of
jet-like explosions with the hydrodynamic instability \citep[see
results in][]{Moesta.Richers.ea:2014,Moesta.ea:2015}, the region with
the highest magnetic pressure contains essentially the matter
corresponding to the initially forming jets before the
deformation. Further investigations by
\citet{moesta18,Obergaulinger.Just.Aloy:2018} underlined, that very
high magnetic fields are required to avoid such kink instabilities
(and ensure a strong r~process). Further studies by \citet{halevi18}
also analyze the dependence on the alignment between rotation axis and
magnetic fields, where the most aligned cases result in the strongest
r~process.

A number of 2D axissymmetric simulations tested nucleosythesis
features
\citep[e.g.][]{Nishimura.Takiwaki.Thielemann:2015,Shibagaki.Kajino.ea:2016},
the most recent ones also resolving the magnetorotational
\citep{Nishimura.Sawai.ea:2017}.  The latter simulations analyzed a
whole variety of conditions in terms of rotation rates, initial
magnetic fields, and ratios of neutrino luminosities vs.\ magnetic
field strengths, under the assumption that the fields are high enough
in order to avoid kink instabilities. Their study included a series of
long-term explosion simulations, based on special relativistic MHD
\citep{takiwaki09,takiwaki11}, following the amplification of magnetic
fields due to differential rotation (winding of magnetic fields) and
the launch of jet-like explosions. One finds possible outcomes from
prompt-magnetic-jet over delayed-magnetic-jet explosions up to
dominantly neutrino-powered explosions, determined by the ratio of
magnetic field strengths in comparison to neutrino heating. This
causes also a variation of r-process nucleosynthesis results, from
full-blown strong r~process environments (see Fig.~\ref{fig_no2}),
over a weak r~process, not producing nuclei of the third r-process
peak, down to no r~process at all.

A fully self-consistent treatment requires high resolution simulations
which can resolve magneto-rotational instabilities (MRI) and predict
reliably the possible amplificaton of magnetic fields during the
explosion. While the latter is actually possible by now
\citep{Nishimura.Sawai.ea:2017}, present calculations still depend on
the uncertain and therefore assumed initial conditions, that either
cause strong jet ejection or can develop kink instabilities of the
jets. Based on initial conditions, somewhat parametrized in terms of
the impact, either neutrino heating or magnetic pressure is causing
the supernova explosion. The production for heavy neutron capture
elements varies strongly, being either Fe and Zn dominated like in
regular core-collapse SNe or Eu dominated, indicating a strong
r~process. This is shown in Fig.~\ref{fig_no3}.

\begin{figure}[tbh]
  \centering \includegraphics[width=\linewidth]{fig_nob2}
  \caption{Abundances from nucleosynthesis calculations with varying
    ratios of magnetic field strength with respect to the neutrino
    heating mechanims of regular core-collaspe SNe, increasing for the
    models h, i-, i, i+, and m \citep[for details
    see][]{Nishimura.Sawai.ea:2017}. For comparison also (a) solar
    r-process abundances are shown \citep[black dots][]{arlandini99},
    (b) abundances from metal-poor stars with a weak r~process,
    i.e. HD122563 \citep[black dots][]{honda06}, and solar-type
    r-process observations from CS22892-052 \citep[blue
    dots][]{sneden96}.  Abundances are normalized for Z = 40 of
    HD122563. Observations of low metallicity stars with strong
    r-process contributions vary for abundances below Z=50
    \citep{sneden08}.}
  \label{fig_no2}
\end{figure}

In terms of applications to galactic chemical evolution it should be
noticed that the MHD-jet supernovae discussed here are expected to
occur as a fraction of 0.1-1 percent of all core-collapse supernovae,
probably being somewhat metallicity dependent. Higher metallicities
lead to stronger stellar wind loss which will be accompanied by a loss
of angular momentum, thus reducing the fast rotation necessary for
this type of SN explosions. Another feature is that these events can
lead to only small amounts of Fe-group ejecta for the cases of strong
r~processing \citep{nishimura15,Nishimura.Sawai.ea:2017}. As indicated
in Fig.~\ref{fig_no3}, with respect to the relative influence of
neutrino heating vs.\ magnetic field effects, one can see that the
Ni/Eu-ratio (and similarly the Fe/Eu-ratio) varies strongly. Thus, if
these types of supernovae would contribute already at low
metallicities, they alone would be able to provide a large spread in
Eu/Fe and might even explain the variations in actinides vs. Eu, seen
in a number of cases at low metallicities \citep[see
e.g.][]{wehmeyer15,thielemann17a}.

\begin{figure}[tbh]
  \centering \includegraphics[width=\linewidth]{fig_nob3}
  \caption{Nucleosymthesic features of rotating core-collapse SN
    models (h, i-, i, i+, m) with varying ratios of neutrino
    luminosity and magnetic field strengths as in
    Fig.~\ref{fig_no2}. Model m represents a strong MHD-jet
    supernova. One can see the transition from a regular core-collapse
    SN pattern, dominated by $^{56}$Ni, total Fe (after decay), and
    Zn, to a strong r-process pattern with a high Eu abundance
    \citep[for details see][]{Nishimura.Sawai.ea:2017}.}
  \label{fig_no3}
\end{figure}

\subsubsection{Collapsars, Hypernovae, long-duration Gamma-Ray Bursts}

One of the most interesting developments in the study of supernovae
(SNe) is the discovery of some very energetic supernovae \citep[see
e.g.][]{Nomoto.Tominaga.ea:2006}, dubbed hypernovae, whose kinetic
energy \citep[in spherically symmetric analysis, see
also][]{Piran:2004} exceeds $10^{52}$ erg, about 10 times the value of
normal core-collapse SNe ($10^{51}$ erg).  The most luminous and
powerful of these objects, the Type Ic supernova (SN~Ic) 1998bw, was
probably linked to the gamma-ray burst GRB 980425, thus establishing
for the first time a connection between (long-duration) gamma-ray
bursts (lGRBs) and the well-studied phenomenon of core-collapse SNe.
However, SN~1998bw was exceptional, indicating that it synthesized
$\sim 0.5$~M$_\odot$ of $^{56}$Ni with an estimated explosion energy
of $E \sim 3 \times 10^{52}$~erg.

The question is where these events should be placed in the stellar
mass range and which other features should be related. We know that
for non-rotating cases only the (regular) supernova ``branch'' (with
neutron stars as final outcome) can be attained, probably followed
towards increasing stellar mass by a faint or failed supernova branch
(leading eventually to black holes, but not to gamma-ray bursts and
high ejecta masses).  Thus, massive stars, which fail to explode as
supernovae via neutrino-powered explosions, will eventually experience
the formation of a central black hole (BH) \citep[see
e.g.][]{Pan.ea:2018,Kuroda.ea:2018}. However, rotating BHs and the
formation of accretion disks with accretion rates of about
$\approx 0.1$ M$_\odot$~s$^{-1}$ can lead - for certain conditions
(strong magnetic fields) - to long duration gamma-ray bursts (lGRBs)
or hypernovae, also dubbed collapsars as they result from a
core-collapse to the formation of a black hole. Many authors have
contributed to the discovery and shaping of first ideas \citep[for
theoretical explanations see e.g.\ the review by][]{Piran:2004}.  The
collapsar model was proposed by Woosley, MacFadyen and others
\citep[see
also][]{macfadyen99,macfadyen01,nagataki07,sekiguchi11,nagataki11},
based on neutrino heating from the accretion disk and/or the winding
of strong magnetic fields and MHD jets
\citep[e.g.][]{Ono.Hashimoto.ea:2012,mckinney13,Janiuk.Sukova.Palit:2018}. Early
hydrodynamic simulations (injecting explosion energies artificially)
were performed either by introducing high explosion energies (up to
$10^{52}$ erg) in a sperically symmetric way or aspherically in order
to understand jet-like explosions
\citep{Nakamura.Umeda.ea:2001,Nomoto.Tominaga.ea:2006,nomoto13,nomoto17}.

The basic (consensus) picture has been the following: explosion
energies can be found up to $5\times 10^{52}$ erg, $^{56}$Ni ejecta up
to 0.5 M$_\odot$, and there exist relativistic jets responsible for
lGRBs.  Many attempts have been undertaken to model such events. There
exists uncertainty in predicting $Y_e$, due to weak interactions and
especially neutrino transport in disks and jets.  The observational
constraint of high $^{56}$Ni ejecta argues for a dominant $Y_e$ in
matter of the order of 0.5. High explosion energies also lead to high
entropies and a strong $\alpha$-rich freeze-out, including interesting
amounts of $^{45}$Sc, large amounts of $^{64}$Zn (from
$^{64}$Ge-decay), and also other Fe-group elements.
\citet{Nakamura.Umeda.ea:2001} and \citet{nomoto17} concluded that
larger abundance ratios for (Zn, Co, V, Ti)/Fe and smaller (Mn, Cr)/Fe
ratios are expected than for normal SNe, a feature which seems to be
consistent with observations in extremely metal-poor (EMP) stars, as
will be discussed later.

Self-consistent modeling of the complete event, from collapse, black
hole formation, accretion disk modeling, jet ejection, and GRB
occurrence are only forthcoming slowly. There have been investigations
with respect to the role of weak interactions and resulting
nucleosynthesis in the accreation disk and corresponding outflows
\citep[for specific nucleosynthesis results see e.g.][]
{Pruet.Woosley.Hoffman:2003,Beloborodov:2003,
  Pruet.Thompson.Hoffman:2004,surman06,
  Janiuk:2014,Siegel.Metzger:2017,Janiuk:2017,Siegel.Barnes.Metzger:2018}.

\citet{Beloborodov:2003} found conditions for the minimum accretion
rate required, leading to neutron-rich environments with low $Y_e$'s
at a given radius:

\begin{equation}
  \dot{M_n}= 0.0152 \times \left(\frac{r}{3r_g}\right)^{1/2} \left(\frac{\alpha}{0.1}\right)
  \left(\frac{M_{\text{BH}}}{M_\odot}\right)^2\ \text{M}_\odot\ \text{s}^{-1}
\end{equation}

Here $r_g$ is the gravitational Schwarzschild radius, $\alpha$ the
disk viscosity, $M_{BH}$ the mass of the central black hole. I.e.\ for
typical accretions rates of 0.1~M$_\odot$~s$^{-1}$, this can lead to a
low $Y_e$ at small radii in the disk. Larger accretion rates are in
favor of reducing $Y_e$, so are larger BH masses (as the Schwarzschild
$r_g$ radius is linear in $M_{BH}$, an overall power of 3/4 on the BH
mass results).

Fig.~\ref{janiuk1} shows the $Y_e$ distribution obtained by
\citet{Janiuk:2014} as a function of the radius. While the central
parts of the disk experience a low $Y_e$, its value reaches
$Y_e\approx 0.5$ in the outermost regions and even exceeds beyond 0.5
in intermediate regions. If the disk outflow occurs from the outer
regions, this is consistent with the large $^{56}$Ni ejecta (observed
and) found e.g.\ by
\citet{Pruet.Thompson.Hoffman:2004,surman06,Janiuk:2014,Janiuk:2017}.
However, \citet{Pruet.Thompson.Hoffman:2004} also speculated that in
case of strong magnetic fields low $Y_e$ matter can be flung out from
more central regions of the disk along magnetic field lines, possibly
causing r-process production.  Additionally, MHD-driven collapsar
models, involving black hole accretion disk systems
\citep{nagataki07,Fujimoto.Nishimura.Hashimoto:2008,harikae09}, have
argued that the jets produced by the central engine of long duration
gamma-ray-bursts can produce heavy r-process nuclei
\citep{fujimoto07,Fujimoto.Nishimura.Hashimoto:2008,Ono.Hashimoto.ea:2012,Nakamura.Kajino.ea:2015}.
However, it should be mentioned that early studies assumed a quite
simplified treatment of the black hole and the required microphysics.
\citet{Siegel.Metzger:2017,Siegel.Barnes.Metzger:2018,Janiuk:2018},
having performed multi-D MHD simulations for accretion disk outflows,
argue that large amounts, up to ($\approx 1$M$_\odot$) of r-process
material can be ejected.  If this scenario materializes, it would be
sufficient to have about one such event per 10 000 core-collapse
supernovae to explain the solar r-process abundances.

\begin{figure}[tbh]
  \centering \includegraphics[width=\linewidth]{Fig_Ye_new}
  \caption{Radial distribution of $Y_e$ in the disk for different
    accretion rates. $r_g$, the gravitational radius, stands for the
    Schwarzschild radius of the black hole. $Y_e$ indicates very
    neutron-rich conditions deep inside the disk but developes
    aymptotically to values of 0.5 in the outer layers above 100 r$_g$
    from where the nucleosynthesis outflow will occur \citep[from][]
    {Janiuk:2014})}
  \label{janiuk1}
\end{figure}

The open question is whether both, large amounts of $^{56}$Ni expected
for hypernovae as well as r-process ejecta can be produced in the same
event?  \citet{Siegel.Barnes.Metzger:2018} argue that the $^{56}$Ni
would have to come from a preceding supernova explosion phase, leaving
an intermittent neutron star before further accretion causes black
hole formation and a black hole accretion disk.  This brings up the
following questions: (a) At which stellar progenitor masses do we have
a transition from the formation of neutron stars to the formation of
black holes after collapse?  (b) In which transition region are
initially neutron stars formed, causing a regular supernova explosion,
but ongoing accretions leads to a black hole?  (c) For which
progenitor masses are black holes formed directly during collapse and
how can this be observed?  (d) What is the role of rotation and
magnetic fields to cause lGRBs and can we give reliable
nucleosynthesis yields for such events?  (e) Is there a separation in
different types of events, depending on the parameters in (d), leading
either to hypernovae and strong $^{56}$Ni ejecta or systems with a
large outflow of r-process elements?  (f) Are jets and lGRBs occurring
in both types of events?

The scenario suggested by \citet{Siegel.Barnes.Metzger:2018} would
relate to case (b), but it is not clear whether for such a case a
strong supernova explosion with lots of Ni production takes place
before the accretion disk outflows eject r-process material. It could,
however, also be possible that such an event does not cause a
hypernova and only creates r-process outflows. Further observations
will have to constrain such events.

\subsection{Neutron-star and neutron-star / black hole mergers}
\label{sec:neutron-star-neutron}

\begin{figure}[htb]
  \centering \includegraphics[width=\linewidth]{massloss-legends.pdf}
  \caption{Ejection channels in compact binary mergers including
    estimates based on simulations of the ejecta mass, $Y_e$ and
    velocity during the different ejection phases. The NS-NS merger
    system is shown in the upper part including the two possible
    outcomes: a log lived massive neutron star and a hypermassive
    neutron star that collapses to a black hole on a timescale shorter
    than the disk lifetime. The BH-NS merger is shown in the lower
    part.~\citep[Adapted
    from][]{Rosswog.Feindt.ea:2017}\label{fig:cbmmassloss}}
\end{figure}

Neutron stars, postulated by~\citet{Landau:1932} even before the
discovery of the neutron~\citep{Yakovlev.Haensel.ea:2013}, were
predicted as the final fate of massive stars, ending in supernova
events~\citep{baadezwicky34}. Their existence was proven in the 1960's
after the first observations of pulsars~\citep{hewish65}. We have by
now an extensive knowledge of the distribution of neutron star masses
and the underlying equation of state,
\citep[e.g.][]{Lattimer.Prakash:2016,Oezel.Freire:2016,Oertel.Hempel.ea:2017},
with the most precise determinations existing for binary
systems. Shortly after the discovery of the binary pulsar
by~\citet{hulsetaylor75}, with an energy loss in agreement with the
emission of gravitational waves predicted by General Relativity, it
was found that this system would merge in $\sim 10^8$
years~\citep{Weisberg.Huang:2016}. In parallel came the prediction
that neutron star or neutron star - black hole mergers would eject
r-process nuclei~\cite{Lattimer.Schramm:1974,lattimer76,symbalisty82},
followed up by a first detailed analysis of possible abundance
distributions \cite{meyer88}. Later predictions included that such
mergers would be accompanied by neutrino bursts and gamma-ray
bursts~\cite{Eichler.Livio.ea:1989}. The very first and later more
precise estimates of the mass ejection from neutron star mergers in
Newtonian approximation
followed~\cite{davies94,ruffert96,rosswog99,Rosswog.Davies.ea:2000},
together with the very first detailed nucleosynthesis
predictions~\cite{Freiburghaus.Rosswog.Thielemann:1999}.

More recently, extensive investigations have been undertaken with
respect to nucleosynthesis predictions
\citep{panov04,panov08,Goriely.Bauswein.Janka:2011,Korobkin.Rosswog.ea:2012,panov13,Bauswein.Goriely.Janka:2013,Goriely.Sida.ea:2013,hotokezaka13,Rosswog.Korobkin.ea:2014,Wanajo.Sekiguchi.ea:2014,Just.Bauswein.ea:2015,Goriely.Bauswein.ea:2015,perego14,Eichler.Arcones.ea:2015,martin15,Mendoza-Temis.Wu.ea:2015,Ramirez-Ruiz.Trenti.ea:2015,hotokezaka15,Shibagaki.Kajino.ea:2016,just16,Wu.Fernandez.Martinez.ea:2016,Radice.Galeazzi.Lippuner.ea:2016,roberts17,Martin.Perego.ea:2018,Wojczuk.Janiuk:2018,Papenfort.Gold.Rezzolla:2018}.
Initial Newtonian approaches have been replaced with conformally flat
and fully relativistic treatments
\citep[e.g.][]{ruffert96,Shibata.Uryifmmode:2000,Ruffert.Janka:2001,oechslin02,oechslin04,Shibata.Uryifmmode:2006,oechslin07,Shibata.Taniguchi:2011,Bauswein.Janka:2012,Bauswein.Goriely.Janka:2013,hotokezaka13,Wanajo.Sekiguchi.ea:2014,sekiguchi15,sekiguchi16,
  Radice.Galeazzi.Lippuner.ea:2016,Baiotti.Rezzolla:2017,Bovard.Martin.ea:2017,Papenfort.Gold.Rezzolla:2018},
and further followed by the inclusion of magnetic
fields~\cite{Price.Rosswog:2006,Anderson.Hirschmann.ea:2008,Liu.Shapiro.ea:2008,Giacomazzo.Rezzolla.Baiotti:2009,Obergaulinger.Aloy.Mueller:2010,Zrake.Macfadyen:2013,kiuchi15,Giacomazzo.Zrake.ea:2015}
as well as their interplay with
neutrinos~\citep{Palenzuela.Liebling.ea:2015,Guilet.Bauswein.ea:2017}

In parallel to neutron star (NS-NS) mergers also neutron star - black
hole (NS-BH) mergers have been
investigated~\citep[e.g.][]{rosswog05,Shibata.Uryifmmode:2006,Chawla.Anderson.ea:2010,Shibata.Taniguchi:2011,Korobkin.Rosswog.ea:2012,wanajo12,kyutoku13,foucart14,mennekens14,Rosswog.Feindt.ea:2017,Brege.Duez.ea:2018}. Both
NS-NS and NS-BH mergers are accompanied by the formation of a massive
accretion disk surrounding the central compact
object~\citep{Ruffert.Janka.ea:1997}.

From the point of view of r-process nucleosynthesis, simulations
should predict the amount of ejecta, their properties (particularly
$Y_e$), spatial distribution and temporal evolution. In the following,
we discuss the major phases of ejection and the general dependencies
with the merging system. The discussion is mostly based on a
presentation of~\citet{Shibata:2018}. Fig.~\ref{fig:cbmmassloss}
summarizes the main ejection channels in compact binary mergers and
provides summarizes the estimates of ejecta mass, $Y_e$ and velocity
discussed below.

Due to the emission of gravitational waves, that reduces the
eccentricity of the orbit, at times close to coalescence NS-NS systems
are expected to have almost circular orbits and spins much smaller
than the orbital frequency~\citep{Rosswog:2015}. During the
coalescence phase matter is ejected dynamically due to angular
momentum conservation on timescales of milliseconds with mildly
relativistic speed
$v \sim
0.2\text{--}0.4$~c~\citep{rosswog99,Rosswog.Davies.ea:2000,Bauswein.Goriely.Janka:2013,Hotokezaka.Kiuchi.ea:2013a,Palenzuela.Liebling.ea:2015,sekiguchi15,sekiguchi16,Radice.Galeazzi.Lippuner.ea:2016,Foucart.Oconnor.ea:2016}.

The amount of dynamic ejecta and their properties depend on the
compactness of the neutron stars and their mass
ratio~\cite{Bauswein.Goriely.Janka:2013,Hotokezaka.Kiuchi.ea:2013a,Radice.Perego.ea:2018a}. Two
components can be distinguish: cold tidal ejecta in the equatorial
plane and shock heated ejecta originating from the contact interface
with a more isotropic distribution.  Systems with small mass ratios
tend to eject larger amounts of material mainly in the equatorial
region, while for similar mass ratios the shock heated component
dominates~\citep{Bauswein.Goriely.Janka:2013,Hotokezaka.Kiuchi.ea:2013a,Palenzuela.Liebling.ea:2015,Lehner.Liebling.ea:2016}. While
the cold tidal ejecta maintain the original low $Y_e$ of the neutron
star crust from which they are ejected, the shock component is heated
to very large temperatures. This drives electron and positron captures
that contribute to increase $Y_e$ from a very low initial value. As
the material moves away, it is further increased by $\nu_e$ and
$\bar{\nu}_e$
absorption~\citep{Wanajo.Sekiguchi.ea:2014,Goriely.Bauswein.ea:2015,martin15,sekiguchi16,Radice.Galeazzi.Lippuner.ea:2016,Martin.Perego.ea:2018}. The
impact of neutrino absorptions is sensitive to the evolution of the
central remnant~\citep{sekiguchi15} as will be discussed below. The
total amount of dynamic ejecta are in the range
$10^{-4}$--$10^{-2}$~M$_\odot$~\cite{Bauswein.Goriely.Janka:2013,Hotokezaka.Kiuchi.ea:2013a,sekiguchi15,sekiguchi16,Lehner.Liebling.ea:2016,Radice.Perego.ea:2018a}
with an angular mass distribution well approximated by
$F(\theta) = \sin^2\theta$~\citep{Perego.Radice.Bernuzzi:2017} and a
$Y_e$ distribution that can reach up to $Y_e\sim 0.5$ in the polar
region~\citep{Shibata.Fujibayashi.ea:2017,Radice.Perego.ea:2018a}. Magnetohydrodynamic
instabilities, operating during the merger, can produce a third
component denoted as ``viscous-dynamical'' ejecta
by~\citep{Radice.Perego.ea:2018b} with asymptotic velocities extending
up to $\sim 0.8\ c$. Population synthesis
studies~\citep{Belczynski.Oshaughnessy.ea:2008}, formation
studies~\citep{Tauris.Kramer.ea:2017}, pulsar
observations~\citep{Oezel.Freire:2016}, and the gravitational wave
signal from
GW170817~\citep{Abbott.Abbott.ea:2017,De.Finstad.ea:2018,Abbott.Abbott.ea:2018b}
favour binary NS systems with nearly equal-mass stars
$\sim 1.35$~M$_\odot$. For such systems the ejecta are mainly
sensitive to the compactness of the neutron stars. The analysis of the
tidal deformability from the Gravitational Wave observations of
GW170817~\citep{Most.Weih.ea:2018,De.Finstad.ea:2018,Abbott.Abbott.ea:2018a},
the observation of an electromagnetic transient which disfavors a
prompt collapse to a black
hole~\citep{Margalit.Metzger:2017,Bauswein.Just.ea:2017,Shibata.Fujibayashi.ea:2017,Coughlin.Dietrich.ea:2018},
together with nuclear physics
constraints~\citep{Fattoyev.Piekarewicz.Horowitz:2018,Annala.Gorda.ea:2018,Tews.Margueron.Reddy:2018}
favors moderately compact neutron stars with a radius in the range
8.9--13.2~km. In this case, the major source of ejecta is the contact
interface between the neutron
stars~\citep{Bauswein.Goriely.Janka:2013,sekiguchi15,Radice.Perego.ea:2018a}. The
maximum mass of a neutron star has been constrained to
$M_{\text{max}} \lesssim
2.17$~M$_\odot$~\citep{Margalit.Metzger:2017,Shibata.Fujibayashi.ea:2017,Rezzolla.Most.Weih:2018,Ruiz.Shapiro.Tsokaros:2018}
following the observation of GW170817.

In the case of NS-BH systems, in order to eject material it is
necessary that the NS is disrupted before entering the innermost
stable circular orbit of the BH\@. Tidal disruption means that the BH
tidal force is larger than the self-gravity of the NS and requires a
large NS radius, a small BH mass or small BH/NS mass ratio, or a high
spin for the BH\@. Population synthesis studies favor a BH/NS mass
ratio $\sim 7$~\citep{Belczynski.Dominik.ea:2010}. This, together with
the NS radius constraints mentioned above, suggests that mass ejection
will only take place for BH with spin parameter
$\chi = c J/(G M^2) \gtrsim
0.5$~\citep{Foucart.Deaton.ea:2013,Foucart.Deaton.ea:2014,Kyutoku.Ioka.ea:2015,Brege.Duez.ea:2018,Kyutoku.Kiuchi.ea:2018}. The
tidal dynamic ejecta are much more anisotropic than those of NS-NS
mergers. They are mainly concentrated around the orbital plane and
often sweeps out only half of the plane. The ejected mass can reach
$\sim 0.1$~M$_\odot$ with asymptotic velocities of 0.2--0.3~$c$. The
material is very neutron-rich $Y_e \lesssim 0.1$ and not affected by
neutrino
irradiation~\citep{Foucart.Deaton.ea:2014,Kyutoku.Kiuchi.ea:2018}.

An equally common outcome of compact binary mergers is the production
of a rotating torus surrounding the newly-formed central object with a
typical mass of 0.1~M$_\odot$~\citep{Radice.Perego.ea:2018a}. In the
case of BH-NS mergers the central remnant is a BH and we deal with a
neutrino cooled disk that evolves on viscous timescales of
seconds. Such systems have been studied based on $\alpha$-viscosity
prescriptions~\cite{Fernandez.Metzger:2013,fernandez15,Just.Bauswein.ea:2015}
and more recently by three-dimensional General-Relativistic
Magnetohydrodynamic
simulations~\cite{Siegel.Metzger:2017,Siegel.Metzger:2018,Fernandez.Tchekhovskoy.ea:2019}. These
works find that up to 40\% of the disk mass, depending on the BH spin,
is unbound in a quasi-spherical fashion. The electron fraction in the
outflow is in the range $Y_e \sim 0.1$--0.4 with velocities
$v \approx
0.1$~c~\citep{Siegel.Metzger:2018,Fernandez.Tchekhovskoy.ea:2019}. For
the case of NS-NS mergers, the possibilities for the central object
are a stable NS, a long-lived massive neutron star (MNS, i.e.\ a NS
with a mass above the maximum mass for a non-spinning NS and below the
one for a uniformly rotating NS), a hypermassive neutron
star~\citep[HMNS, i.e.\ a NS with a mass above the maximum mass for a
uniformly rotating NS,][]{Baumgarte.Shapiro.Shibata:2000} or a black
hole (BH) depending primarily on the total mass of the binary,
$M_t$~\citep{Hotokezaka.Kiuchi.ea:2013b,Shibata:2018}. If $M_t$
exceeds a critical value $M_c$, the central object produced by the
merger collapses promptly to a BH on the dynamical time scale of a few
ms~\citep{Sekiguchi.Kiuchi.ea:2011}. On the other hand, if $M_t<M_c$
the resulting HMNS is at least temporarily supported against
gravitational collapse by differential rotation and thermal
pressure~\citep{Hotokezaka.Kiuchi.ea:2013b,Kaplan.Ott.ea:2014}. The
value of $M_c$ depends on the uncertain EoS of nuclear matter,
particularly its stiffness, mainly related to the symmetry
energy~\citep{Baldo.Burgio:2016,Oertel.Hempel.ea:2017}.  The discovery
of massive $\sim 2$~M$_\odot$ neutron
stars~\citep{Demorest.Pennucci.ea:2010,Antoniadis.Freire.ea:2013},
places a lower limit to
$M_c\gtrsim
2.6-2.8$~M$_\odot$~\citep{Hotokezaka.Kiuchi.ea:2013b}. Hydrodynamical
simulations of neutron star mergers for a large sample of
temperature-dependent equations of state, show that the ratio between
critical mass and the maximum mass of a non-rotating NS are tightly
correlated with the compactness of the non-rotating
NS~\citep{Bauswein.Baumgarte.Janka:2013}. This allows to derive
semi-analytical expressions for the critical
mass~\citep{Bauswein.Stergioulas:2017,bauswein16} that combined with
the GW170817 constraints on the maximum mass and radius of NS give
$M_c \approx 2.8$~M$_\odot$. It thus appears likely that the canonical
1.35 + 1.35~M$_\odot$, including GW170817, binary merger goes through
a HMNS phase. The duration of this phase depends on the EoS: for a
soft EoS that results in rather compact initial neutron stars before
the merger, the HMNS collapses to a black hole on timescales of
several 10s of milliseconds, while for a stiff EoS the HMNS is
long-lived with a lifetime longer than the timescales relevant for
matter ejection. The NS radius constraints mentioned above favor the
first case. For the case of prompt collapse to a BH, the BH-torus
system evolves similarly to the BH-NS merger case considered
before. However, systems with large $M_t$ are expected to eject little
mass dynamically and produce a low mass accretion disk. In these
cases, the total amount of ejecta, dynamical plus accretion disk, is
$\sim 10^{-3}$~M$_\odot$ of neutron-rich material,
$Y_e \lesssim 0.1$~\citep{Shibata:2018}.

The HMNS-torus is characterized by a more important role of neutrino
heating that increases the amount of ejecta and raises their $Y_e$ to
values that depend on the lifetime of HMNS
remnant~\citep{metzger14,perego14,Kaplan.Ott.ea:2014,martin15,Lippuner.Fernandez.Roberts.ea:2017,Fujibayashi.Kiuchi.ea:2018}. The
ejecta consist of two-components being either neutrino-driven or
viscous-driven (also known as secular). The neutrino-driven component
is ejected mainly on the polar direction with velocities
$v\lesssim 0.08$~c and $Y_e \gtrsim 0.25$ and containing around 5\% of
the disk mass~\citep{martin15,Perego.Radice.Bernuzzi:2017}. The
viscous-driven component occurs mainly in the equatorial direction
with a velocity $v \sim 0.05$~c and contains around 40\% of the disk
mass~\cite{metzger14,Lippuner.Fernandez.Roberts.ea:2017,Fujibayashi.Kiuchi.ea:2018}. The
$Y_e$ distribution depends on the lifetime of the
HMNS~\citep{Fujibayashi.Kiuchi.ea:2018}. If the HMNS survives at least
for the timescale of neutrino cooling of the disk ($\sim 10$~s),
neutrino heating drives $Y_e$ to values above 0.25.  If the HMNS
collapses to a black hole on a timescale shorter than the disk
lifetime, the $Y_e$ distribution is in the range 0.1--0.4, similar to
the BH-torus case.

There exists extensive literature relating these events to short
duration Gamma-Ray Bursts (sGRBs) and/or macronovae/kilonovae as
electromagnetic counterparts \citep[for literature before GW170817 see
e.g.,][]{lipacz97,Nakar:2007,Metzger.Berger:2012,tanvir13,Piran.Nakar.Rosswog:2013,Tanaka.Hotokezaka:2013,kasen13,grossman14,Rosswog.Korobkin.ea:2014,metzger14,wanderman15,Rosswog:2015,fryer15,Hotokezaka.Wanajo.ea:2016,barnes16,fernandez16,Rosswog.Feindt.ea:2017,metzger17}.
Although these objects are also of major importance as strong sources
for gravitational wave
emission~\citep{Shibata.Taniguchi:2011,Baiotti.Rezzolla:2017},
especially after GW170817~\citep{Abbott:2017}, underpinning the
importance of multi-messenger observations, we will essentially focus
here on the ejected nucleosynthesis composition. In the following
subsections we will concentrate on (i) the dynamic ejecta, (ii) the
post-merger neutrino wind ejecta, and (iii) the late time viscous or
secular outflow from the accretion disk.

\subsubsection{Dynamic ejecta}
\label{sec:dynamic-ejecta}

\begin{figure}[htb]

  \includegraphics[width=\linewidth]{figure6a}\\
  \includegraphics[width=\linewidth]{figure6b}

  \caption{Top: Resulting r-process abundances for dynamic tidal
    ejecta (in comparison to solar values - black dots) from neutron
    star merger simulations \citep{Eichler.Arcones.ea:2015}, making
    use of $\beta$-decay half-lives from \citet{moeller03} together
    with a relatively old \citep{Kodama.Takahashi:1975} and a modern
    set \citep{kelic08} of fragment distributions from fissioning
    nuclei. However, in both cases a shift of the third r-process peak
    seems to occur in the final phases, driven by neutron capture of
    the released fission neutrons.  Bottom: Same as above, but
    utilizing recent $\beta$-decay half-life predictions
    \citep[][dashed black line]{Marketin.Huther.Martinez-Pinedo:2016}
    in comparison to an older set (red line, identical to the green
    line from top figure). Faster $\beta$-decays for heavy nuclei
    cause a speed-up of the r~process and deliver (also in the final
    phases) nuclei which are prone to fission at an earlier time. This
    way, the late release of fission neutrons occurs earlier, to a
    large extent before the freeze-out from
    $(n,\gamma)\rightleftarrows(\gamma,n)$ equilibrium. Therefore,
    final neutron captures after freeze-out, which can distort this
    distribution, are strongly reduced. This can be seen when
    comparing the top and bottom figure. }
  \label{fig_6}
\end{figure}

As discussed above the dynamic ejecta consist of two components: a
cold component consisting of very neutron-rich matter originating from
the neutron star crust that is ``thrown out'' via tidal interaction in
the equatorial plane, and a hotter component originating from the
contact interface. The first component is the only one present in
NS-BH mergers and the second represents most of the unbound material
in NS-NS mergers.  The tidal component was originally found in
Newtonian simulations (see for first investigations
\citealt{davies94,rosswog99} and more detailed discussions
\citealt{Korobkin.Rosswog.ea:2012}), while the contact interface
component was found in relativistic simulations, first within the
conformal flatness
approximation~\citep{oechslin07,Goriely.Bauswein.Janka:2011,Bauswein.Goriely.Janka:2013}
and then in fully relativistic
simulations~\citep{Hotokezaka.Kiuchi.ea:2013a}. Those simulations
neglected the impact of weak processes in the ejecta and hence the
ejected material kept the very neutron-rich conditions corresponding
to $\beta$-equilibrium in the cold neutron star crust,
$Y_e \lesssim 0.01$.

The nucleosynthesis in low $Y_e$ ejecta, as found in BH-NS mergers and
the tidal component of NS-NS mergers, has been extensively
studied~\cite{Freiburghaus.Rosswog.Thielemann:1999,Korobkin.Rosswog.ea:2012,Bauswein.Goriely.Janka:2013,Rosswog.Korobkin.ea:2014,Mendoza-Temis.Wu.ea:2015,Eichler.Arcones.ea:2015,Martin.Arcones.ea:2016,Mumpower.Surman.ea:2016,Bovard.Martin.ea:2017}
and found to be independent of the astrophysical
conditions~\citep{Korobkin.Rosswog.ea:2012} but rather sensitive to
the nuclear physics
input~\citep{panov04,panov08,Bauswein.Goriely.Janka:2013,Eichler.Arcones.ea:2015,Mendoza-Temis.Wu.ea:2015,Goriely:2015,Goriely.Martinez-Pinedo:2015,Martin.Arcones.ea:2016,Mumpower.Surman.ea:2016,Shibagaki.Kajino.ea:2016,Thielemann.Eichler.ea:2017}. For
very neutron-rich ejecta, we deal with rather large neutron-to-seed
ratios that can even reach several 1000, hence the nucleosynthesis
becomes insensitive to the initial composition and the material loses
memory of the exact thermodynamic conditions at ejection. The
temperature evolution is characterized by having a high temperature
plateau, $T_{\text{max}}$, (see Fig.~\ref{fig:revol}) whose value is
determined by a competition between the r-process energy generation
rate, $\dot{Q}$, and the expansion dynamical
timescale~\citep{Mendoza-Temis.Wu.ea:2015}:

\begin{equation}
  \label{eq:tmax}
  T_{\text{max}} \approx 0.8\ \text{GK}\left[ \biggl(\frac{\rho}{10^5\ \text{g
        cm}^{-3}}\biggr) \biggl(\frac{\dot{Q}}{4\ \text{MeV
        s}^{-1}}\biggr) \biggl(\frac{\tau_{\text{dyn}}}{10\
      \text{ms}}\biggr)\right]^{1/4},
\end{equation}

Hence, independent of the initial conditions, during the phase of
neutron captures one can have a hot ($T\gtrsim 0.7$~GK) or cold
($T\lesssim 0.3$~GK) r~process, see section~\ref{sec:basic-working}
and Fig.~\ref{fig:revol} where dark gray and brown lines correspond to
cold r~process conditions and light gray lines to hot r~process
conditions. Typically the expansion of the material is ``slow'' enough
to allow for all neutrons to be captured. This leads to the occurrence
of several fission cycles with large amounts of very heavy nuclei
prone to fission, mainly around $A\sim 280$, remaining at freeze-out,
see Figs.~\ref{fig_fission} and~\ref{fig:freezeevol}. During the final
freeze-out phase the fission yields of the heaviest nuclei determine
the final abundances of nuclei with
$A\lesssim 140$~\citep{Goriely.Martinez-Pinedo:2015}. Fission also
produces large amounts of neutrons that tend to be captured on the
third r-process peak material. Depending on the amount of neutrons
produced and the speed at which they are released the third r-process
peak can be shifted to higher mass numbers when compared with solar
abundances~\citep[see Fig.~\ref{fig_6} from][and for more details on
the effects of fission
subsection~\ref{sec:fission}]{Eichler.Arcones.ea:2015}. The final
impact depends on the mass model considered, see
Fig.~\ref{fig:Joel-final}, and $\beta$-decay
half-lives~\citep{Marketin.Huther.Martinez-Pinedo:2016,panov16}. Shorter
$\beta$-decay half-lives for very heavy nuclei result in smaller
abundances in the fissioning region and hence less and faster release
of neutrons during the freeze-out~\citep{Eichler.Arcones.ea:2015}.

Fission rates and yields for neutron-rich superheavy nuclei are then
fundamental for the determination of the r-process
abundances~\cite{Goriely:2015}. This requires not only the
determination of the region of the nuclear chart where fission
occurs~\citep{Thielemann.Metzinger.Klapdor:1983,Petermann.Langanke.ea:2012,Giuliani.Martinez-Pinedo.Robledo:2018,Giuliani.Matheson.ea:2019}
but also the modeling of all relevant fission channels including
neutron-induced fission, $\beta$-delayed fission, and spontaneous
fission~\citep{Thielemann.Metzinger.Klapdor:1983,Panov.Kolbe.ea:2005,panov04,Goriely.Hilaire.ea:2009,Panov.Korneev.ea:2010,Mumpower18,Vassh.Vogt.ea:2018}
and corresponding
yields~\citep{Kelic.Valentina.Schmidt:2009,Goriely.Sida.ea:2013,Schmidt.Jurado.ea:2016,Schmitt.Schmidt.Jurado:2018,Schmidt.Jurado:2018}. Low
$Y_e$ ejecta produce a final abundance distribution that closely
follows the solar r-process abundance distribution for $A>140$
independently of the fission yields
used~\citep{Goriely.Martinez-Pinedo:2015}. The production of lighter
nuclei is rather sensitive to the fission rates and yields used and
typically no nuclei below $A\sim 110$ are produced in substantial
amounts~\citep{panov08,Goriely.Sida.ea:2013,Mendoza-Temis.Wu.ea:2015,Eichler.Arcones.ea:2015,Vassh.Vogt.ea:2018}. Fission
is also important for the production of actinides with important
consequences for late time kilonova light
curves~\citep{barnes16,Rosswog.Feindt.ea:2017,Wanajo:2018,Wu.Barnes.ea:2018,Holmbeck.Surman.ea:2018,Zhu.Wollaeger.ea:2018}
and U/Th cosmochronometry (see section~\ref{sec:r-proc-cosm}).

\begin{figure}[htb]
  \centering \includegraphics[width=\linewidth]{joel-fast}
  \caption{R-process abundances at a time of 1 Gyr for all
    trajectories shown in Fig.~\ref{fig:revol}. The grey (brown)
    curves correspond to the abundances of the trajectories of the
    slow (fast) ejecta. The mass-averaged abundances for all
    trajectories (red curves), the slow ejecta (green curves), and the
    fast ejecta (blue curves) are also shown. The abundances for the
    slow and fast trajectories and their averages have been scaled by
    the value of their fractional contribution to the total
    ejecta. \citep[Figure adapted
    from][]{Mendoza-Temis.Wu.ea:2015}.\label{fig:fast}}
\end{figure}

Several
studies~\cite{Goriely.Bauswein.ea:2014,Metzger.Bauswein.ea:2015,Mendoza-Temis.Wu.ea:2015,Radice.Perego.ea:2018b,Fernandez.Tchekhovskoy.ea:2019,Ishii.Shigeyama.Tanaka:2018}
have shown that part of the material, up to 10\% in mass, is ejected
very fast and reaches such low densities that the timescale for
neutron captures becomes much longer than the expansion
timescale~\cite{Mendoza-Temis.Wu.ea:2015} (see brown lines on
Fig.~\ref{fig:revol}). Under such conditions most of the neutrons are
not captured, despite of having a large neutron-to-seed ratio. The
final abundances of this ``frustrated'' r~process does not correspond
to solar abundances~(see Fig.~\ref{fig:fast}) and hence it cannot
constitute a major component of the total ejected mass, assuming
mergers are a major r-process site. However, it can drive an early
(timescales of hours) electromagnetic emission that is powered by the
radioactive decay of the free neutrons left after completion of the
r~process~\citep{Metzger.Bauswein.ea:2015}.

\citet{Wanajo.Sekiguchi.ea:2014} showed that weak processes operating
on the shock heated ejecta of NS-NS mergers can increase the
$Y_e$. They are particular efficient in the polar region, where the
large neutrino fluxes from the HMNS increase substantially the $Y_e$
of the ejecta, provided the HMNS does not collapse promptly to a
BH\@. Depending on the neutrino luminosities, $Y_e$ could be increased
to values between 0.25 and 0.4. While it is currently accepted that
weak processes increase the $Y_e$ of the ejecta, an aspect confirmed
by the kilonova observations discussed in
section~\ref{sec:kilon-an-electr}, there is still a relatively large
spread between the predictions of different
groups~\citep{Shibata.Fujibayashi.ea:2017,sekiguchi16,sekiguchi15,Radice.Galeazzi.Lippuner.ea:2016,Radice.Perego.ea:2018a,Foucart.Oconnor.ea:2016,Bovard.Martin.ea:2017,Foucart.Duez.ea:2018}
related to the different approximations in the treatment of neutrino
radiation transport. Dynamic ejecta from NS-NS mergers are expected to
contribute to the synthesis of a broad range of r-process nuclei,
including both light and heavy, once weak processes are
considered~\citep{Wanajo.Sekiguchi.ea:2014,Goriely.Bauswein.ea:2015,Martin.Perego.ea:2018}. However,
it should be kept in mind that the predicted amount of high $Y_e$
matter is typically much smaller that the one found in accretion disk
outflows.

\subsubsection{Neutrino Winds and the Effect of Neutrinos}
\label{sec:neutr-winds-effect}

In addition to the dynamic ejecta, related directly to the
merging/collision, post merger ejecta will emerge as well. One
component is a ``neutrino-wind'' as found in core-collapse
supernovae. For the typical merging system, the hot central NS
remnant, supported by high temperatures and differential rotation,
will not collapse to a black hole immediately, and will be surrounded
by a hot and dense torus. Hence, the structure of the wind is quite
different from the isolated NSs usually found in core-collapse
supernova. The wind outflow occurs mainly in the polar
direction~\citep{Rosswog.Korobkin.ea:2014,perego14,metzger14,martin15}. Matter
is exposed to neutrinos long enough for the material to reach an
equilibrium between electron neutrino and antineutrino absorption,
changing $Y_e$, see Eq.~\eqref{eq:yeeq}, from the initial
(neutron-rich) conditions towards higher values that can even be above
$Y_e=0.5$. Due to the much larger $\bar{\nu}_e$ luminosities and
energy differences between $\bar{\nu}_e$ and $\nu_e$, found during the
post-merger evolution when compared with core-collapse supernova (see
Fig.~\ref{fig:lumi-e}), the peak of the $Y_e$ distribution is expected
to be neutron-rich with
$Y_e \gtrsim
0.25$~\citep{martin15,Lippuner.Fernandez.Roberts.ea:2017,Fujibayashi.Sekiguchi.ea:2017,Fujibayashi.Kiuchi.ea:2018}. This
leads to a weak r~process and produces mainly matter below the second
r-process peak, i.e.\ no lanthanides are produced.

\begin{figure}[htb]

  \includegraphics[width=\linewidth]{figure7}

  \caption{Neutrino wind contribution to neutron star merger ejecta,
    dependent on the delay time between the merger and BH formation
    \cite{martin15}.  In comparison also the dynamic, tidal ejecta of
    \cite{Korobkin.Rosswog.ea:2012} are shown. The neutrino wind,
    ejected dominantly in polar regions, contributes nuclei with
    $A<130$, due to the effect of the neutrinos on $Y_e$.  }
  \label{fig_7}
\end{figure}

Fig.~\ref{fig_7} displays the results of~\citet{martin15} for the
neutrino wind component as a function of the delay time until black
hole formation sets in.  It can be seen that predominantly nuclei
below $A=130$ are produced, complementing nicely the abundance
features originating from prompt/dynamic low $Y_e$ ejecta, also
displayed. The latter, resulting here from the Newtonian
simulations~\citep{Korobkin.Rosswog.ea:2012}.

Similarly to the situation in core-collapse supernova, the properties
of neutrino-wind ejecta, and particularly $Y_e$, are expected to be
sensitive to the spectral differences between $\nu_e$ and
$\bar{\nu}_e$. This requires an accurate prediction of neutrino
luminosities and spectra. Supernova neutrino-wind transport
simulations are nowadays based on exact numerical solutions of the
Boltzmann transport
equation~\citep[e.g.][]{huedepohl10,fischer10,Roberts:2012} exploiting
the spherically symmetric nature of the problem. In the case of
mergers, due to the multidimensional nature of the problem,
simulations so far are based on neutrino leakage
schemes~\citep{perego14,metzger14,Radice.Galeazzi.Lippuner.ea:2016,Ardevol-Pulpillo.Janka.ea:2018}
and $M1$
schemes~\citep{Just.Bauswein.ea:2015,Just.Obergaulinger.Janka:2015,foucart15,Fujibayashi.Sekiguchi.ea:2017,Fujibayashi.Kiuchi.ea:2018}. There
are indications that they may not properly capture the energy
densities and fluxes of neutrinos in the polar
regions~\citep{Just.Bauswein.ea:2015}, hence, affecting the $Y_e$
estimates in the polar
region~\citep{Foucart.Oconnor.ea:2016,Foucart.Duez.ea:2018}. Additional
opacity reactions so far not considered, like neutrino-pair
annihilation, may also play an important role in determining the
properties of the
ejecta~\citep{just16,Fujibayashi.Sekiguchi.ea:2017,Perego.Yasin.Arcones:2017,Fujibayashi.Kiuchi.ea:2018,Foucart.Duez.ea:2018}.

$Y_e$ can also be affected by modifications of neutrino and
antineutrino spectra due to neutrino flavor conversion. There have
been a number of tests to verify such neutrino conversions via
matter-neutrino
resonances~\cite{malkus12,foucart15,malkus16,zhu16,frensel17} and fast
pairwise flavor
conversions~\citep{Wu.Tamborra:2017,Wu.Tamborra.ea:2017}. Due to the
more complicated geometry of a disk environment in comparison to
core-collapse supernovae, most of the calculations are based on
single-angle approximations. Spherically symmetric test calculations
show that the matter-neutrino resonance still occurs in multiangle
models~\citep{Vlasenko.Mclaughlin:2018} but with reduced
efficiency. Nevertheless, the existing investigations clearly point to
the potential effect on $Y_e$, and thus the resulting nucleosynthesis
can be affected.

\subsubsection{Accretion Disks outflows}
\label{sec:accr-discs-outfl}

\begin{figure}[h]

  \includegraphics[width=\linewidth]{figure8}

  \caption{Resulting r-process abundances (in comparison to solar
    values - black dots) from black hole accretion disk simulations
    \citep{Wu.Fernandez.Martinez.ea:2016}, making use of a black hole
    mass of 3 M$_\odot$, a disk mass of 0.03 M$_\odot$, an initial
    $Y_e$ of 0.1, entropy per baryon of 8$k_b$, an alpha parameter of
    the viscous disk of 0.03, and a vanishing black hole spin. The
    figure illustrate the impact of two different mass models, FRDM
    and DZ31, in the final abundances
    \label{fig_8}}
\end{figure}

The long-term evolution, $t\sim 1$--10~s, of the accretion disc
produces outflows of material powered by viscous heating and nuclear
recombination~\citep{Lee.Ramirez-Ruiz:2007,Beloborodov:2008,Metzger.Piro.Quataert:2009,Fernandez.Metzger:2013}. Those
outflows can contain up to 40\% of the disk mass. The amount of
ejected mass increases with the lifetime of the MNS formed in the
merger, but most importantly for nucleosynthesis the $Y_e$
distribution is dramatically affected by the lifetime of the
MNS~\cite{metzger14}. For a long lived MNS, $t \gtrsim 1$~s, neutrino
irradiation from the MNS results in ejecta with
$Y_e >
0.3$~\citep{metzger14,Lippuner.Fernandez.Roberts.ea:2017,Fujibayashi.Kiuchi.ea:2018}. The
nucleosynthesis in these ejecta is simular to the neutrino-wind ejecta
discussed in the previous subsubsection.

For a short-lived MNS, $t \lesssim 1$~s, the impact of
neutrino-irradiation is small and from the point of view of
nucleosynthesis outflows from accretion disks formed in NS-NS and
BH-NS mergers gives similar results. Early nucleosynthesis studies
where mainly parametric and considered mainly the ``neutrino-driven''
wind outflow from the surface of the
disk~\citep{Pruet.Woosley.Hoffman:2003,Fujimoto.Hashimoto.ea:2003,Fujimoto.Hashimoto.ea:2004,Pruet.Thompson.Hoffman:2004,Mclaughlin.Surman:2005,surman06,Metzger.Thompson.Quataert:2008,surman08,Dessart.Ott.ea:2009,Kizivat.Martinez-Pinedo.ea:2010,Wanajo.Janka:2012,surman14}. Detailed
simulations have been performed in recent years based on
$\alpha$-viscosity
prescriptions~\citep{Fernandez.Metzger:2013,metzger14,Just.Bauswein.ea:2015,fernandez16,just16,Wu.Fernandez.Martinez.ea:2016,Wojczuk.Janiuk:2018,Fujibayashi.Kiuchi.ea:2018}
and more recently on three-dimensional General-Relativistic
Magnetohydrodynamic
simulations~\cite{Siegel.Metzger:2017,Siegel.Metzger:2018,Fernandez.Tchekhovskoy.ea:2019}. These
simulations show that neutrino winds from the accretion disk eject
little mass and that most of the material is ejected by viscous
heating~\citep{Just.Bauswein.ea:2015}.
The results for disk outflows by~\citet{Wu.Fernandez.Martinez.ea:2016}
are displayed in Fig.~\ref{fig_8}, which shows the integrated
abundance pattern of all tracer particles.  This underlines that, in
principle, disk outflows alone can produce the whole range of
r-process nuclei, with a significant production of $A \lesssim 130$
nuclei. Disk outflows also reach the third peak at $A = 195$ in most
of the simulations. The detailed results depend on the disk viscosity,
the initial mass or entropy of the torus, the black hole spin, and (of
course) the nuclear physics input. The latter is illustrated in
Fig.~\ref{fig_8} that compares the nucleosynthesis results for two
different mass models, FRDM~\cite{moeller95} and
Duflo-Zuker~\citep{Duflo.Zuker:1995}. The production of heavy
($A\gtrsim 195$) nuclei is also affected by uncertainties of the disk
properties discussed
above~\citep{Just.Bauswein.ea:2015,Wu.Fernandez.Martinez.ea:2016}. However,
such a possible deficit can be counterbalanced by the dynamic ejecta,
as the total nucleosynthesis of the merger includes the components of
the dynamic ejecta, the neutrino wind, and the accretion disk.

Nucleosynthesis studies in mergers are commonly based on simulation
data that follow the evolution of the ejecta for timescales shorter,
$\sim$~ms, than the r-process nucleosynthesis timescale,
$\sim$~s. This makes it necessary to extrapolate the time evolution of
thermodynamic properties like temperature and density in order to
follow the nucleosynthesis to completion. It is commonly assumed that
the expansion is homologous, $\rho \sim t^{-3}$, with the temperature
evolution determined by the nuclear energy production of the r
process. The nuclear energy production during the r~process,
originating mainly from $\beta$ decays, is in the range
$\dot{Q} \approx 1-4$~MeV~s$^{-1}$~nuc$^{-1}$ (see lower panel of
Fig.~\ref{fig:revol}). \citet{Rosswog.Korobkin.ea:2014} have performed
long-term simulations and found that the r-process energy release does
not qualitatively alter the properties of dynamic
ejecta. \citet{Wu.Fernandez.Martinez.ea:2016} found that r-process
heating can increase the amount of ejecta up to a factor 2 in viscous
outflows from accretion disks and remove an anomalously high abundance
of $A=132$ nuclei \citep[see Fig.~\ref{fig_8}
and][]{Lippuner.Fernandez.Roberts.ea:2017,Siegel.Metzger:2018}. R-process
heating can increase the amount of ejecta and critically shape the
dynamics of marginally bound ejecta responsible for fall-back
accretion on timescales of the second to
minutes~\citep{Metzger.Arcones.ea:2010,Desai.Metzger.Foucart:2018}. Late-time
fall-back accretion has been suggested as possible mechanism to
explain the extended X-ray emission observed in some short
GRBs~\citep{Rosswog:2007}. R-process heating on timescales of days to
weeks after the merger has been found responsible for powering the
``kilonova'' electromagnetic
emission~\citep{lipacz97,Metzger.Martinez.ea:2010} as will be
discussed in the next section.

\section{Electromagnetic signatures of r-process nucleosynthesis}
\label{sec:kilon-an-electr}

\begin{figure*}[htb]
  \centering \includegraphics[width=0.65\linewidth]{edot}%
  \includegraphics[width=0.35\linewidth]{heating-ye}%
  \caption{(left panel) Specific energy generation rate, $\dot{Q}$, in
    r-process ejecta (black line). For comparison the energy
    production from the decay chain
    $^{56}\text{Ni} \rightarrow{}^{56}\text{Co}
    \rightarrow{}^{56}\text{Fe}$ (red) and the analytical estimate
    $\dot{Q} \sim t^{-1.3}$ are also shown~\citep[adapted
    from][]{Metzger.Martinez.ea:2010}. (right panel) top: the fraction
    of total radioactive energy produced by $\beta$-decays,
    $\alpha$-decays, and fission for a representative trajectory
    corresponding to low $Y_e$ NS-NS merger dynamical ejecta for four
    nuclear mass models While $\beta$-decay dominates, fission
    ($\alpha$-decay) can be important at early (late) times. Agreement
    between the four mass models shown is within an order of
    magnitude. Bottom: energy released in $\alpha$-decays and fission,
    for the FRDM mass model, for a range of initial $Y_{e,0}$
    conditions. Lower electron fractions favor the assembly of the
    heavy elements that later decay by fission and $\alpha$-emission.
    As $Y_{e,0}$ increases, these processes become less important, and
    are negligible for $Y_{e,0} >
    0.2$~\citep[from][]{barnes16}. \label{fig:heating}}
\end{figure*}

As discussed above the r~process produces very neutron rich unstable
nuclei on timescales of a few seconds. Once produced they decay to
stability by a combination of beta, alpha and fission decays. These
decays produce large amounts of energy and can potentially lead to an
observable electromagnetic emission. The first suggestion of such a
electromagnetic emission was due to~\citet{Burbidge.Hoyle.ea:1956} who
attributed type Ia supernova light curves to the decay of $^{254}$Cf
produced by the r~process. Nowadays, we know that both type Ia and
type II supernova light curves are due mainly to the decay of
$^{56}$Ni~\citep{Bersten.Mazzali:2017,Zampieri:2017}. The study of
light curves and spectra does not only constraint the nucleosynthesis
yields~\citep{Diehl.Timmes:1998,Seitenzahl.Timmes.Magkotsios:2014} but
also provide information about the physical parameters of the
progenitor system and the explosion
itself~\citep{Bersten.Mazzali:2017,Zampieri:2017}. This illustrates
the physics potential of an electromagnetic transient observation
associated with r-process ejecta. It identifies one the sites where
the r~process occurs~\citep{Metzger.Martinez.ea:2010} and serves as a
promising electromagnetic counterpart to the gravitational wave
detection following a neutron star
merger~\cite{Metzger.Berger:2012}. All these aspects were confirmed by
the electromagnetic transient AT 2017gfo observed following the
gravitational wave event GW170817~\citep{Abbott:2017}.

\begin{figure}[htb]
  \includegraphics[width=\linewidth]{lumi-leg}
  \caption{Bolometric light curve of the optical/infrared counterpart,
    AT 2017gfo, of GW170817 (red circles) from multi-band
    photometry~\citep{cowperthwaite17} compared with the fiducial
    model of~\citet{Metzger.Martinez.ea:2010}. For comparison a line
    with the approximate power-law decay $\dot{Q} \sim t^{-1.3}$ for
    r-process heating (see
    Fig.~\ref{fig:heating}).\label{fig:lumi-vs-2010}}
\end{figure}

\citet{lipacz97} were the first to propose that radioactive ejecta
from a NS-NS merger could power a supernova-like transient. However,
they did not posses a physical model to describe the origin of the
radioactive heating, $\dot{Q}$, and considered two possible limiting
cases: an exponential-law decay and a power-law $\dot{Q} \sim
t^{-1}$. In both cases the normalization was left an a free
parameter. Hence, even if the model predicted the right timescale for
the peak luminosity, it could not determine the absolute luminosity,
spectral peak frequency and time-evolution of the luminosity. Indeed,
their fiducial model reached extremely high values of the luminosity
$\sim 10^{44}$~erg~s$^{-1}$ with a spectral peak in the
ultra-violet. \citet{Kulkarni:2005} considered two possible origins
for the heating: neutron and $^{56}$Ni decay; and named such events
``macronova''. \citet{Metzger.Martinez.ea:2010} were the first to
relate the late time radioactive heating to the decay of freshly
produced r-process nuclei. Based on heating rates derived
self-consistently from a nuclear reaction network, they showed that
the heating rate follows a power law at time scales of a day with a
steeper dependence than the one assumed by~\citep{lipacz97},
$\dot{Q} \sim t^{-1.3}$. As shown in Fig.~\ref{fig:heating}, the
heating evolves very differently for r-process material than for
supernova-like ejecta dominated by $^{56}$Ni. A power law dependence
is expected whenever the heating is dominated by a broad distribution
of nuclei all of them decaying exponentially. It can be understood
from basic physics of $\beta$-decay and the properties of neutron-rich
nuclei~\citep{Metzger.Martinez.ea:2010,Hotokezaka.Sari.Piran:2017}. A
similar dependence is found for the decay rate of terrestrial
radioactive waste~\citep{Way.Wigner:1948}.

The work of~\citet{Metzger.Martinez.ea:2010} predicted peak
luminosities $\sim 3\times 10^{41}$~erg~s$^{-1}$ for 0.01~M$_\odot$ of
ejecta expanding at $v\sim 0.1\ c$ and spectral peak at visual
magnitude. As such value corresponds to 1000 times the luminosity of
classical novae they named these events ``kilonova''.
Fig.~\ref{fig:lumi-vs-2010} compares their prediction with the recent
observation of AT~2017gfo~\citep{cowperthwaite17}. Similar results
were also found by~\citet{Roberts.Kasen.ea:2011} and
\citet{Goriely.Bauswein.Janka:2011}.

The physical processes determining the kilonova light curve
are~\citep[see][for reviews]{fernandez16,metzger17,Tanaka:2016}:

\paragraph{Radioactive heating.} The radioactive heating of r-process
products is expected to follow a power law whenever a large
statistical ensemble of nuclei is produced. This is the case for
ejecta with $Y_e \lesssim 0.2$. For higher $Y_e$ ejecta, the heating
rate has `bumps' as a function of time caused by being dominated by a
few
nuclei~\citep{grossman14,martin15,Lippuner.Roberts:2015,rosswog18,Wanajo:2018}. However,
when averaged over $Y_e$ distributions as predicted by simulations the
heating rate at timescales of days to a week (of greatest relevance to
determine the peak luminosity) lies within a factor of a few for
$Y_e \lesssim 0.4$~\citep{Lippuner.Roberts:2015,Wu.Barnes.ea:2018}. At
early times of a few hours the heating may be dominated by neutron
decay, assuming the presence of free neutrons in the outermost layers
of the ejecta, producing a Ultraviolet/Blue precursor to the kilonova
emission~\citep{Metzger.Bauswein.ea:2015,metzger17}. At times between
10 and 100 days, the heating is dominated by a few
decays,~\citep[see][for a complete listing]{Wu.Barnes.ea:2018}, due to
the scarcity of nuclei with the appropriate half-life. R-process
nuclei decay in a variety of channels including $\beta$-decay,
$\alpha$-decay and fission. The energy production in each individual
channel is important as the absorption of the energy depends on the
decay products being electrons, photons, alphas and fission
products. For high $Y_e$ ejecta, heating is dominated by $\beta$-decay
and only electrons and photons are relevant with neutrinos being just
an energy loss. For low $Y_e$ ejecta, actinides are produced and alpha
decay and fission become important (see Fig.~\ref{fig:heating}). The
right panel of Fig.~\ref{fig:heating} shows that the contribution
alphas and fission to the energy production can be substantial and
sensitive to the underlying mass
model~\citep{barnes16,Rosswog.Feindt.ea:2017,Wu.Barnes.ea:2018}.

\paragraph{Thermalization efficiency.} At early times the ejected
material very dense and the energy produced by radioactive decay,
except neutrinos, is completely reabsorbed. However, as the density
decreases an increased fraction of the energy is lost and cannot be
used to drive a thermal electromagnetic emission. Hence, one normally
introduces a time dependent thermalization efficiency that corrects
the energy produced by radioactive processes~\citep{barnes16}. The
efficiency depends on bulk properties of the ejecta like mass and
velocity as they determine the evolution of the density. It also
depends on the presence of magnetic field and its
geometry. Furthermore, it varies with the decay product and time
evolution of the heating at each particular decay
channel~\citep{Kasen.Barnes:2018}, i.e.\ whether we have a statistical
distribution of decaying nuclei or a heating dominated by a few
isotopes which is probably more appropiate for late times. Earlier
works considered the thermalization of
$\gamma$-rays~\citep{Hotokezaka.Wanajo.ea:2016} and were later
extended to consider charged particles~\citep{barnes16}. This work has
been recently extended to the case of a few decays dominating the
heating~\citep{Kasen.Barnes:2018,Wu.Barnes.ea:2018}. Qualitatively one
finds that the thermalization efficiency for $\gamma$-rays decreases
very rapidly and becomes negligible on timescales of a few 10's of
days. The thermalization efficiency for changed particles and
particularly alphas and fission products remains substantial at late
times. This makes kilonova light curves rather sensitive the heating
contribution of alpha decays and
fission~\citep{barnes16,Rosswog.Feindt.ea:2017,Wu.Barnes.ea:2018,Zhu.Wollaeger.ea:2018,Vassh.Vogt.ea:2018}.

\paragraph{Atomic opacities.} A significant electromagnetic luminosity
is only possible once the density decreases sufficiently that photons
can escape the ejecta on the expansion
time-scale~\citep{Arnett:1980,Arnett:1982}. Assuming an homogeneous
spherical distribution of ejecta with mass $M$, expanding homologously
with velocity $v$ and radius $R=v t$, the diffusion time scale of the
ejecta can be approximated as
$t_{\text{diff}} \approx \rho\kappa R^2/(3 c)$, with
$\rho=3 M/(4\pi R^3)$ the density and $\kappa$ the opacity of the
ejecta. Once the ejecta expands enough to become transparent, it
releases the thermal radiation. This occurs when the diffusion
timescale, $t_{\text{diff}}$, becomes comparable to the dynamical
timescale, $t=R/v$. This defines the time at which the maximum of the
luminosity is reached~\citep[see
e.g.][]{Metzger.Martinez.ea:2010,fernandez16}:

\begin{eqnarray}
  \label{eq:tpeak}
  t_{\text{peak}} & \approx & \left(\frac{\kappa
                              M}{4\pi cv}\right)^{1/2} \\
                  & \approx & 1.5\ \text{days} \left(\frac{M}{0.01
                              M_\odot}\right)^{1/2} \left(\frac{v}{0.1
                              c}\right)^{-1/2} \left(\frac{\kappa}{\text{cm}^2
                              \text{g}^{-1}}\right)^{1/2} \nonumber
\end{eqnarray}

At timescales beyond the peak time the luminosity can be approximated
using the Arnett's Law~\citep{Arnett:1980,Arnett:1982}:
$L(t) = M \dot{Q}_{\text{dep}}(t)$.  $\dot{Q}_{\text{dep}}$ is the
energy deposition rate corrected by the thermalization efficiency and
can be approximated as
$\dot{Q}_{\text{dep}} \approx \varepsilon\, \times 10^{10}\,
(t/\text{day})^{-\alpha}\ \text{erg}\ \text{s}^{-1} \text{g}^{-1}$,
with $\varepsilon < 1$ the thermalization efficienty. At peak time the
kilonova luminosity is given by:

\begin{eqnarray}
  \label{eq:lpeak}
  L_{\text{peak}} & \approx & 1.1 \varepsilon \times 10^{41}\ \text{erg}\ \text{s}^{-1}
  \\
                  & & \left(\frac{M}{0.01 M_\odot}\right)^{1-\alpha/2} \left(\frac{v}{0.1
                      c}\right)^{\alpha/2} \left(\frac{\kappa}{\text{cm}^2
                      \text{g}^{-1}}\right)^{-\alpha/2} \nonumber
\end{eqnarray}
The effective temperature of emission can be obtained from the
luminosity using the Stefan-Boltzmann Law that together with the Wien
displacement law gives the characteristic wavelength of the emission:

\begin{eqnarray}
  \label{eq:wavepeak}
  \lambda_{\text{peak}} & \approx & 514\ \text{nm} \\
                        & & \left(\frac{M}{0.01
                            M_\odot}\right)^{\alpha/8} \left(\frac{v}{0.1
                            c}\right)^{(2-\alpha)/8} \left(\frac{\kappa}{\text{cm}^2
                            \text{g}^{-1}}\right)^{(2+\alpha)/8} \nonumber
\end{eqnarray}

The above formulas illustrate several characteristic features of
kilonova light curves. Even if the emission mechanism is similar to
supernova the typical ejecta mass is much smaller and the velocity
larger. The equations illustrate the important role played by the
opacity that is dominated by Doppler-broadened atomic line bound-bound
transitions~\citep{kasen13,Fontes.Fryer.ea:2015,Tanaka.Kato.ea:2018}. Ejecta
containing light r-process elements ($A\lesssim 140$) with $d$-shell
valence electrons possess an opacity
$\kappa \lesssim 1$~cm$^2$~g$^{-1}$. In this case the emission peaks
in around a day in the Blue. This was, indeed, the case for
AT~2017gfo~\citep{nicholl17}. If the ejecta contains lanthanide or
actinide nuclei ($A\gtrsim 140$), then the optical opacity is very
high $\kappa \gtrsim 10\text{--}100$~cm$^2$~g$^{-1}$ due to the
complex structure of $f$-shell valence electrons for these elements,
resulting in a dense forest of
lines~\citep{kasen13,Barnes.Kasen:2013,Tanaka.Hotokezaka:2013,Fontes.Fryer.ea:2017}. Having
a kilonova observation, like in the case of AT~2017gfo, it is possible
to adjust the multi-wavelength evolution of the light curve using a
variation of the model described above and determine the amount of
ejecta, velocity and opacity that is a proxy for the composition. As
discussed in section~\ref{sec:nsm}, to reproduce the AT~2017gfo
observations requires at least two different ejecta components with
three-component models being slightly favored~\citep[see
e.g.][]{Villar.ea:2017}.  This result is consistent with the existence
of several ejecta components in mergers giving rise to different
nucleosynthesis products (see
section~\ref{sec:neutron-star-neutron}). The analysis of sGRB
observations~\citep{Wu.Macfadyen:2018} and kilonova
transient~\citep{Perego.Radice.Bernuzzi:2017} favors an off-axis
viewing angle of $\sim 30^\circ \deg$. Hence, the early blue phase of
the kilonova light curve has been suggested to originate from
Lanthanide poor polar ejecta~\citep[see
e.g.][]{Kasen.Metzger.ea:2017}, however
see~\citet{Kawaguchi.Shibata.Tanaka:2018} for an alternative
explanation. This result is consistent with simulations that predict
that weak processes including electron (anti)neutrino absorption drive
the composition to $Y_e \gtrsim 0.25$. It may be interpreted as an
observational evidence of the important role of neutrinos in
determining the composition of the ejecta. However, there is a tension
between the velocity of the ejecta $v \approx 0.27\ c$ that is
consistent with simulations of dynamical ejecta and the large ejecta
mass, ${M}_{\text{ej}}\approx 0.020$~M$_\odot$, that is
not. Additional Lanthanide-poor material is expected to originate from
the post-merger neutrino-wind ejecta. However, its velocity is
expected to be smaller, unless the wind is magnetically accelerated by
the strongly magnetized HMNS
remnant~\citep{Metzger.Thompson.Quataert:2018}. The amount of material
and velocity of material involved in the ``purple'' and ``red''
components suggest that they originate from post-merger outflows from
the accretions disk~\citep[see
e.g.][]{Kasen.Metzger.ea:2017}. Simulations predict that the ejecta
contain a broad distribution of $Y_e$ and is able to produce both
light and heavy r-process material including the Lanthanides/Actinides
necessary to account for the high
opacity~\citep{Just.Bauswein.ea:2015,Wu.Fernandez.Martinez.ea:2016}.

It is, indeed, the observation of the Lanthanide-rich ``red'' emission
that provided the first observational evidence that neutron-star
mergers produce r-process nuclei. However, so far no direct
spectroscopic evidence has been obtained pointing to the production of
a particular element. The high density of lines for
lanthanides/actinides together with the large velocities of the ejecta
produces line blending and smoothness the
spectra~\citep{chornock17}. This aspect has been used to determine the
velocity of the ejecta from spectroscopic information~\citep[see
e.g.][]{chornock17}. Nevertheless, the spectra presents peaks that may
probe the abundance of individual elements~\citep[see figure~4
of][]{Kasen.Metzger.ea:2017}. However, uncertainties in current atomic
data hinder a detailed spectral analysis. The lanthanide/actinide
opacities are uncertain because the atomic states and line strengths
of these complex elements are not measured
experimentally. Theoretically, such high-Z atoms represent a
challenging problem in many-body quantum mechanics, and hence are
based on statistical models that must be calibrated to experimental
data~\citep{kasen13,Fontes.Fryer.ea:2015,Tanaka.Kato.ea:2018}. Beyond
identifying the line transitions themselves, there is considerably
uncertainty in how to translate these data into an effective
opacity. The commonly employed ``line expansion opacity''
formalism~\citep{Pinto.Eastman:2000a,Pinto.Eastman:2000b}, based on
the Sobolev approximation and applied to kilonovae
by~\citet{Barnes.Kasen:2013} and~\citet{Tanaka.Hotokezaka:2013}, may
break down if the line density is sufficiently high that the
wavelength spacing of strong lines becomes comparable to the intrinsic
thermal width of the
lines~\citep{kasen13,Fontes.Fryer.ea:2015,Fontes.Fryer.ea:2017}.

Lacking a direct spectroscopic identification of the abudance of
individual elements, recent work has focused in identifying
fingerprints of heavy elements in kilonova light curves. Particularly
promising are late-time observations as the decay heating can be
dominated by a few
nuclei~\citep{Wu.Barnes.ea:2018}. \citet{Kasliwal.Kasen.ea:2018}
suggest heavy isotopes (e.g. $^{140}$Ba, $^{143}$Pr, $^{147}$Nd,
$^{156}$Eu, $^{191}$Os, $^{223}$Ra, $^{225}$Ra, $^{233}$Pa,
$^{234}$Th) with $\beta$-decay half-live around
14~days. \citet{Wu.Barnes.ea:2018} have shown that at times of weeks to
months, the decay energy input may be dominated by a discrete number
of $\alpha$-decays, $^{223}$Ra (half-life $t_{1/2} = 11.43$~d),
$^{225}$Ac ($t_{1/2} = 10.0$~d, following the $\beta$-decay of
$^{225}$Ra with $t_{1/2} =14.9$~d), and the fissioning isotope
$^{254}$Cf ($t_{1/2} = 60.5$~d)~\citep[see
also][]{Zhu.Wollaeger.ea:2018}, which liberate more energy per decay
and thermalize with greater efficiency than $\beta$-decay products.
Late-time nebular observations of kilonovae which constrain the
radioactive power provide the potential to identify signatures of
these individual isotopes, thus confirming the production of heavy
nuclei. In order to constrain the bolometric light to the required
accuracy, multi-epoch and wide-band observations are required with
sensitive instruments like the James Webb Space Telescope.

An alternative mechanism to probe the in situ production of r-process
nuclei is the identification of X-ray or $\gamma$-ray lines from their
decay similar to the observations of $^{44}$Ti $\gamma$-rays in Cas
A~\citep{Vink.Laming.ea:2001,Renaud.Vink.ea:2006} and
SN~1987A~\citep{Grebenev.Lutovinov.ea:2012}
remnants. \citet{Qian.Vogel.Wasserburg:1998,Qian.Vogel.Wasserburg:1999}
have provided estimates of $\gamma$-ray fluxes for several r-process
nuclei and~\citet{Ripley.Metzger.ea:2014} have extended those estimates
to X-ray lines. The predicted fluxes are too low to be detected by
current missions, however improvements in detection techniques may
allow to detect the last merger that took place in our Galaxy.

\section{Abundance evolution in the Galaxy and Origin of the
  r~process}
\label{sec:chemev}

After we have summarized in section~\ref{sec:observations-jjc-cs} the
status of abundance observations of neutron-capture (especially
r-process) elements, and passed in the intermediate sections through
the nucleosynthesis working and required nuclear input, we presented
in section~\ref{sec:astr-sites-their} the most favorable astrophysical
sites and the related abundance predictions.  This section addresses
their features, in addition to abundance predictions their occurrence
frequency and its time evolution throughout galactic history, with the
aim to provide an understanding of the impact of these individual
sites on the evolution of the Galaxy.  The goal is to identify those
astrophysical site(s) responsible for the total solar r-process
abundances as well as the observed features during galactic evolution.

\subsection{Supernova vs.\ r-process imprints in early galactic
  evolution}
\label{sec:supernova-vs-r}

Based on the nucleosynthesis predictions for (regular) core-collapse
and for type Ia supernovae, plus their occurrence rates, one finds
that the early phase of the evolution of galaxies is dominated by the
ejecta of (fast evolving) massive stars, i.e.\ those leading to
core-collapse supernovae. While there might exist differences for the
ejecta composition of e.g. 13, 15, 20, 25 or 40 M$_\odot$ stars,
average production ratios in the interstellar gas will be found after
some time delay when many such explosions and the mixing of their
ejecta with the interstellar medium have taken place.  These averaged
abundance ratios reflect integrated ejecta yields over the initial
mass function of stars, i.e.\ weighted with the probability of finding
stars in a certain mass interval. As type Ia supernovae originate from
exploding white dwarfs in binary systems, i.e. (a) from stars with
initially less than 8 M$_\odot$ in order to become a white dwarf and
(b) requiring mass transfer in a binary system before the type Ia
supernova explosion, such events are delayed in comparison to the
explosion of massive single stars. This follows (a) because low and
intermediate mass stars experience longer evolution phases and (b)
binary evolution adds to the delay. For these reasons type Ia
supernovae, dominating the overall production of Fe and Ni (typically
0.5--0.6 M$_\odot$ per event), are only important at later phases in
galactic evolution. As core-collapse supernovae produce larger amounts
of O, Ne, Mg, Si, S, Ar, Ca, Ti (so-called $\alpha$-elements) than
Fe-group nuclei like Fe and Ni (only of the order 0.1~M$_\odot$), their
average ratio of $\alpha$/Fe is larger than the corresponding solar
ratio.

\begin{figure}[htb]
  \centering \includegraphics[width=\linewidth]{EuFe.pdf}
  \caption{Derived [Eu/Fe] abundances for the sample, as a function of
    metallicity: r-I stars (green triangles), r-II stars (blue
    squares), limited-r (red stars), and non r- process-enhanced stars
    (black dots); upper limits are shown with black
    arrows~\citep{Hansen.Holmbeck.ea:2018}}
  \label{HansenEu}
\end{figure}

For most stars their surface abundances represent the composition of
the interstellar gas out of which they formed. This is not the case
for already evolved stars which blew off part of their envelope by
stellar winds or stars in binary systems with mass exchange. With
these exceptions we can look back into the early history of the Galaxy
via the surface abundances of unevolved low-mass stars, witnessing the
composition of the interstellar medium at the time of their birth.  In
Fig.~\ref{mgeufe} of section~\ref{sec:stellar-abunds} some of these
aspects were displayed, with the ratio [Mg/Fe] plotted as a function
of metallicity [Fe/H] for stars in our Galaxy. For Mg (a typical
$\alpha$-element and representative for many elements from O to Ti)
one sees---with a relatively small scatter---a flat value of [Mg/Fe]
between 0.3 and 0.5 up to $\text{[Fe/H]} \le -1$, which decreases down to
solar values at $\text{[Fe/H]}=0$. This can be explained, as discussed above,
by the early appearance of core-collapse supernovae from fast evolving
massive, single stars, producing on average $\text{[Mg/Fe]} = 0.4$ \citep[see
e.g.][]{Woosley.Heger.Weaver:2002,Woosley.Heger:2007,limongi18} before
type Ia supernovae set in. The properties of the latter have been
reviewed by
\citet{hillebrandt13,maoz14,Goldstein.Kasen:2018,Livio.Mazzali:2018}
as well as their nucleosynthesis features
\cite{seitenzahl17,Nomoto.Leung:2017a}. These basic features of
galactic evolution have been understood reasonably well for a majority
of elements \citep{matteucci86,nomoto13}, while still many open
questions exist in stellar evolution and the supernova explosion
mechanisms. \citep[This includes also the question of the role of more
massive stars, probably ending as black holes and related to so-called
hypernovae / long-duration gamma-ray bursts, and even more massive
pair instability supernovae][]{Heger.Fryer.ea:2003,Ertl.Janka.ea:2016,Sukhbold.Ertl.ea:2016}.

\begin{figure}[htb]
  \centering \includegraphics[width=\linewidth]{rate_ejecta_mass_v4}
  \caption{Figure taken from \citet{Rosswog.Feindt.ea:2017},
    indicating the required r-process ejecta masses as a function of
    the occurrence frequency of the production site (for references we
    refer to the original paper). The figure shows that on a typical
    SN frequency of 1/100 yrs about $10^{-4}$ to $10^{-5}$ M$_\odot$
    of r-process matter would need to be produced, for binary merger
    ejecta with about $10^{-2}$ M$_\odot$ the frequency must be rarer
    by a factor of 100 to 1000, and if even 1 M$_\odot$ of r-process
    matter would be ejected in specific events, the frequency must be
    again lower by another factor of 100.  \label{rosswogr}}
\end{figure}

The solar abundance of Eu is to more than 90\% dominated by those
isotopes which are produced in the r~process
\citep{bisterzo15,bisterzo17}. Therefore it is considered as a major
r-process indicator.  The ratio [Eu/Fe], already displayed in
Fig.~\ref{mgeufe} of section~\ref{sec:stellar-abunds} and its recent
update in Fig.~\ref{HansenEu} (above), shows a huge scatter by more
than two orders of magnitude at low metallicities, corresonding to
very early in galactic evolution. While the evolution of the average
ratio resembles that of the alpha elements, being of a core-collapse
supernova origin and also experiencing a decline to solar ratios for
$\text{[Fe/H]}\ge -1$, it is far more complex to understand Eu than
$\alpha$-elements like Mg. In this section, we will discuss the
suggested origins for the r~process and the possibility of their
discrimination.  A large scatter seems to indicate a not yet well
mixed or averaged interstellar medium and thus a lower occurrence rate
for r-process events, compensated by larger amounts of their ejecta
(see Fig.~\ref{rosswogr}) in order to be consistent with total solar
abundances.

\begin{figure*}[htb]
  \centering \includegraphics[width=0.326\linewidth]{ge_johnf}%
  \hspace{0.01\linewidth}%
  \includegraphics[width=0.326\linewidth]{fig5_johnf}%
  \hspace{0.01\linewidth}%
  \includegraphics[width=0.326\linewidth]{zreu6_johnf}
  \caption{Left: [Ge/H] vs. [Fe/H] ratios from low metallicity
    observations. One sees a correlated rise of Ge and Fe, i.e.\ at
    these low metallicities (where type Ia supernovae do not yet
    contribute significantly) this points to a joint origin, where Ge
    and Fe co-produced, i.e.\ in core-collapse supernovae. Center:
    [Ge/Fe] vs. [Eu/Fe]. While Ge/Fe is already almost constant,
    related to the ratio displayed in the top panel, Eu/Fe shows large
    variations, due to rare (non-supernova?) events which were
    contributing in a different way. Right: [Zr/Fe] vs. [Eu/Fe]. One
    sees a slight/weak correlation, indicating that Zr is partially
    co-produced with heavy (strong) r-process elements like
    Eu. However, the very weak correlation points also to a
    combination of different and joint origins, possibly also a
    contribution from a weak r~process or other nucleosynthetic origin
    from core-collapse
    supernovae~\citep{Cowan.Sneden.ea:2005}.\label{johnny}}
\end{figure*}

Also rare events, if consistent with the overall solar r-abundances,
would need to support the averaged [Eu/Fe] ratios at low
metallicities, combined with a scatter of individual observations. The
observed approach to the average [Eu/Fe] ratio with a small scatter
occurs only in the interval $-2\le\text{[Fe/H]}\le -1$. This shift in
comparison to the behavior of [Mg/Fe] (see Figs.~\ref{mgeufe}
and~\ref{HansenEu}) is consistent with the fact that the much higher
supernova rate, responsible for Mg (but also e.g. Zn and Ge), leads to
a much earlier approach to average values already at metallicities of
about $\text{[Fe/H]}=-3$.

A further interesting aspect of this analysis is related to the
question whether r-process elements are correlated or not correlated
with other nucleosynthesis products, in order to determine whether
they were co-produced in the same nucleosynthesis site or require a
different origin.  In Fig.~\ref{johnny} we show the behavior of Ge,
Zr, and Eu with respect to Fe.  In case of different origins of e.g.\
Fe, Ni, Zn, and Ge (from regular core-collapse SNe) vs.\ r-process
elements, there should be no correlation between Fe and Eu, as
actually observed \citep{Cowan.Sneden.ea:2005}.

Combining these considerations, we come to the following preliminary
conclusions for the sites discussed in
section~\ref{sec:astr-sites-their}:

\begin{enumerate}
  \renewcommand{\theenumi}{\alph{enumi}}

\item Electron-capture supernovae can possibly produce a weak
  r~process, not a strong one, and they are probably not rare, if
  containing stars from the interval of 8 to 10~M$_\odot$ of the
  initial mass function. \label{item:ecsn}

\item The neutrino-induced processes in He-shells of low-metallicity
  massive stars
  \citep{Epstein.Colgate.Haxton:1988,Banerjee.Haxton.Qian:2011,Banerjee.Qian.ea:2016}
  would also be frequent events at low metallicities, and not lead to
  a large scatter of e.g. [Eu/Fe]. In addition, the related peaks
  would not be consistent with a strong r~process.

\item The regular neutrino-driven core-collapse SNe which produce Fe,
  but at most a weak r~process \citep[e.g.][for an extended set of
  references see
  section~\ref{sec:neutrino-winds-from}]{Wanajo.Janka.Mueller:2011,Martinez-Pinedo.Fischer.ea:2012,Roberts.Reddy.Shen:2012}
  are excluded as site of a strong r~process, because they do not
  produce the correct abundance pattern and would also be too
  frequent, not permitting a large scatter in [Eu/Fe] at low
  metallicities.

\item Quark deconfinement supernovae could be rare, if existent, but
  present predictions display not a full strong r~process up to the
  third peak.

\item Magneto-rotational supernovae, leading to magnetars (i.e.\
  neutron stars with magnetic fields of $10^{15}$~G) rely still on
  parameter studies and depend on assumptions on rotation rates and
  magnetic field strengths. Due to these somewhat extreme initial
  conditions before collapse, they will be rare events, possibly as
  infrequent as 1 in 100 to 1 in 1000 of regular core-collapse
  supernovae. This would produce a large [Eu/Fe] scatter and also be
  consistent with the required total r-process production (see
  Fig.~\ref{rosswogr}) and abundances pattern, but this site requires
  observational confirmation. \label{item:magneto}

\item Collapsars, if resulting in events as predicted by
  \citet{Siegel.Barnes.Metzger:2018}, could also be consistent with
  observations, if they would occur even rarer than
  magneto-rotoational supernovae by a factor of 100. At a first glance
  they would contradict the observational finding that r-process sites
  should not co-produce Fe (see Fig.~\ref{johnny}). However, in solar
  abundances the ratio of Fe/r-process elements is of the order
  1000. If collapsars would produce 0.5~M$_\odot$/1~M$_\odot$, this
  would result in ratios of about 0.5, being off by more than three
  orders of magnitude. These negligible Fe contributions in comparison
  to r-process matter with respect to solar would not be visible in a
  plot like Fig.~\ref{johnny}. \label{item:collapsars}

\item Compact binary mergers (NS-NS as well as NS-BH mergers) would
  lead to a similar total ejecta mass and (rare) occurrence frequency
  as discussed in case~(\ref{item:magneto}). Their occurrence and
  contribution to heavy elements is observationally proven via
  gravitational wave, (short) GRB, as well as macronova/kilonova
  observations.  Abundance predictions are consistent with overall
  solar r-abundances. \label{item:cbm}
\end{enumerate}

Summarizing the sites above, we have (of the sites consistent with the
observational constraints of Figs.~\ref{rosswogr} and~\ref{johnny}),
as well as the reproduction of a solar r-process pattern, the
following ones remaining: (\ref{item:magneto}) magneto-rotational
supernovae (magnetars), (\ref{item:collapsars}) collapsars, and
(\ref{item:cbm}) compact binary mergers. Of these (\ref{item:magneto})
and (\ref{item:collapsars}) would belong to massive stars, i.e.\
occurring during the earliest instances of galactic
evolution. (\ref{item:cbm}) is related to the coalescence of compact
objects produced via the collapse of massive stars and would possibly
experience a delay in their occurrence. Such differences might be
recognizable in galactic evolution modeling.

The following subsection will address the question how rare and
frequent events can be modeled consistently in galactic chemical
evolution.  Another aspect is how actually early galactic evolution
takes place. There exist indications that (ultra-faint) dwarf galaxies
are the earliest building blocks of galactic evolution and their
merger will finally lead to the evolution of the early Galaxy as a
whole. Due to different gas densities they might experience different
star formation rates and due to a low gravitational pull they might
lose explosive ejecta more easily. This can have an effect on the
point in time (and metallicity) when the first imprints of explosive
ejecta can be observed. These features will be addressed as well.

\subsection{Galactic Chemical Evolution Modelling}

\subsubsection{Homogeneous evolution models}

Chemical evolution of galaxies has made strong advances since its
early days. Initially all approaches made use of the instantaneous
recycling approximation in the sense, that the ejecta of stellar end
stages were utilized without delay immediately after the corresponding
star formation, assuming that the stellar evolution time scale is
short in comparison to galactic evolution. If, in addition, the
instantaneous mixing approximation was applied, i.e.\ assuming that
the ejecta were instantaneously mixed throughout the galaxy, the whole
galaxy acts as homogeneous box. Neglecting this complete mixing
throughout the Galaxy can explain radial gradients, but would still
assume mixing within large and extended volumes (e.g.\ radial
shells). Further developments included infall of primordial matter
into and outflow of enriched material out of the Galaxy \citep[for a
review of these early investigations see
e.g.][]{Audouze:1976,Tinsley:1980}. When relaxing the instantaneous
recycling approximation, i.e.\ taking into account that (explosive)
stellar ejecta enter the interstellar medium (ISM) delayed with
respect to the birth of a star by the duration of its stellar
evolution, detailed predictions for the evolution of element
abundances can be made. Based on nucleosynthesis predictions for
stellar deaths, a number of detailed analyses have been performed,
from light elements up to the Fe-group
\citep[e.g.][]{matteucci86,Wheeler.Sneden.Truran:1989,Timmes.Woosley.Weaver:1995,Matteucci.Chiappini:2001,Kobayashi.Umeda.Nomoto.ea:2006,Pagel:2009,Matteucci:2012,nomoto13}. Such
approaches have also been applied to understand the enrichment of
heavy elements in the Galaxy (including r-process contributions) as a
function of time or metallicity [Fe/H] \citep[see
e.g.][]{Travaglio.Galli.Gallino.ea:1999,Ishimaru.Wanajo:1999,Dedonder.Vanbeveren:2004,Wanajo.Ishimaru:2006,Matteucci.Romano.Arcones.ea:2014,
  ishimaru15,Vangioni.ea:2016,Cote.Belczynski.ea:2017,hotokezaka18,cote18}.

The instantaneous mixing approximation (IMA) simplifies a chemical
evolution model in terms of mass movement. In detail, all event
outputs are expected to cool down and mix with the surrounding ISM
instantaneously. Such approaches always result in an average value of
element ratios and do not exhibit a spread which can be observed at
low metallicities.  Thus, the greatest problem of the IMA
simplification is: All stars at a given time inherit the same
abundance patterns of elements and therefore it is impossible to
reproduce a scatter in the galactic abundances, which seems to be a
crucial aspect, especially at low metallicities. As a consequence,
instead of a spread of abundance distributions, curves with a single
value for each [Fe/H] are observed. Utilizing the instantaneous mixing
approximation leads thus also to a unique relation between galactic
evolution time and metallicity [Fe/H], i.e.\ any [Fe/H] can be related
to a specific time in the evolution of a galaxy and for each [Fe/H],
due to the instantaneous mixing, only a mean value of [X/Fe] (X being
the element of interest to follow in chemical evolution) is obtained.
This (IMA) approach may be used to get a quick overview of the trends
in chemical evolution with a considerably lower computational effort
for such a model. For a detailed study of especially early chemical
evolution, including the reproduction of spreads in abundance ratios
due to local inhomogeneities, however, this approach is not
sufficient.

\subsubsection{Inhomogeneous galactic chemical evolution}

Local inhomogeneities can only be produced if only limited amounts of
ISM are polluted by and mixed with the ejecta of each event. The
latter effect is of essential importance especially at low
metallicities, where portions of the ISM are already polluted by
stellar winds and supernovae, and others are not. Inhomogeneous mixing
could produce larger element ratios in strongly polluted areas and
smaller values in still less polluted ones. This means that the
scatter in [X/Fe] at low metallicities can be a helpful asset in
hinting to the origin of element X. Inhomogeneous mixing can
experience similar [Fe/H] values in different locations of the Galaxy
at different times or different [Fe/H] values at the same time. In
addition, different portions of the ISM are polluted by different
types of events, leading to a scatter at the same metallicity, which
can in fact be utilized as a constraint for these different stellar
ejecta.  This is especially the case in the very early galactic
evolution ($\text{[Fe/H]}<-3$), when locally (out of a whole intitial mass
function, IMF) only a few stars might have exploded and imprinted
their stellar neighborhood with their ejecta.  Thus, rare events,
which produce large amounts of element X in each event, would cause a
large scatter, which could be used as a very helpful constraint to
identify the production site.  Therefore, more advanced chemical
evolution studies revoked the instantaneous mixing approximation
\citep[e.g.][]
{Chiappini:2001a,Recchi:2001,Argast.Samland.ea:2004,Spitoni:2009,Recchi:2009,vandervoort15,cescutti15,wehmeyer15,shen15,hirai15,hirai17,hayneskobayashi18}.
For the reasons summarized above, specially for the origin of
r-process elements like Eu, we think that only such inhomogeneous
chemical evolution models should be utilized.

While some of the models mentioned here are of a more stochastic
nature, \citet{Minchev.ea:2014} started with truly chemo ``dynamical''
galactic evolution models. These, as well as
e.g. \citet{vandervoort15,hirai15,shen15,Kobayashi:2016,hirai17,hayneskobayashi18},
are based on SPH simulations. They can model in a self-consistent way
massive mergers of galactic subsystems (treated as infall in simpler
models), energy feedback from stellar explosions causing outflows (and
introduced as such in simpler models), radial migrations in disk
galaxies, mixing and diffusion of matter in the ISM, and the
initiation of a star formation dependence with progenitor mass. Thus,
these global SPH approaches are on the one hand most suitable to model
such environments. However, the mass and smoothing length utilized for
the SPH particles will also determine the resolution and cause an
artificial mixing on such scales which are not neccessarily related to
the real mixing mechanisms.  These effects go into the direction of
the instantaneous mixing approximation on such scales. In reality a
$10^{51}$~erg supernova explosion mixes via a Sedov blast wave only
with about $5\times 10^4$~M$_\odot$ of interstellar medium.  Although
different explosion energies and ejecta geometries are encountered,
detailed simulations \citep{Montes.Ramirez.ea:2016} come to similar
results for neutron star mergers. SPH particle masses or smoothing
lengths can exceed these scales.

Inhomogeneous chem(odynam)ical evolution models for r-process
elements, like Eu, have been provided by
\citet{Argast.Samland.ea:2004}, comparing neutron star mergers and
core-collapse supernovae, by \citet{cescutti15,wehmeyer15}, comparing
MHD jet-SNe and regular core-collapse supernovae, and
\citet{vandervoort15,shen15,hirai15,hirai17}, only utilizing neutron
star mergers. One of the main questions here is related to the problem
of reproducing [Eu/Fe] at low(est) metallicities. \citet{wehmeyer15}
treated the galactic chemical evolution of europium (Eu), iron (Fe)
and $\alpha$-elements, like e.g.\ oxygen (O), still utilizing a more
classical stochastic approach with a parametrized infall of primordial
matter, and a Schmidt law for star formation. This neglects (large
scale turbulent) mixing effects and includes only those introduced by
stellar explosions and the so initiated mixing with the surrounding
ISM according to a Sedov-Taylor blast wave. However, the model permits
inhomogeneities due to a local memory of the addition of stellar
ejecta. This stochastic approach grasps the main features of the
impact of the first stars and their (explosive) ejecta on the
evolution of the heavy element enrichment.  \citet{hayneskobayashi18}
did probably perform the most extensive simulations of all these
approaches.  \citet{ojima18}, on the other hand, utilized a variation
of sizes of galactic substructures of the scale of (ultrafaint) dwarf
galaxies within an IMA approach, made use of related different star
formation rates and different outflows according to their gravity, and
added stochastically---within a Monte Carlo scheme---neutron star
mergers in these substructures within the range of possible
coalescence delay times. The merging of these substructures is
expected to represent eventually the early Galaxy as a whole.

One of the major aspects within these approaches for the treatment of
compact binary mergers is the connection of earlier supernova events,
producing a neutron star and Fe ejecta, with the later delayed merger
event and its r-process ejecta. Since explosive events give rise to
nucleosynthesis, inside a supernova remnant bubble (given by a
Sedov-Taylor blastwave) the abundances of metals are higher than
outside such a remnant. A star which is born later \emph{inside} such
a remnant will inherit more metals than a star born
\emph{outside}. Thus, it is of high importance, \emph{where} a star is
born during galactic evolution, especially in the early phases. If the
later merger is occurring within the supernova remnant bubble,
producing large amounts of r-process matter, the [Fe/H] has been set
already by the earlier supernova explosions and the related [Eu/Fe]
ratios will appear at the appropriate [Fe/H]. This is the main
question with respect to having large Eu contributions already at
lowest metallicities.  There are ways out of this connection: (a)
neutron star kicks during the supernova explosions act in such a way
that the actual neutron star mergers takes place outside the initial
Fe pollution by the preceding supernovae, (b) neutron star - black
hole mergers would have only experienced the Fe-ejecta of one
supernova, (c) large scale turbulent mixing leads to the dilution of
Fe on timescales shorter than the coalescence delay time of the
mergers. Such effects are not (yet) necessarily treated correctly by
present models.

\subsection{Connecting observational constraints on r-process
  abundances with different astrophysical sites}

In subsection~\ref{sec:supernova-vs-r}, we listed possible production
sites for a strong r~process. They need to fulfill the observational
constraints: (i) in order to lead to a large scatter of r/Fe at low
metallicities these events must be rare in comparison to regular
core-collapse supernovae (this does not exclude the latter from being
the site for a weak r~process), and (ii) if they should be the
dominant site responsible for the solar r-abundances, the combination
of their ejecta mass and occurrence frequency must be able to match
this requirement. Of the listed possible sites (\ref{item:magneto})
magneto-rotational supernovae, (\ref{item:collapsars}) collapsars, and
(\ref{item:cbm}) compact binary mergers could possibly fulfill both
criteria. (\ref{item:cbm}) stays for a rare, observed and confirmed
event with the ejecta amounts consistent with reproducing solar
abundances. (\ref{item:magneto}) and (\ref{item:collapsars}) are
possible, still postulated, events. If the required high rotation
rates and magnetic fields for magneto-rotational supernovae (leading
to magnetars) can exist, they would eject similar amounts of r-process
matter as binary mergers, and if they exist in reality they wil be
rare. (\ref{item:collapsars}) collapsars, also known as hypernovae or
observed as lGRBs, have been related to high $^{56}$Ni ejecta, but
recently also postulated to eject as much as 1~M$_\odot$ of r-process
matter~\citep{Siegel.Metzger:2017,Siegel.Barnes.Metzger:2018,Janiuk:2018}. In a such case, these events should be very rare, even a
factor of 100 rarer than compact binary mergers.

A further requirement, in addition to the two discussed above (rarity
and reproducing the total amount of solar r-abundances) is that
galactic evolution modeling should reproduce the observed time or
metallicity evolution.  A number of inhomogeneous chemical evolution
studies, which can follow local variations of abundances due to the
specific contributions by individual explosions, have implemented this
\citep{Argast.Samland.ea:2004,vandervoort15,shen15,wehmeyer15,hirai15,mennekens16,hirai17,hayneskobayashi18}.
There exists one difference between (\ref{item:magneto},
\ref{item:collapsars}) and (\ref{item:cbm}), in the first case the
events result from the final phases of a single massive star, in the
latter one or two prior supernovae (producing a neutron star and
Fe-ejecta) are required, before---with a delay---(the delay or
coalescence timescale) the merger can take place.

Therefore the question arises, whether the scatter of r-process
elements like Eu compared to Fe, [Eu/Fe], at low metallicities (which
covers more than two orders of magnitude, see Figs.~\ref{mgeufe}
and~\ref{HansenEu}, and hints at production sites with a low event
rate) and its time evolution before approaching an average ratio only
in the interval $-2<\text{[Fe/H]}<-1$, can be explained by all
scenarios. The delay of approaching an average value in comparison to
[Mg/Fe], where this takes place at $\text{[Fe/H]}<-3$, can be due to
the much lower rate in comparison to the core-collapse SNe rate,
causing the largely different metallicities where the approach to
average values takes place. But the question is also whether the early
appearance of high [Eu/Fe] values can be consistent with a ``delayed''
process like compact binary mergers.  The supernovae responsible for
producing at least one neutron star produce also Fe, which can shift
the appearance of a typical r-process element like Eu to higher
metallicities [Fe/H] (see Fig.~\ref{weh1}).  This effect has been
discussed in inhomogeneous galactic evolution models utilizing neutron
star mergers, i.e.\ events with two prior supernovae and their
Fe-ejecta
\citep{Argast.Samland.ea:2004,cescutti15,wehmeyer15,hayneskobayashi18}. These
authors come to the conclusion, also~\citet{Voort.Others:2018}, that
neutron mergers have problems to explain [Eu/Fe] at lowest
metallicities, while other inhomogenous models claim to do so
\citep{vandervoort15,shen15,hirai15,Ramirez-Ruiz.Trenti.ea:2015,hirai17}. This
difference is probably related to resolution and mixing issues
discussed in the previous subsubsection, which include uncertainties
(and also possible solutions), but it should be noted that the high
resolution run of \citet{vandervoort15} as well as recent further
investigations~\citep{Voort.Others:2018} indicates the rise of [Eu/Fe]
to occur at too high metallicities as well. Whether and how much the
use of NS-BH mergers, which explode in an evironment polluted only
with Fe by one prior supernova, improve this situation needs to be
seen~\citep{Wehmeyer.Others:2018}.  A different issue is the
formation of the Galaxy from small substructures like (ultra-faint)
dwarf galaxies, which, due to different gas densities, experience
different star formation rates and, due to small gravity, the loss of
metals from explosive events, both shifting the occurrence of
abundance features to lower metallicities.  An early simpler IMA
approach by \citet{ishimaru15}, recently extended by a stochastic
inclusion of neutron star mergers, which are permitted to vary
statistically with respect to coalescence time scales \citep{ojima18},
seems also to provide a solution.

\begin{figure}
  \includegraphics[width=\linewidth]{wehmeyer1}\\
  \includegraphics[width=\linewidth]{fig_7_cote}
  \caption {top: Influence of coalescence timescale and neutron star
    merger probability on Eu-abundances in inhomogeneous galactic
    chemical evolution. Magenta stars represent observations. Red dots
    correspond to model star abundances as in
    \cite{Argast.Samland.ea:2004}. The coalescence timescale utilized
    is $10^8$ years with a typical probability consistent with
    population synthesis \cite{wehmeyer15}. Green dots illustrate the
    effect on the abundances if the coalescence timescale is shorter
    (around $10^6$ years).  Blue dots show the abundance change if the
    probability of neutron star mergers is increased. bottom: results
    of a simpler galactic evolution approach with IMA by
    \citet{Cote.Belczynski.ea:2017} in comparison to observational
    data (crosses and circles), utilizing a set of supernova yields
    and delay time distributions for the binary merger following a
    power law $t^{-\gamma}$ in the range $10^7$ to $10^{10}$ years.
    Population synthesis studies favor $\gamma=1$. Within these
    treatments of galactic chemical evolution, none of the binary
    compact merger studies would permit a fit with observations of low
    metallicity stars in the metallicity range
    $-4<\text{[Fe/H]}<-2.5$.\label{weh1}}
\end{figure}

The previous investigations utilized coalescence delay times for
neutron star mergers after the formation of the binary neutron star
system with a narrow spread. Population synthesis studies, consistent
with the occurrence of short-duration gamma-ray bursts (sGRBs, related
to mergers) indicate that the possible delay times follow a
distribution with a large spread, ranging over orders of magnitude
with a $t^{-1}$ behavior.  Based on such a behavior, studies with
simpler IMA modeling of chemical evolution
\citep{Cote.Belczynski.ea:2017,hotokezaka18,cote18} come to the
conclusion that mergers would not be able to reproduce the early
galactic evolution for metallicities $\text{[Fe/H]}<-2$, and not even
the downturn at $\text{[Fe/H]}=-1$. Thus, problems would remain to
explain the strong r~process by NS-mergers alone.  But the path to the
binary merger is a complex one. The mass, ejecta, and explosion energy
of the second supernova in a binary system have to be addressed for a
full understanding \citep{Mueller18}. This includes the fact that in
the binary evolution neutron star kicks from supernova explosions
could move the neutron star binary far out of the reach of the initial
supernova remnants which polluted the local ISM with Ni and Fe
\citep{fryer.kalogera97,Kalogera.Fryer:1999,Abbott17d}.  If in such a
way the merger event can be displaced from the original supernovae,
\citet{Wehmeyer.Others:2018} finds that mergers could be made
barely consistent with the [Eu/Fe] observations, if such displacement
is taken into account and very short coalescence timescales of $10^6$~yr are used. In addition, the difference between neutron star mergers
and neutron star - black hole mergers, experiencing only the pollution
by one prior supernova, has to be
investigated~\citep{Wehmeyer.Others:2018}.

After this still somewhat inconclusive result with respect to the
question whether neutron star mergers alone can provide the
explanation for a strong r~process throughout and also in the early
Galaxy, there exist the other options (\ref{item:magneto} and
\ref{item:collapsars}) related to massive stars which can enter their
ejecta immediately at the end of their stellar life and are possibly
neglible Fe-producers.  Thus, alternatively, a rare class of
core-collapse supernovae (or collapsars?) might play a significant
role, exploding early in galactic evolution. If producing also a solar
r-process pattern, they could be responsible for explaining
observations at low metallicities. Early suggestions, that so-called
electron-capture supernovae (\ref{item:ecsn}) in the stellar mass
range 8-10~M$_\odot$
\citep{Kitaura.Janka.Hillebrandt:2006,Janka.Mueller.ea:2008,Wanajo.Nomoto.ea:2009,Wanajo.Janka.Mueller:2011}
would be able to produce a strong r~process, were never
confirmed. They would also not correspond to rare events. However,
other objects driven by strong magnetic fields and fast rotation
(possibly about 1\% or less of all core-collapse supernovae), leaving
behind $10^{15}$ Gauss neutron stars (magnetars), could be
important. Such magneto-rotational (MHD)jet-SNe (\ref{item:magneto})
show similar characteristics in the amount of r-process ejecta and the
occurrence frequency as neutron star mergers, but---because these
objects result from massive single stars---they do not experience the
delay of binary evolution
\citep{Winteler.Kaeppeli.ea:2012,nishimura15,Nishimura.Sawai.ea:2017,moesta18,halevi18}.
This means that they enter galactic evolution at lowest metallicities,
resulting in a large scatter in r/Fe due to them being rare
events. This can be seen in Fig.~\ref{weh2}, which shows the result of
a superposition of magneto-rotational MHD-jet supernovae and neutron
star mergers. This way observations can be matched from lowest
metallicities up to present.  The very recent results by
\citet{Siegel.Barnes.Metzger:2018} and also \citet{Janiuk:2018} for
collapsars (\ref{item:collapsars}) would point in the same direction. One aspect which is
not clear here, is whether hypernovae, collapsars, lGRBs are a
homogeneous class of objects and would all come with huge amounts of
$^{56}$Ni ejecta. This would in principle be contradictory to the
observational findings of Fig.~\ref{johnny}, indicating that strong
r-process sites are not correlated with Fe-group ejecta, unless the
relative overproductions of e.g. Fe vs. Eu with respect to solar
abundances is negligible (which would be the case for $^{56}$Ni ejecta
of 0.5~M$_\odot$ and r-process ejecta of up to 1~M$_\odot$).

\begin{figure}
  \includegraphics[width=\linewidth]{wehmeyer2}
  \caption{Evolution of Eu-abundances in galactic chemical evolution
    models \citep{wehmeyer15} including both magneto-rotational
    supernovae and neutron star mergers as r-process sites.  Magenta
    stars represent observations whereas green dots represent model
    stars. The combination of magneto-rotational MHD-jet supernovae -
    being of strong importance at low metallicities - early in the
    evolution of the Galaxy, and neutron star mergers permits a
    perfect fit with observations.  \label{weh2}}
\end{figure}

\subsection{r-Process Cosmochronometers}
\label{sec:r-proc-cosm}

A complete list of isotopes with half-lives in the range
$10^7-10^{11}$ yr is given in Table~\ref{tab1}. They cover a time span
from a lower limit in excess of the evolution time of massive stars up
to (and beyond) the age of the universe. Such nuclei can be utilized
as ``chronometers" for~processes in galactic evolution and also serve
as a measure for the age of the galaxy (and thus as a lower limit for
the age of the universe, see the earlier discussion
in~\ref{sec:radioactive}).  The list is not long. Two of the nuclei
require predictions for the production of the ground and isomeric
($^{92}$Nb, $^{176}$Lu).  With the exception of $^{40}$K, all of the
remaining nuclei are heavier than the ``Fe-group" and can only be made
via neutron capture.

\begin{table}[htb]
  \begin{center}
    \caption {Isotopes with half-lives in the range $10^7$-$10^{11}$
      yr}
    \label{tab1}
    \begin{ruledtabular}
      \begin{tabular}{cccc}
        {Isoptope} & {Half-Life} & {Isoptope} & {Half-Life}\\
        \hline
        $^{40}$K & $1.3\times 10^9$ yr & $^{205}$Pb & $1.5\times 10^7$ yr\\
        $^{87}$Rb & $4.8\times 10^{10}$ yr & $^{232}$Th & $1.4\times 10^{10}$ yr\\
        $^{92}$Nb & $3.5\times 10^7$ yr & $^{235}$U & $7\times 10^8$ yr\\
        $^{129}$I & $1.6\times 10^7$ yr & $^{236}$U & $2.3\times 10^7$ yr\\
        $^{147}$Sm & $1.1\times 10^{11}$ yr & $^{238}$U & $4.5\times 10^9$ yr\\
        $^{176}$Lu & $3.7\times 10^{10}$ yr & $^{244}$Pu & $8\times 10^7$ yr\\
        $^{187}$Re & $4.4\times 10^{10}$ yr & $^{247}$Cm & $1.6\times 10^7$ yr
      \end{tabular}
    \end{ruledtabular}
  \end{center}
\end{table}

The nuclei with half-lives comparable to the age of the
Galaxy/Universe, $^{232}$Th and $^{238}$U, are made in a single
nucleosynthesis process (as well as all other actinide isotopes listed
here). These elements, the heaviest ones occurring in nature beyond
Bi, are all products of the r~process. The possible astrophysical
settings have been discussed in the previous sections. The question is
how to predict reliable production ratios for these long-lived
isotopes, if (a) not even the site is completely clear, and (b) even
for a given site nuclear uncertainties enter.  The abundances of
especially these heaviest nuclei produced in the r~process depend on
mass models, $\beta$-decay properties (half-lives, delayed fission,
delayed neutron emission), fission barriers and fragment
distributions, and last but not least neutron captures, especially
their rates during the r-process freeze-out, pointing also to the role
direct capture plays in comparison to compound nuclear reactions
\citep[see e.g.][and the general discussion in
sections~\ref{sec:exper-devel-r}
and~\ref{sec:nuclear-modeling-r}]{Goriely.Martinez-Pinedo:2015,Eichler.Arcones.ea:2015,Mendoza-Temis.Wu.ea:2015}.

Among the stars with observed Th and U, there exist a number of
so-called actinide-boost stars with an enhanced ratio of Th/Eu and
U/Eu in comparison to all other r-process enhanced stars \citep[see
e.g.][]{Roederer.Kratz.ea:2009,Holmbeck.Beers.ea:2018}, observed
especially at low metallicities around $\text{[Fe/H]}\approx -3$. While most
of their element abundances, up to the third r-process peak, are
consistent with solar-system r-abundances, the deviations occur
essentially only for elements beyond the third r-process peak.  This
could point to either a different site than the one responsible for
the solar-type r-process abundances or variations of conditions in the
same site, dependent on still unknown aspects
\citep{Holmbeck.Surman.ea:2018}.

Nevertheless, for many years such chronometers have been utilzed to
attempt predictions for the age of the Galaxy as a lower limit for the
age of the Universe \citep[for early reviews
see][]{Fowler.Hoyle:1960,Schramm.Wasserburg:1970,Cowan.Thielemann.Truran:1991}.
This has been performed initially with simplified chemical evolution
models via (i) the prediction of $^{232}$Th/$^{238}$U and
$^{235}$U/$^{238}$U ratios in r-process calculations, (ii) applying
them in galactic evolution models, which include assumptions about the
histories of star formation rates and r-process production, and
finally (iii) comparing these ratios with meteoritic data, which
provide the Th/U and U/U ratios at the formation of the solar
system. In addition for the early reviews on this method, mentioned
above, see \citet{Panov2017} for recent investigations along these
lines.  An advantage (somewhat decreasing the nuclear uncertainties
involved) is that $^{232}$Th and $^{235,238}$U are populated by
$\alpha$-decay chains und therefore uncertainties in the predictions
of individual isotopes average out to some
extent~\cite{Goriely.Clerbaux:1999}.  Parametrized, so-called
site-independent fits, based on a superposition of neutron densities
which reproduce all solar r-process abundances from $A = 130$ through
the actinides, have been utilized to predict their production
ratios~\citep{Goriely.Arnould:2001} (obtained in a similar fashion as
those in Fig.~\ref{figkratz}). \citet{Goriely.Janka:2016} have used
adiabatic and steady-state neutrino-driven wind models and considered
the superposition of a large number of contributing components to
study the production of cosmochronometers.  Alternatively to the ratio
of long-lived actinide isotopes, also the ratios of e.g.  $^{232}$Th
and $^{238}$U to other (stable) r-process nuclei like Eu can be
utilized to check for consistency. Other options include the ratio of
Th and U to stable Pb, which has in addition to the s-process
contribution (i) a direct r-process contribution to the
$^{206,207,208}$Pb isotopes (ii) a contribution due to fast $\alpha$-
and $\beta$-decay chains from unstable nuclei produced in the
r~process beyond Pb (decaying within less than $10^6$~yr), and finally
(iii) a contribution from the long-lived decay chains originating at
$^{232}$Th and $^{235,238}$U~\citep{Roederer.Kratz.ea:2009,Frebel.Kratz:2009}.

Low-metallicity stars have the advantage that one can avoid
uncertainties introduced by chemical evolution modeling. The
metallicities of the halo stars for which neutron-capture element data
have become available range from $\text{[Fe/H]} = -3$ to about
$-2$. Typical, still simple (galactic chemical) evolution calculations
suggest roughly the metallicity-age relation $\text{[Fe/H]} = -1$ at
$10^9$~yr, $\text{[Fe/H]} = -2$ at $10^8$~yr, and $\text{[Fe/H]} = -3$
at $10^7$~yr \citep[if the instantaneous mixing approximation IMA
could be applied at such low metallicities, see,
e.g.][]{Tsujimoto.Yoshii.ea:1997,Chiappini:2000}. Even if these
estimates are uncertain by factors of 2--3, very low metallicity stars
most certainly were born when the Galaxy was only $10^7$--$10^8$~yr
old, a tiny fraction of its present age. Thus, the neutron-capture
elements observed in very low metallicity stars were generated in only
one or at most a few prior nucleosynthesis episodes. If several events
contributed, the time interval between these events had to be very
short in comparison to Th decay ages. Thus, no error is made by simply
adding these contributions, without considering decays, and treating
them as a single r-process abundance distribution which undergoes
decay from the time of its incorporation into a (low metallicity) star
until its detection in present observations.  Making use of the
earlier mentioned, so-called site-independent, predictions for
r-process production ratios, combined with the presently observed
abundance ratios found in low-metallicity stars, can give an
indication for the decay time of its radioactive isotopes since the
star was born and polluted with an original r-process pattern.
Typical results for ages of most low-metallicity r-process enhanced
stars are in the range of 12--14~Gyr
\citep{Cowan.Pfeiffer.ea:1999,Schatz.ea:2002,Kratz2004,Roederer.Kratz.ea:2009}. This
approach assumes that the production ratios of the site(s) responsible
for these observations are consistent with those reproducing a solar
r~process.

Actinide boost stars are observed especially at low metallicities
around $\text{[Fe/H]}\approx -3$ \citep[see Fig.~\ref{boost} from][]
{Holmbeck.Beers.ea:2018}.  This could point to either a different site
than the one responsible for the solar-type r-process abundances or
variations of conditions in the same site, dependent on still unknown
aspects.  An interesting feature, affecting actinide to Eu ratios is
related to the path of the r~process and the timing when fission plays
a role.  Due to this the r-process results are dependent on the
proton/nucleon ratio $Y_e$ in the expanding matter.
\citet{Holmbeck.Surman.ea:2018} could show, with their nuclear input,
that the actinide to Eu ratio is highest for a $Y_e$ in the range
$0.15$, while lower $Y_e$'s (as expected from the dynamic tidal ejecta
of neutron star mergers) lead to smaller actinide to Eu ratios, as
found in most r-enhanced stars. The Th/U ratio, reflecting abundances
of nuclei relatively close in their mass, seems not that much
affected.  Present predictions for magneto-rotational supernovae lean
more to higher $Y_e$ values close to 0.15. This is still all very
speculative and strongly affected by uncertainties in site specific
conditions as well as in nuclear properties. However, it is intriguing
to check how both types of abundance patterns can be observed in
low-metallicity stars. Improved predictions for all the most probable
main r-process sites, discussed in the previous section \citep[plus
possibly also exotic scenarios][] {Fuller.Kusenko.Takhistov:2017} ,
can hopefully lead to a one-to-one connection between responsible
production sites and observations (although still affected both by
astrophysical site as well as nuclear uncertainties).

When applying the same (decay age) procedure to the actinide boost
stars as in earlier investigations
\citep{Cowan.Pfeiffer.ea:1999,Schatz.ea:2002,Kratz2004,Roederer.Kratz.ea:2009},
in order to determine their age by assuming initial production ratios
from the so-called site-independent analysis responsible for a solar
r-process pattern, unreasonably low or even negative ages result, as
can be seen in Fig.~\ref{boost} on the right scale.  Comparable ages
in the range 12--14~Gyr are attained only if the higher Th/Eu (and
other) production ratios are taken from nucleosynthesis conditions
with $Y_e\approx 0.15$~\citep[see Figs.~16 and 17
in][]{Holmbeck.Surman.ea:2018}. Similar results are found
by~\citet{Wu.Barnes.ea:2018} and \citet{Eichler.Others:2018}. This is
in line with chemical evolution findings
\citep{wehmeyer15,cescutti15,Cote.Belczynski.ea:2017,Cote.Fryer.ea:2018,hotokezaka18,hayneskobayashi18}
that at low metallicities an additional (early occurring) r-process
site is required before neutron star mergers can take over.

\section{Summary and Conclusions}
\label{sec:conclusions}

Since the postulation of the r~process by
\citet{Burbidge.Burbidge.ea:1957} and \citet{Cameron:1957} many
nuclear experiments and astronomical observations improved
tremendously the available input and the constraints for continuous
developments and improvements of the underlying theory and
models. Here we will pass through the important features and the
related present situation in nuclear physics, astrophysical modelling,
constraints from astronomical observations and the understanding of
the (chemical, i.e.\ abundance) evolution of our Galaxy. With respect
to the \textsc{nuclear physics}, which enters decisively in producing
the abundance pattern of the r~process, major achievements have been
accomplished. This is related to experimental progress in accessing
unstable nuclei far from stability, combined with a growing
theoretical understanding of their properties. These enter in a number
of fundamental ways:

\begin{enumerate}

\item{\emph{nuclear masses} far from stability and the behavior of
    shell closures are responsible for the location and the shape of
    the r-process peaks and subpeaks; close to shell closures the
    correct prediction of the shell gaps and the on- and offset
    of deformation plays a major role.}

\item{\emph{$\beta$-decay properties}, like half-lives, are
    responsible for the speed with which the r~process moves matter to
    heavier nuclei, with an impact (in combination with the path
    location determined by 1.) on the height of peaks and subpeaks;
    $\beta$-delayed neutron emission (affected by nuclear masses via
    neutron separation energies) leads, especially in the late phases
    during decay back to stability, to a smoothing of the abundance
    curve. In this final phase the energy production by $\beta$-decays
    is also important to understand the electromanetic emission which
    can be detected in astronomical observations.}

\item\emph{$\alpha$-decays} are also important in the final phase,
  especially the decay-chains originating from actinide nuclei,
  powering the light emission detected in astronomical observations
  and determining the r-process Pb abundance.

\item{\emph{fission} enters strongly in the termination of the
    r~process, causing fission-cycling which returns matter to lighter
    nuclei; the onset of fission (strongest probably near the $N=184$
    shell closure), or possible pathways in the nuclear chart to avoid
    it, determines the strength of fission cycling, the ratio of
    actinide to light and medium-mass r-process nuclei, and also the
    possibility to form superheavy nuclei; fission fragment
    distributions affect how masses are populated in the vicinity of
    the $A=130$ peak, especially also whether substantial fractions can
    end in nuclei below $A=130$; the amount of fission-neutrons released
    during the late phase of the r~process, can shape the final
    abundance pattern.}

\item{last but not least, \emph{neutron captures} (and their inverse
    photodisintegrations) are the substantial working horse for the
    rapid neutron capture process; fortunately, in environments with
    high neutron densities and temperatures responsible for the
    process, they occur on such a fast pace that a chemical
    equilibrium between neutron captures and photodisintegrations is
    attained, leading to an equilibrium compositon in each isotopic
    chain with maxima at the same neutron separation energy throughout
    the nuclear chart; this determines the r-process path and makes
    the connection to 1.; however, during the final declining phase of
    neutron densities, the so-called r-process freeze-out, this
    equilibrium cannot be maintained, and individual neutron captures
    affect the final abundance shape; here it plays an essential role
    that direct neutron capture probably wins over compound nucleus
    prescriptions, as it leads probably to higher reaction rates than
    predictions based on a compound nucleus picture far from
    stability; therefore, the above mentioned equilibrium holds
    probably longer during freeze-out than expected, but predictions
    and implementation of direct capture for neutron reactions are
    clearly needed (and presently not fully implemented).}

\end{enumerate}

In the investigation of all these aspects much progress has occurred,
but major uncertainties are remaining, as experiments have touched
nuclei in the r-process path only at a limited number of locations in
the nuclear chart.  However, the purely nuclear structure aspects are
not the only ones to overcome, there exist further nuclear/particle
physics, general relativity, magneto-hydrodynamiscs, atomic physics
and numerical/computational challenges in \textsc{modelling
  astrophysical sites} responsible for the production of r-process
nuclei:

\begin{enumerate}

\item{most environments expected to be sites of a strong r~process
    involve objects at highest densities, whether related to
    core-collapse, compact binary mergers, or the inner areas of black
    hole accretion disks; the \emph{nuclear and supra-nuclear equation
      of state} is of highest importance for modelling these sites,
    providing the pressure response during dynamic phases, the nuclear
    and particle composition, the existence of electron/positron pairs
    and their degeneracy, and last but not least determining maximum
    neutron star masses, which are important e.g.~for answering the
    question whether in compact binary mergers a hypermassive neutron
    star exists intermittantly or even remains as a final outcome.}

\item{such dense environments have to be modelled in \emph{general
      relativistic, high resolution multi-dimensional hydrodynamics}
    schemes in order to give provide a reliable outcome; this is
    highly challenging and computationally extremely expensive.}

\item{many of the discussed effects involve the modeling of
    \emph{magnetic fields}, possibly as a major ingredient to predict
    jet ejection; a decisive aspect is whether and how magnetic fields
    can be enhanced during these events, where the magneto-rotational
    instability plays a major role; high resolution
    magneto-hydrodynamics modeling is a field only at the brink of
    getting decent results for the modelling of complete astrophysical
    sites.}

\item{weak interactions, including electron/positron captures are
    essential, but at least of similar importance are \emph{neutrino
      interactions with matter}; the correct treatment of multi-D
    neutrino transport plays a major role in determining the neutron
    to nucleon ratio $Y_e$, which is probably the key ingredient for
    attaining a successful r~process; neutrino flavor transformations,
    especially via matter-neutrino resonances and fast pairwise flavor
    conversion, can play an essential role in compact binary mergers,
    a multi-D treatment for such complicated geometries is just at its
    infancy.}

\item{in addition to neutrino transport, general \emph{radiation
      transport via photons} is important to predict the
    electromagnetic aftermath of explosions in order to make a
    connection to observational features like lightcurves and spectra;
    this involves still unkown opacities of heavy elements, but also
    the energy release of highly unstable radioactive matter after
    explosive nucleosynthesis has taken place.}

\end{enumerate}

Based on the presently available input for nuclear properties and the
present status with respect to modelling \textsc{possible r-process
  sites}, three major options for sites of a strong r~process have
emerged:

\begin{enumerate}

\item models of \emph{compact binary mergers} indicate that they are
  prolific sites of r-process nucleosynthesis, with about 10$^{-2}$
  M$_\odot$ of ejected r-process matter in the dynamic ejecta and a
  similar amount from accretion disk outflows; when including all
  components---dynamic ejecta, neutrino winds and viscous/secular
  accretions disk outflows---they produce not only the heaviest
  r-process nuclei but also significant amounts of the standard solar
  r-process abundances for mass numbers with $A<130$; the first
  observation of a neutron star merger (GW170817), accompanied by the
  AT~2017gfo macronova/kilonova afterglow, makes this the first proven
  and confirmed production site of heavy r-process elements; neutron
  star - black hole mergers are also promising, but need to be
  confirmed.

\item there exist observational indications of 10$^{15}$ Gauss neutron
  stars (magnetars); a rare class of \emph{magneto-rotational
    core-collapse supernovae} could lead to such neutron stars with
  immense magnetic fields and related models produce r-process matter
  ejected in polar jets; however, predictions from stellar evolution
  about the distribution of magnetic fields and rotation rates before
  core-collapse are needed in order to understand the initial
  conditions, leading to such events, and investigating the role of
  the magneto-rotational instability (MRI) during the
  collapse/explosion phase is impossible without high resolution
  simulations. Thus, this is a promising site, but needs to be
  confirmed by observations.

\item very recent multi-D MHD simulation for \emph{accretion disk
    outflows from collapsars}, i.e.~objects which result from massive
  star evolution and end in the formation of a black hole, argue that
  large amounts of up to ($\approx 1$~M$_\odot$) of r-process material
  can be ejected; further simulations are needed in order to
  understand whether the whole group of massive stars, leading to
  hypernovae, collapsars, and long-duration GRBs are a homogeneous
  class with the predicted outcome and observational confirmations
  related to the composition of ejecta would be extremely helpful.

\item while the three above mentioned sites are sites (or candidates)
  for a strong r~process, producing heavy elements up to the
  actinides, there exist further options to produce a so-called
  \emph{weak r~process}, probably also synthesizing elements up to Eu,
  but with a steeper decline as a function of nuclear mass number than
  found in the solar system r-abundance pattern; such sites include
  electron capture supernovae, regular core-collapse supernovae,
  possibly also quark deconfinement supernovae.

\end{enumerate}

All of these models have to confronted with and scrutinzed by
\textsc{astronomical observations}. An interesting aspect is that one
of the listed and confirmed sites is related to binary systems, while
the others are resulting from the evolution of massive single
stars. Observations supporting and constraining r-process sites exist
in a number of ways:

\begin{enumerate}

\item the total amount of \emph{r-process matter existing in the solar
    system} (and the Galaxy) has to be explained together with the
  overall solar r-abundance pattern (although this could be a
  superposition of a multitude of events); it turns out that all three
  possible sites are rare events; if the predicted ejecta masses
  should be consistent with this requirement, the occurrence frequency
  of compact binary mergers as well as magneto-rotational supernovae
  should be between 1 event per 100 to 1000 regular supernovae; for
  mergers this would be consistent with population synthesis studies;
  collapsars should be even less frequent by a factor of about 100,
  which requires future investigations.

\item \emph{radioactive tracers} like $^{244}$Pu as well as $^{60}$Fe
  are found in \emph{deep sea sediments}; the production of $^{60}$Fe
  in frequent events, related to regular core-collapse and electron
  capture supernovae, is supported by the latest contribution dating
  back about 2 million years; on the contrary, the amount of
  $^{244}$Pu found in these sediments is lower than expected by about
  a factor of 100, if a quasi-continuous production of r-process
  elements is assumed; this points to substantial decay since the last
  addition and to much rarer events than supernovae, underlining the
  required rarity of events, consistent with all three possible
  production sites for a strong r~process.

\item observations are not only related to explaining the solar
  abundances, in fact \emph{observations indicate the presence of
    neutron-capture elements in halo stars at lowest metallicities};
  in some cases these detections indicate a complete r-process
  abundance pattern, in other cases only a partial (or incomplete)
  r-process pattern is apparent (possibly indicating a weak r~process
  origin), but it appears as though all of the early stars have some
  level of r-process enrichment; these abundance detections indicate
  nucleosynthesis early in the history of the Galaxy and provide
  important clues about the nature of the earliest stars.

\item observations of lowest metallicity stars in our Galaxy and
  (ultra-faint) dwarf galaxies show substantial variations in
  r-process elements, indicating a production site with a low event
  rate and consistent high amounts of r-process ejecta in order to
  explain solar abundances; this is also underlined by the \emph{large
    scatter of Eu/Fe} (Eu being an r-process element and Fe stemming
  from core-collapse supernovae at these low metallicities) \emph{seen
    in the earliest stars of the Galaxy}; this is explained by a not
  yet well mixed interstellar medium with respect to the ratio of
  products from regular core-collapse supernobvae and the rare
  r-process events.

\item due to the availability of experimental atomic data and high
  resolution, precision observations, r-process abundance
  determinations have improved much over time; this permitted also to
  detect \emph{the presence of long-lived radioactive nuclei like Th
    and U}, making even a \emph{"dating" of stellar ages} possible;
  the observed variations in the actinide to intermediate mass
  r-process elements like Eu, leading to so-called
  \emph{actinide-boost stars}, concentrated at lowest metallicities,
  could even give clues about different r-process sites.

\end{enumerate}

While the above observations indicate (a) a rare site for the strong
r~process, a requirement matched by all three candidates mentioned
above, (b) the observations related to the overall evolution of heavy
r-process elements in comparision to Fe, and especially its large
scatter at low metallicities, require inhomogeneous \textsc{galactic
  evolution} simulations, which can reproduce this behavior and might
actually point to favored sites:

\begin{enumerate}

\item A major open question is: \emph{can products of the neutron star
    merger r~process alone explain the observations} of a large
  scatter of Eu/Fe and other r-process elements seen already at
  metallicities of $\text{[Fe/H]}\le -3$? As the supernovae which produce the
  neutron stars of a merger already lead to a substantial floor of Fe,
  they enhance [Fe/H]. Thus, the high [Eu/Fe] due to the new ejecta
  would then be seen first at the metallicity [Fe/H] inherited from
  the prior supernovae, if the merger ejecta are mixed with the same
  interstellar medium as the prior supernova ejecta. For a typical
  explosion energy of $10^{51}$~erg and typical densities of the
  interstellar medium, this mixing would occur via a Sedov-Taylor
  blast wave in a range of about $5\times 10^{4}$~M$_\odot$. Although
  different energies are encountered in the case of neutron star
  mergers, recent investigations indicate that they would mix with a
  similar amount of interstellar medium.  Stochastic inhomogeneous
  chemical evolution calculations, utilizing only this effect alone,
  show the appearance of Eu only at about $\text{[Fe/H]}=-2$ for neutron star
  mergers. It has to be investigated how this would be affected in the
  case of neutron star - black hole mergers, as they would only lead
  to Fe-ejecta by one prior supernova.

\item \emph{Large-scale SPH simulations}, also addressing these
  issues, can suffer from resolution problems via the choice of the
  mass of the SPH particles involved as well as smoothing lengths
  applied. Both of these aspects affect the resolution and lead
  therefore (artificially) to more extended mixing than applied in
  case 1. above.  Such lower resolution blurrs the metallicity
  behavior as it implies more extended mixing on the scales of the
  resolution.  This would mix Fe with larger amounts of interstellar
  medium and thus also causes a lower [Fe/H] when the additional
  pollution by r-process ejecta takes place. While these resolution
  issues can be a disadvantage of such simulations, on the other hand
  they can also handle substantial turbulent mixing of interstellar
  medium matter in the early Galaxy. Some of these simulations seem to
  be able to reproduce the r-process behavior of low-metallicity
  observations with compact binary mergers, but the most recent ones
  also favor an additional site or source at lowest metallicities.

\item \emph{Neutron star kicks}, resulting from a supernova explosion,
  could have the binary neutron star system move out of its supernova
  remnants (polluted with Fe and Ni), and the merger event could take
  part in galactic regions unpolluted by Fe from earlier supernovae in
  the region of the final merger. This could permit the ejection of
  r-process matter in environments with a lower [Fe/H], also in the
  case of neutron star mergers. Preliminary simulations with
  stochastic inhomogeneous models (as in 1.) are able to reproduce
  observations, if coalescence delay times are as short as 1 Myr.

\item Another option is that early on, in \emph{galactic substructures
    of the size of dwarf galaxies}, different star formation rates can
  exist combined with a loss of nucleosynthesis ejecta out of these
  galaxies due to smaller gravity. This can shift the behavior of the
  [Eu/Fe] ratio as a function of metallicity [Fe/H] to lower
  metallicities. When also considering a statistical distribution of
  (down to small) coalescence timescales in the individual
  substructures, the low-metallicity observations could possibly be
  matched, while the merging of these substructures within the early
  Galaxy at later times can be made consistent with the [Eu/Fe]
  decline (similar to alpha elements) at $\text{[Fe/H]}=-1$.

\item In somewhat simpler galactic evolution models, employing the
  instantaneous mixing approximation and \emph{coalescence delay time
    distributions following a $t^{-1}$ power law}, as expected from
  population synthesis studies and statistics of short duration
  gamma-ray bursts, apparently no model can reproduce the metallicity
  dependence of the r-process/Fe abundance ratios with neutron star
  mergers alone.

\item The discussion above underlines, that it is still inconclusive
  whether binary compact mergers alone can explain low metallicity
  observations, although they are probably responsible for the
  dominant amount of r-process products in the solar system and
  present Galaxy.  \emph{When introducing an additional component
    which acts at lowest metallicities, this yields a perfect fit to
    observations}. The detection of actinide boost stars, found in
  particular at metallicities as low as $\text{[Fe/H]}\approx -3$,
  supports the argument for such an additional component with
  different nucleosynthesis conditions being active at such low
  metallicities.

\end{enumerate}

This review of all aspects of the astrophysical r~process, from
nuclear physics via stellar (explosive) modeling, astronomical
observations, as well as galactic evolution, has shown that
substantial progress has been made since it was postulated in the
1950s. But it also shows that, despite the very first observation of
an r-process production site (GW170817) in 2017, confirming neutron
star mergers as probably the most important site, many open questions
remain and further progress on all fronts is required in a truly
interdisciplinary effort, in order to answer them.

Existing and upcoming nuclear facilities world-wide (FAIR, FRIB, HIAF,
RAON, RIKEN, SPIRAL) will allow to produce neutron-rich nuclei along
the r-process path and to determine their properties, including, for
the first time, nuclei of the third r-process peak.  Relativistic
heavy-ion collision experiments envisioned for FAIR, NICA and RHIC
will generate and investigate nuclear matter at the temperatures and
densities as they exist in neutron-star mergers (and core-collapse
supernovae). These exciting experimental prospectives will constrain
and guide advances in global nuclear models, and together they will
decisively reduce the nuclear uncertainties currently hampering
r-process studies.

Observational programs targeting abundances in low-metallicity stars,
like RAVE, Gaia, and APOGEE will be incorporated in future surveys
such as SDSS V, 4MOST, and WEAVE\@. This will provide highest quality
information about the chemical structure of the Galactic disc, the
halo, and the bulge.  Multimessenger astronomy with present and future
gravitational wave detectors like LIGO, VIRGO, KAGRA, and IndIGO is
expected to detect up to 10 compact binary mergers per year, which can
be followed up with observations of related gamma-ray bursts and the
electromagnetic afterglow. This permits to analyse the outcome of many
sources with different viewing angles and will help our further
understanding of this unique site, producing the heaviest elements in
the Universe.

And finally, the advent of improved theoretical models of the nuclear
equation of state, nuclei far from stability, stellar atmospheres,
stellar evolution, stellar explosions, and state-of-the-art
chemo-dynamical models of the Galaxy, plus by chance observational
evidence for an additional (of the discussed or unexpected) r-process
site, will hopefully point us to a clear understanding of the origin
of the heavy elements from Fe to U.

In summary, we are living in exciting times for unravelling the
mysteries of r-process nucleosynthesis.

\begin{acknowledgments}
  We thank a very large number of colleagues and friends for helpful
  collaborations and discussions, but especially Al Cameron and Willy
  Fowler should be mentioned here who motivated many of us to explore
  the topic of this review.  This research was supported in part by:
  NASA grant HST-GO-14232 (JJC), NSF grant AST1616040 (CS), NASA grant
  NNX16AE96G and NSF grant AST-1516182 (JEL), NSF grant Phys-0758100
  and the Joint Institute for Nuclear Astrophysics through NSF Grant
  Phys-0822648 (AA and MW), NSF award PHY-1430152 (JINA Center for the
  Evolution of the Elements AA, JJC, and MW), the Extreme Matter
  Institute EMMI (KL and GMP), the Deutsche Forschungsgemeinschaft
  (DFG, German Research Foundation) - Projektnummer 279384907 - SFB
  1245 (GMP), the Swiss SNF, an ERC Advanced Grant (FISH) and COST
  Actions NewCompstar (FKT) and ChETEC (FKT and GMP).
\end{acknowledgments}

High Energy Astrophysical Phenomena (astro-ph.HE); Nuclear Experiment (nucl-ex); Nuclear Theory (nucl-th)