Skip to content
GitLab
Projects Groups Topics 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
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 53
    • Issues 53
    • 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
  • !140

First version of main() using a parameter file to get constants.

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Matthieu Schaller requested to merge Parameter-File into master Apr 04, 2016
  • Overview 18
  • Commits 52
  • Changes 38

That's pretty big but does not touch the physics, the parallelisation nor MPI.

In brief:

  • Latest version of the parser from @jwillis
  • More uniform name of functions in the unit module.
  • Added the ability for the engine, space, unit and partition objects to construct themselves from a parsed parameter file.
  • Added an example yaml file with full documentation.
  • Added yaml files and run scripts for the Sedov, Sod and uniform examples.
  • General tidying of the main().
  • Dropped the dependency on z-lib which we don't use.
  • Updated the README to reflect the new command-line parameters.
  • Cleaned-up the main() such that the only command-line parameters read in are policies and debugging options.
  • Added the option to do a 'dry run'. This reads the parameter file, allocates the memory required by the ICs but does not read anything and constructs a space and engine. This allows us to check the validity of a given parameter file.

Happy to guide you through the changes if need be.

This closes #81 (closed).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: Parameter-File