Based on the original Rocket Workbench on SourceForge in CVS at: https://sourceforge.net/projects/rocketworkbench
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.9 KiB

  1. #ifndef print_h
  2. #define print_h
  3. #include "type.h"
  4. #include "equilibrium.h"
  5. #include "derivative.h"
  6. #include "performance.h"
  7. #define PROPELLANT_NAME(sp) (propellant_list + sp)->name
  8. extern FILE * errorfile;
  9. extern FILE * outputfile;
  10. int print_error_message(int error_code);
  11. /***************************************************************
  12. FUNCTION: Print the information of a specie in the thermo_list
  13. PARAMETER: an integer corresponding to the molecule
  14. AUTHOR: Antoine Lefebvre
  15. ***************************************************************/
  16. int print_propellant_info(int sp);
  17. int print_thermo_info(int sp);
  18. /*************************************************************
  19. FUNCTION: Print the content of the respective list with the
  20. number which refer to the molecule
  21. AUTHOR: Antoine Lefebvre
  22. modification by Mark Pinese
  23. **************************************************************/
  24. int print_thermo_list(void);
  25. int print_propellant_list(void);
  26. /*************************************************************
  27. FUNCTION: Print the list of condensed species in the product
  28. PARAMETER: a structure of tupe product_t
  29. AUTHOR: Antoine Lefebvre
  30. **************************************************************/
  31. int print_condensed(product_t p);
  32. /*************************************************************
  33. FUNCTION: Print the list of gazeous species in the product
  34. PARAMETER: a structure of tupe product_t
  35. AUTHOR: Antoine Lefebvre
  36. **************************************************************/
  37. int print_gazeous(product_t p);
  38. int print_product_composition(equilibrium_t *e, short npt);
  39. int print_product_properties(equilibrium_t *e, short npt);
  40. int print_propellant_composition(equilibrium_t *e);
  41. //int print_derivative_results(deriv_t *d);
  42. //int print_performance_information(performance_t *p);
  43. int print_performance_information(equilibrium_t *e, short npt);
  44. #endif