Skip to content
Snippets Groups Projects
Commit c59e2d47 authored by Josh Borrow's avatar Josh Borrow
Browse files

Updated the descriptions for various people

parent f82a9526
No related branches found
No related tags found
No related merge requests found
# Astronomer
Want to get started using SWIFT? Check out the onboarding guide available
[here](onboarding.pdf).
## Gravity
+ Acuracy
+ Method
SWIFT uses the Fast Multipole Method to calculate gravitational forces between
particles. As well as this self-gravity mode, we also make many useful external
potentials available, such as a softened point mass and sine wave.
Gravtiational accuracy can be tuned through use of a standard 'opening angle',
which is controlled at runtime in the parameterfile.
## SPH Emulation Modes
+ GADGET 2/3
+ GIZMO
There are many hydrodynamics schemes implemented in SWIFT, and SWIFT is designed
such that it should be (relatively) simple for users to add their own. The three
main modes are as follows:
Some examples of the tests
### GADGET-2 SPH
## Paralleisation strategy
SWIFT makes a 'backwards-compatible' GADGET-2 SPH mode, which uses a standard
[Monaghan 1977](http://adsabs.harvard.edu/abs/1977MNRAS.181..375G) artificial
viscosity scheme with a
[Balsara](https://www.ideals.illinois.edu/handle/2142/23836) switch. Note that
the GADGET-2 SPH scheme is implemented to be the same as in the public release
of GADGET-2, rather than the equations as specified in the original paper, as
there are some differences. This is to enable users to use SWIFT as a drop-in
replacement for GADGET-2.
### Pressure-Entropy SPH
In SWIFT, the Pressure-Entropy and (in the future) Pressure-Energy schemes from
[Hopkins 2013](http://adsabs.harvard.edu/abs/2013MNRAS.428.2840H) are made
available for use. These schemes use a weighting factor of either entropy or
energy in the calculation of density, which has the effect of promoting mixing
and reducing spurious surface tensions that are present in a traditional
"Density-Entropy" scheme (such as the GADGET-2 one presented above).
### GIZMO (MFM)
+ Brief overview of tasks
+ Some scaling plots vs. GADGET
Bert Vandenbrouke has also implemented a publicly-available GIZMO-like scheme
([Hopkins 2015](http://adsabs.harvard.edu/cgi-bin/bib_query?arXiv:1409.7395)
in SWIFT. This promises higher-accuracy hydrodynamics, but with the natural
adaptivity of SPH.
There is a large amount of background reading material available in the
theory directory provided with SWIFT. You will need pdflatex to build
this documentation.
SWIFT also provides a large library of hydrodynamical test cases for you to
use, the results of which are available on our developer Wiki
[here](https://gitlab.cosma.dur.ac.uk/swift/swiftsim/wikis/hydro-tests).
## Paralleisation strategy
SWIFT uses a hybrid OpenMP + MPI paralellisation scheme with the
[QuickShed](https://gitlab.cosma.dur.ac.uk/swift/quicksched) tasking library.
This enables SWIFT to achieve near-perfect weak scaling (see next section).
# Computer Scientist
## CS I
## Scaling
Hello world.
Cosmological simulations are typically very hard to scale to large numbers of
cores, due to the fact that information is needed from each of the nodes to
perform a given time-step. SWIFT uses smart domain decomposition, vectorisation,
and asynchronous communication to provide a 36.7x speedup over our direct
competition (the publicly available GADGET-2 code) and near-perfect weak
scaling.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. In mollis erat quis augue scelerisque, eu maximus metus vehicula. Mauris nec ex blandit, lacinia urna a, viverra orci. Phasellus vitae mauris eget libero rutrum elementum. Etiam lobortis, ligula id ultricies egestas, ex nibh vulputate massa, sit amet dictum ante augue eget turpis. Aliquam in ipsum euismod nisl pulvinar imperdiet. Quisque purus ex, varius id pretium non, mollis accumsan sapien. Suspendisse nisl purus, finibus consectetur mattis eget, eleifend eget lectus. Nunc ut nibh consequat, malesuada dolor quis, tincidunt lectus. Vestibulum ornare in nisi vel volutpat. Nulla eget sapien non eros finibus ullamcorper. Duis ut erat diam. Nam sagittis lobortis nisl ut malesuada. In ac urna feugiat, sollicitudin risus nec, lobortis tellus.
![SWIFT Scaling Plot](scalingplot.png)
The left panel ("Weak Scaling") shows how the runtime of a problem changes when
the number of threads is increased proportionally to the number of particles in
the system (i.e. a fixed 'load per thread'). The right panel ("Strong Scaling")
shows how the runtime changes for a fixed load as it is spread over more
threads. The right panel shows the 36.7x speedup that SWIFT offers over
GADGET-2.
In pretium commodo nunc, nec condimentum libero cursus sit amet. Maecenas et auctor sapien. Maecenas vel lobortis neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nulla pretium volutpat sapien, consectetur viverra nunc maximus quis. Nullam efficitur massa vitae leo fermentum, nec consequat risus ultrices. Nunc suscipit sem in libero vulputate, nec molestie nisl accumsan. Fusce congue magna nunc, vitae tincidunt purus suscipit vitae. Duis tempus, nibh nec consectetur commodo, mauris tellus interdum massa, in suscipit nisi libero et justo. Curabitur tellus metus, tempor sit amet dolor quis, pulvinar rutrum tellus.
Cras tortor elit, scelerisque at quam eget, vestibulum maximus dolor. Nullam ultrices viverra tincidunt. Fusce ornare ex vel varius malesuada. Suspendisse eget ullamcorper enim. Morbi molestie ex nec dapibus interdum. Proin sit amet elit mi. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Curabitur a consectetur leo. Duis ipsum velit, pretium iaculis pulvinar vitae, iaculis id metus. Vestibulum sed consectetur eros, id pretium lectus. Morbi convallis condimentum molestie.
Nam at tristique augue. Duis fermentum quam in mi aliquet congue. Morbi scelerisque dapibus libero eget pretium. Sed diam massa, elementum non hendrerit eget, vehicula sed metus. Aenean nec sem euismod, suscipit nunc mollis, auctor diam. Donec sed ante et augue suscipit volutpat in in nisi. Integer ut ante non libero ultrices sagittis at eu dui.
\ No newline at end of file
images/scalingplot.png

235 KiB

......@@ -51,6 +51,10 @@ html, body {
background-color: #90382B;
}
img {
max-width:100%;
}
/* Footer Styles */
footer, .footer {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment