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
383ec6d9
Commit
383ec6d9
authored
7 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Documentation fixes and code formatting.
parent
85af3e05
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
examples/main.c
+2
-1
2 additions, 1 deletion
examples/main.c
src/equation_of_state.h
+1
-1
1 addition, 1 deletion
src/equation_of_state.h
src/equation_of_state/ideal_gas/equation_of_state.h
+1
-1
1 addition, 1 deletion
src/equation_of_state/ideal_gas/equation_of_state.h
with
4 additions
and
3 deletions
examples/main.c
+
2
−
1
View file @
383ec6d9
...
...
@@ -674,7 +674,8 @@ int main(int argc, char *argv[]) {
#ifndef HAVE_FFTW
/* Need the FFTW library if periodic and self gravity. */
if
(
with_self_gravity
&&
periodic
)
error
(
"No FFTW library found. Cannot compute periodic long-range forces."
);
error
(
"No FFTW library found. Cannot compute periodic long-range forces."
);
#endif
#ifdef SWIFT_DEBUG_CHECKS
...
...
This diff is collapsed.
Click to expand it.
src/equation_of_state.h
+
1
−
1
View file @
383ec6d9
...
...
@@ -20,7 +20,7 @@
#define SWIFT_EQUATION_OF_STATE_H
/**
* @file equation_of_state.h
* @file
src/
equation_of_state.h
* @brief Defines the equation of state of the gas we simulate in the form of
* relations between thermodynamic quantities. These are later used internally
* by all hydro schemes
...
...
This diff is collapsed.
Click to expand it.
src/equation_of_state/ideal_gas/equation_of_state.h
+
1
−
1
View file @
383ec6d9
...
...
@@ -171,7 +171,7 @@ __attribute__((always_inline)) INLINE static float gas_soundspeed_from_pressure(
*
* Nothing to do here since this EoS is parameter-free.
*
* @param e The #eos_paramters.
* @param e The #eos_param
e
ters.
* @param phys_const The physical constants in the internal unit system.
* @param us The internal unit system.
* @param params The parsed parameters.
...
...
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