Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S spins-tools
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • DP
  • spins-tools
  • Issues
  • #11
Closed
Open
Issue created Nov 02, 2017 by David Deepwell@ddeepwelDeveloper

Ignore unneeded spins.conf options

Some options specified in spins.conf are unimportant to the conversion to netcdf. The conversion only requires the following parameters to be specified: Nx, Ny, Nz, Lx, Ly, Lz, min_x, min_y, min_z plot_interval type_x, type_y, type_z mapped_grid

All others can be ignored. There is a way for boost to ignore an input and do nothing about it. See http://www.boost.org/doc/libs/1_56_0/doc/html/program_options/howto.html#idp344642720 for more information.

This is an important feature because we have many cases that have different problem parameters which are unimportant to the conversion.

Please make the following have the given default values as well: Nx = 1, Ny = 1, Nz = 1, Lx = 1, Ly = 1, Lz = 1, (already the defaults) min_x = 0, min_y = 0, min_z = 0, (already the defaults) mapped_grid = false

If plot_interval or type_* are not in the spins.conf return an error asking for these to be specified.

Assignee
Assign to
Time tracking