Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
980e4910
Commit
980e4910
authored
6 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Doxygen documentation fixes.
parent
e781074d
No related branches found
No related tags found
1 merge request
!641
Fixes to the cosmo hydro
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/cooling/Compton/cooling.h
+2
-2
2 additions, 2 deletions
src/cooling/Compton/cooling.h
src/space.c
+3
-1
3 additions, 1 deletion
src/space.c
src/space.h
+1
-1
1 addition, 1 deletion
src/space.h
with
6 additions
and
4 deletions
src/cooling/Compton/cooling.h
+
2
−
2
View file @
980e4910
...
...
@@ -41,7 +41,7 @@
*
* @param T The temperature of the gas [K].
* @param H_mass_fraction The hydrogen mass fraction of the gas.
* @param T_trans The temperature of the transition from HII to HI [K].
* @param T_trans
ition
The temperature of the transition from HII to HI [K].
*/
__attribute__
((
always_inline
,
const
))
INLINE
static
double
mean_molecular_weight
(
const
double
T
,
const
double
H_mass_fraction
,
...
...
@@ -59,7 +59,7 @@ mean_molecular_weight(const double T, const double H_mass_fraction,
*
* @param u_cgs The internal energy per unit mass of the gas [erg * g^-1].
* @param H_mass_fraction The hydrogen mass fraction of the gas.
* @param T_trans The temperature of the transition from HII to HI [K].
* @param T_trans
ition
The temperature of the transition from HII to HI [K].
* @param m_H_cgs The mass of the Hydorgen atom [g].
* @param k_B_cgs The Boltzmann constant in cgs units [erg * K^-1]
* @return The temperature of the gas [K]
...
...
This diff is collapsed.
Click to expand it.
src/space.c
+
3
−
1
View file @
980e4910
...
...
@@ -3158,10 +3158,12 @@ void space_replicate(struct space *s, int replicate, int verbose) {
*
* @param s The #space to create the particles in.
* @param cosmo The current #cosmology model.
* @param periodic Are we using periodic boundary conditions?
* @param dim The size of the box (for periodic wrapping).
* @param verbose Are we talkative?
*/
void
space_generate_gas
(
struct
space
*
s
,
const
struct
cosmology
*
cosmo
,
int
periodic
,
double
dim
[
3
],
int
verbose
)
{
int
periodic
,
const
double
dim
[
3
],
int
verbose
)
{
/* Check that this is a sensible ting to do */
if
(
!
s
->
hydro
)
...
...
This diff is collapsed.
Click to expand it.
src/space.h
+
1
−
1
View file @
980e4910
...
...
@@ -268,7 +268,7 @@ void space_check_top_multipoles_drift_point(struct space *s,
void
space_check_timesteps
(
struct
space
*
s
);
void
space_replicate
(
struct
space
*
s
,
int
replicate
,
int
verbose
);
void
space_generate_gas
(
struct
space
*
s
,
const
struct
cosmology
*
cosmo
,
int
periodic
,
double
dim
[
3
],
int
verbose
);
int
periodic
,
const
double
dim
[
3
],
int
verbose
);
void
space_check_cosmology
(
struct
space
*
s
,
const
struct
cosmology
*
cosmo
,
int
rank
);
void
space_reset_task_counters
(
struct
space
*
s
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment