Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
a4ac9d6d
Commit
a4ac9d6d
authored
Sep 29, 2016
by
Matthieu Schaller
Browse files
Same treatment for the SPH flavours document
parent
b3817022
Changes
4
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
a4ac9d6d
...
...
@@ -83,7 +83,7 @@ theory/latex/swift.pdf
theory/SPH/Kernels/kernels.pdf
theory/SPH/Kernels/kernel_derivatives.pdf
theory/SPH/Kernels/kernel_definitions.pdf
theory/SPH/
f
lavours/sph_flavours.pdf
theory/SPH/
F
lavours/sph_flavours.pdf
theory/paper_pasc/pasc_paper.pdf
m4/libtool.m4
...
...
theory/SPH/Flavours/run.sh
View file @
a4ac9d6d
#!/bin/bash
pdflatex sph_flavours.tex
pdflatex
-jobname
=
sph_flavours
sph_flavours_standalone
.tex
bibtex sph_flavours.aux
pdflatex sph_flavours.tex
pdflatex sph_flavours.tex
pdflatex
-jobname
=
sph_flavours
sph_flavours_standalone
.tex
pdflatex
-jobname
=
sph_flavours
sph_flavours_standalone
.tex
theory/SPH/Flavours/sph_flavours.tex
View file @
a4ac9d6d
\documentclass
[fleqn, usenatbib, useAMS, a4paper]
{
mnras
}
\usepackage
{
graphicx
}
\usepackage
{
amsmath,paralist,xcolor,xspace,amssymb
}
\usepackage
{
times
}
\usepackage
[super]
{
nth
}
\newcommand
{
\swift
}{{
\sc
swift
}
\xspace
}
\newcommand
{
\gadget
}{{
\sc
gadget
}
\xspace
}
\newcommand
{
\dd
}
[2]
{
\frac
{
\partial
#1
}{
\partial
#2
}}
\renewcommand
{
\vec
}
[1]
{{
\mathbf
{
#1
}}}
\newcommand
{
\Wij
}{
\overline
{
\nabla
_
xW
_{
ij
}}}
\newcommand
{
\tbd
}{
\textcolor
{
red
}{
TO BE DONE
}}
\newcommand
{
\MinimalSPH
}{
\textsc
{
minimal-sph
}
\xspace
}
\newcommand
{
\GadgetSPH
}{
\textsc
{
gadget-sph
}
\xspace
}
\newcommand
{
\PESPH
}{
\textsc
{
pe-sph
}
\xspace
}
%\setlength{\mathindent}{0pt}
%opening
\title
{
SPH flavours in SWIFT
}
\author
{
Matthieu Schaller
}
\begin{document}
\maketitle
For vector quantities, we define
$
\vec
{
a
}_{
ij
}
\equiv
(
\vec
{
a
}_
i
-
\vec
{
a
}_
j
)
$
. Barred quantities (
$
\bar
a
_{
ij
}$
) correspond to the
average over two particles of a quantity:
$
\bar
a
_{
ij
}
\equiv
...
...
@@ -32,7 +6,7 @@ vector quantity $\Wij \equiv \frac{1}{2}\left(W(\vec{x}_{ij}, h_i) +
\nabla
_
x W
(
\vec
{
x
}_{
ij
}
,h
_
j
)
\right
)
$
.
%#######################################################################################################
##
%#######################################################################################################
\subsection
{
\MinimalSPH
}
\label
{
sec:sph:minimal
}
...
...
@@ -174,7 +148,7 @@ where, as above, the last two updated quantities are obtained using
the pre-defined equation of state. Note that the thermal energy
$
u
_
i
$
itself is
\emph
{
not
}
updated.
%#######################################################################################################
##
%#######################################################################################################
\subsection
{
Gadget-2 SPH
}
\label
{
sec:sph:gadget2
}
...
...
@@ -281,7 +255,7 @@ the pre-defined equation of state. Note that the entropic function $A_i$
itself is
\emph
{
not
}
updated.
%#######################################################################################################
##
%#######################################################################################################
\subsection
{
Pressure-Entropy SPH
}
\label
{
sec:sph:pe
}
...
...
@@ -351,7 +325,3 @@ Dalla Vecchia (\textit{in prep.}), also described in section 2.2.2 of
\cite
{
Schaller2015
}
.
\\
\label
{
sec:sph:anarchy
}
\tbd
\bibliographystyle
{
mnras
}
\bibliography
{
./bibliography.bib
}
\end{document}
theory/SPH/Flavours/sph_flavours_standalone.tex
0 → 100644
View file @
a4ac9d6d
\documentclass
[fleqn, usenatbib, useAMS]
{
mnras
}
\usepackage
{
graphicx
}
\usepackage
{
amsmath,paralist,xcolor,xspace,amssymb
}
\usepackage
{
times
}
\usepackage
[super]
{
nth
}
\newcommand
{
\swift
}{{
\sc
swift
}
\xspace
}
\newcommand
{
\gadget
}{{
\sc
gadget
}
\xspace
}
\newcommand
{
\dd
}
[2]
{
\frac
{
\partial
#1
}{
\partial
#2
}}
\renewcommand
{
\vec
}
[1]
{{
\mathbf
{
#1
}}}
\newcommand
{
\Wij
}{
\overline
{
\nabla
_
xW
_{
ij
}}}
\newcommand
{
\tbd
}{
\textcolor
{
red
}{
TO BE DONE
}}
\newcommand
{
\MinimalSPH
}{
\textsc
{
minimal-sph
}
\xspace
}
\newcommand
{
\GadgetSPH
}{
\textsc
{
gadget-sph
}
\xspace
}
\newcommand
{
\PESPH
}{
\textsc
{
pe-sph
}
\xspace
}
%\setlength{\mathindent}{0pt}
%opening
\title
{
SPH flavours in SWIFT
}
\author
{
Matthieu Schaller
}
\begin{document}
\maketitle
\input
{
sph
_
flavours
}
\bibliographystyle
{
mnras
}
\bibliography
{
./bibliography
}
\end{document}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment