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
4afbdf04
Commit
4afbdf04
authored
7 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Removed unnecessary includes. Documentation fixes.
parent
8e7f248f
No related branches found
No related tags found
1 merge request
!507
Smoothed metallicity
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/chemistry/gear/chemistry.h
+3
-2
3 additions, 2 deletions
src/chemistry/gear/chemistry.h
src/chemistry/gear/chemistry_iact.h
+0
-2
0 additions, 2 deletions
src/chemistry/gear/chemistry_iact.h
with
3 additions
and
4 deletions
src/chemistry/gear/chemistry.h
+
3
−
2
View file @
4afbdf04
...
...
@@ -99,9 +99,10 @@ __attribute__((always_inline)) INLINE static void chemistry_init_part(
* Multiplies the smoothed metallicity and number of neighbours by the
* appropiate constants and add the self-contribution term.
*
* This
method
requires the #hydro_end_density to have been c
omput
ed.
* This
function
requires the #hydro_end_density to have been c
all
ed.
*
* @param p The particle to act upon
* @param p The particle to act upon.
* @param cd #chemistry_data containing chemistry informations.
*/
__attribute__
((
always_inline
))
INLINE
static
void
chemistry_end_density
(
struct
part
*
restrict
p
,
const
struct
chemistry_data
*
cd
)
{
...
...
This diff is collapsed.
Click to expand it.
src/chemistry/gear/chemistry_iact.h
+
0
−
2
View file @
4afbdf04
...
...
@@ -29,9 +29,7 @@
* al. 2009
*/
#include
"cache.h"
#include
"chemistry_struct.h"
#include
"minmax.h"
/**
* @brief do chemistry computation after the runner_iact_density (symmetric
...
...
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