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
0409f121
Commit
0409f121
authored
Aug 09, 2016
by
Matthieu Schaller
Browse files
Documentation improvements
parent
9008b444
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/adiabatic_index.h
View file @
0409f121
...
...
@@ -19,6 +19,12 @@
#ifndef SWIFT_ADIABATIC_INDEX_H
#define SWIFT_ADIABATIC_INDEX_H
/**
* @file adiabatic_index.h
* @brief Defines the adiabatic index (polytropix index) \f$\gamma\f$ of the
* problem and (fast) mathematical functions involving it.
*/
/* Config parameters. */
#include
"../config.h"
...
...
src/dimension.h
View file @
0409f121
...
...
@@ -19,6 +19,12 @@
#ifndef SWIFT_DIMENSION_H
#define SWIFT_DIMENSION_H
/**
* @file dimension.h
* @brief Defines the dimensionality \f$d\f$ of the problem and (fast)
* mathematical functions involving it
*/
/* Config parameters. */
#include
"../config.h"
...
...
src/kernel_hydro.h
View file @
0409f121
...
...
@@ -20,9 +20,21 @@
#ifndef SWIFT_KERNEL_HYDRO_H
#define SWIFT_KERNEL_HYDRO_H
/**
* @file kernel_hydro.h
* @brief Kernel functions for SPH (scalar and vector version).
*
* All constants and kernel coefficients are taken from table 1 of
* Dehnen & Aly, MNRAS, 425, pp. 1062-1082 (2012).
*/
/* Config parameters. */
#include
"../config.h"
/* Some standard headers. */
#include
<math.h>
/*
Inclu
des. */
/*
Local hea
de
r
s. */
#include
"const.h"
#include
"dimension.h"
#include
"error.h"
...
...
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