123456789101112131415161718192021 |
- #ifndef HCV_H
- #define HCV_H
- //代码
- //////////////////////*头文件包含部分*/////////////////////////////////////
- #include "program.hpp"
- #include <cassert>
- #include <iostream>
- #include <math.h>
- #include <armadillo>
- using namespace arma;
- using namespace std;
- using namespace Ipopt;
- // 内置函数
- int Dynamics_HCV(mat* StateVar, mat* ControlVar, auxdata1 auxdata, mat* dState, mat* integrand, mat* path);
- int Objective_HCV(input0* input, double* output, mat* event);
- int alpha2LD_HCV(vec alpha_rad, vec Rou, vec Ma, vec V, auxdata1 auxdata, vec* L, vec* D);
- int calp(vec alpha_rad, vec Ma, vec phit, vec* IspDim, vec* CT);
- #endif
- #pragma once
|