HCV.h 637 B

123456789101112131415161718192021
  1. #ifndef HCV_H
  2. #define HCV_H
  3. //代码
  4. //////////////////////*头文件包含部分*/////////////////////////////////////
  5. #include "program.hpp"
  6. #include <cassert>
  7. #include <iostream>
  8. #include <math.h>
  9. #include <armadillo>
  10. using namespace arma;
  11. using namespace std;
  12. using namespace Ipopt;
  13. // 内置函数
  14. int Dynamics_HCV(mat* StateVar, mat* ControlVar, auxdata1 auxdata, mat* dState, mat* integrand, mat* path);
  15. int Objective_HCV(input0* input, double* output, mat* event);
  16. int alpha2LD_HCV(vec alpha_rad, vec Rou, vec Ma, vec V, auxdata1 auxdata, vec* L, vec* D);
  17. int calp(vec alpha_rad, vec Ma, vec phit, vec* IspDim, vec* CT);
  18. #endif
  19. #pragma once