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
Volker Springel
Gadget4
Commits
b613aaa9
Commit
b613aaa9
authored
May 15, 2021
by
Volker Springel
Browse files
small fix in previous commit
parent
b0d4b626
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/io/snap_io.cc
View file @
b613aaa9
...
...
@@ -137,7 +137,7 @@ void snap_io::init_basic(simparticles *Sp_ptr)
#ifdef OUTPUT_PRESSURE
init_field
(
"PRES"
,
"Pressure"
,
MEM_MY_FLOAT
,
FILE_MY_IO_FLOAT
,
SKIP_ON_READ
,
1
,
A_NONE
,
0
,
io_func_pressure
,
GAS_ONLY
,
/* particle pressure */
1
,
-
3
*
GAMMA
,
2
,
-
1
,
1
,
-
2
,
All
.
UnitDensity_in_cgs
*
All
.
UnitVelocity_in_cm_per_s
*
All
.
UnitVelocity_in_cm_per_s
);
1
,
-
3
*
GAMMA
,
2
.
,
-
3.
,
1
.
,
2
.
,
All
.
UnitDensity_in_cgs
*
All
.
UnitVelocity_in_cm_per_s
*
All
.
UnitVelocity_in_cm_per_s
);
#endif
#if defined(TIMEDEP_ART_VISC) && defined(OUTPUT_VISCOSITY_PARAMETER)
...
...
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