#ifndef __CAL_GATE_H #define __CAL_GATE_H #define g 9.81 struct param_gate{ int wingwall; int drop_step; double openning_height_of_gate; double water_depth_front_of_gate; double water_depth_behind_of_gate; double gate_width; }; //double Calculation_of_InstantaneousFlow(double openning_height_of_gate, double water_depth_front_of_gate,double water_depth_behind_of_gate,double gate_width,int wingwall,int drop_step); double Calculation_of_InstantaneousFlow(struct param_gate *param); #endif