Utilities: Difference between revisions

From openpipeflow.org
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
* Utilities are used to manipulate or analyse data, either during runtime or in the post-processing phase.
* Utilities are used to manipulate or analyse data, either during runtime or in the post-processing phase.
* Some of the utilities are non-specific to pipe flow, e.g. code for the GMRES algorithm.
* '''Almost all modifications can/should be made via a utility, rather than altering the core code''' (i.e. avoid editing the contents of the <tt>program/</tt> directory wherever possible).
* '''Almost all modifications can/should be made via a utility, rather than altering the core code''' (i.e. avoid editing the contents of the <tt>program/</tt> directory wherever possible).
* Utilities are kept in <tt>utils/</tt>.
* Utilities are kept in <tt>utils/</tt>.

Revision as of 07:50, 5 November 2014

  • Utilities are used to manipulate or analyse data, either during runtime or in the post-processing phase.
  • Some of the utilities are non-specific to pipe flow, e.g. code for the GMRES algorithm.
  • Almost all modifications can/should be made via a utility, rather than altering the core code (i.e. avoid editing the contents of the program/ directory wherever possible).
  • Utilities are kept in utils/.


Building

To build, in Makefile, set UTIL = utilname (omitting the .f90 extension), then type

> make
> make install
> make util

The last command creates utilname.out.

It is good practice to do a 'make install' to generate a main.info file to keep alongside the executable.

Pre/post-processing

Runtime processing

Non-problem-specific codes