Skip to content

Spud is a generic system for defining, writing and processing options files for scientific computer models.

License

Notifications You must be signed in to change notification settings

FluidityProject/spud

Folders and files

NameName
Last commit message
Last commit date
Nov 2, 2022
Jan 27, 2021
Nov 2, 2022
Apr 20, 2021
Oct 23, 2019
Oct 23, 2019
Oct 23, 2019
Nov 6, 2019
Sep 20, 2017
Oct 31, 2022
Oct 31, 2011
Oct 31, 2022
Sep 7, 2011
Oct 23, 2019
Sep 4, 2008
Oct 31, 2022
Sep 19, 2017
Jan 25, 2012
May 25, 2022
May 27, 2022
Feb 1, 2012
Feb 1, 2012
Jan 25, 2012
Jan 25, 2012

Repository files navigation

Spud

Spud is a generic system for defining, writing and processing options files for scientific computer models.

The interfaces to scientific computer models are frequently primitive, under-documented and ad-hoc text files. This makes using and developing the model in question difficult and error-prone.

With Spud, the model developer need only write a rules file (schema) which defines the options which the model takes and the relationship between them. The Spud component Diamond then provides an automatically generated graphical user interface which guides the user and validates the user's input against the schema. Diamond writes out an xml options file for use in Spud.

The developer then uses libspud to read the options file into the model. Libspud can read any valid options file without further code modifications and makes the options available at any point in the model code at which they are required.

Spud further provides the facility for the schema to be self-documenting and Diamond presents this documentation to the model user in a context-sensitive manner.

Documentation

For installation and usage instructions, please see doc/spud_manual.pdf.

For an example of spud and diamond usage, see the examples directory.

About

Spud is a generic system for defining, writing and processing options files for scientific computer models.

Resources

License

Stars

Watchers

Forks

Packages

No packages published