A low Mach, 1D, reacting flow code.
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.

16 lines
539B

  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 SUNDIALS_DEF
  8. #define SUNDIALS_DEF
  9. #include <sundials/sundials_types.h>
  10. #include <nvector/nvector_openmp.h>
  11. #endif
  12. int allocateSolution(size_t neq, int nThreads, N_Vector *y, N_Vector *ydot, N_Vector *res, N_Vector *id, N_Vector *atolv, N_Vector *constraints);
  13. void freeSolution(N_Vector *y, N_Vector *ydot, N_Vector *res, N_Vector *id, N_Vector *atolv, N_Vector *constraints);