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
a9b488bf
Commit
a9b488bf
authored
9 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Cleaned-up the const.h file
parent
f4d59002
No related branches found
No related tags found
2 merge requests
!212
Gravity infrastructure
,
!172
[WIP] Self gravity (Barnes-Hut version)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/const.h
+5
-5
5 additions, 5 deletions
src/const.h
with
5 additions
and
5 deletions
src/const.h
+
5
−
5
View file @
a9b488bf
...
@@ -39,10 +39,6 @@
...
@@ -39,10 +39,6 @@
/* Time integration constants. */
/* Time integration constants. */
#define const_max_u_change 0.1f
#define const_max_u_change 0.1f
/* Gravity stuff. */
#define multipole_order 2
#define const_gravity_eta 0.025f
/* Kernel function to use */
/* Kernel function to use */
#define CUBIC_SPLINE_KERNEL
#define CUBIC_SPLINE_KERNEL
//#define QUARTIC_SPLINE_KERNEL
//#define QUARTIC_SPLINE_KERNEL
...
@@ -56,7 +52,11 @@
...
@@ -56,7 +52,11 @@
#define GADGET2_SPH
#define GADGET2_SPH
//#define DEFAULT_SPH
//#define DEFAULT_SPH
/* Gravity properties */
/* Self gravity stuff. */
#define multipole_order 2
#define const_gravity_eta 0.025f
/* External gravity properties */
#define EXTERNAL_POTENTIAL_POINTMASS
#define EXTERNAL_POTENTIAL_POINTMASS
//#define SANITY_CHECKS
//#define SANITY_CHECKS
...
...
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