pfcalc Changelog

What's new in pfcalc 1.1

Apr 23, 2012
  • Added option --gravity for user defined gravity constant.
  • Added total head loss output line in verbose mode.

New in pfcalc 1.0 (Nov 28, 2011)

  • Changed printing code so every result line fits into 80 characters.
  • Changed verbose mode printing layout.
  • Added printing of liquid properties in verbose mode.
  • Added printing of total pressure loss in verbose mode.
  • Replaced #define statements with const declarations.

New in pfcalc 0.8 (Aug 5, 2011)

  • Bug fix: corrected man page (bug id: 3376839).
  • Bug fix: added a warning when there are too many columns in the input file. (bug id: 3376846).
  • Bug fix: column layout fixed. (bug id: 3376840). If a value has more than 7 characters in length will be converted to scientific notation.
  • Changed "\n" to "\r\n" when printing to a file, for compatibility with some systems.
  • Changed --flowrate option to --flow-rate.
  • Changed --input-file option to --input.
  • Changed --output-file option to --output.
  • Removed periods from end of error messages.
  • Moved all declarations to main.h
  • Fixed one memory leak in function setliquid().
  • Fixed one use of uninitialised variable: data->liquid.name.
  • Updated man page.
  • New #define MAX_STR_LEN 256. All string definitions updated.
  • Added __FILE__ and __LINE__ to some error messages.
  • Corrected default value for temperature in usage printing.
  • Added an all zero element to the long_options[] array, as required by getopt(3) man page.
  • Added a warning when there are two liquid definition points with the same temperature.
  • Cleaned up option parsing code. Moved long_options array definition outside the while loop. Pass NULL as longindex parameter of getopt_long.