Skip to content

Functional programming interface, improved documentation, and new examples

Compare
Choose a tag to compare
@rouson rouson released this 17 Sep 16:51
· 31 commits to main since this release
ffb3c5b

This release refactors dag significantly and so that

  • All type-bound procedures are functions with intent(in) dummy arguments.
  • All type-bound procedures are pure except those that use jsonff. ❄️
  • The examples demonstrate a pattern that liberates the user from thinking about vertex identifiers. 🗽
  • FORD-style comments have been added or updated on each module, derived type, constructor, and type-bound procedure. 🚗
  • The README.md file has been updated to reflect the changes and to show how to build serial and parallel versions of the library and how to run the new examples.

Vertex identifiers are no longer stored internally, but the interface still has something similar: the user designates dependencies by passing each dependency's position in the vertex_t array that is the lone argument of the component-wise dag_t constructor. 🥪 Two programs in the example subdirectory show how to discover the positions automatically by passing a character array of vertex names to findloc. 🔍