Droplet Lagrangian Transient One-dimensional Reacting Code Implementation of both liquid and gas phase governing equations.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

solution.h 539B

123456789101112131415
  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);