Droplet Lagrangian Transient One-dimensional Reacting Code Implementation of both liquid and gas phase governing equations.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

32 rindas
741B

  1. #ifndef PRINT_DEF
  2. #define PRINT_DEF
  3. #include <string.h> //for strings
  4. #include <stdio.h> //for printf,scanf
  5. #include <stdlib.h> //for atoi, atof
  6. #endif
  7. #ifndef PARSE_DEF
  8. #define PARSE_DEF
  9. #define MAXBUFLEN 200
  10. void getFromString (const char* buf, int* n);
  11. void getFromString (const char* buf, size_t* n);
  12. void getFromString (const char* buf, double* n);
  13. void getFromString (const char* buf, char* n);
  14. int parseString(FILE* input, const char* keyword, const size_t bufLen, char* n);
  15. template<typename T>
  16. int parseNumber(FILE* input, const char* keyword, const size_t bufLen, T* n);
  17. template<typename T>
  18. int parseArray(FILE* input, const char* keyword, const size_t bufLen,
  19. const size_t arrLen, T y[]);
  20. #include "parse.hpp"
  21. #endif