Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SWIFTsim SWIFTsim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 52
    • Issues 52
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • SWIFT
  • SWIFTsimSWIFTsim
  • Merge requests
  • !662

Add Hernquist and NFW potential to SWIFT

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Folkert Nobels requested to merge newpotentials into master Nov 05, 2018
  • Overview 28
  • Commits 42
  • Changes 26

I added a Hernquist and NFW potential to the code, also I changed the parameters a bit, so that now the use of the position is more consistent. This means that I have an additional parameter useabspos, that when 0 the positions are based on the centre and the offset while if useabspos is 1, the positions are absolute. This way all the potentials behave exactly the same (prevents confusion). Furthermore I added 3 examples, two for the Hernquist potential and one for the NFW profile. Further I added a start of the documentation for the external potentials.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: newpotentials