June 13, 2022 at 4:29 pm
Subscriber
They are tabulated Cl/Cd coefficients of an airfoil. I want to model a turbine blade in a simple domain without the need to actually mesh the turbine geometry (by using momentum source terms).
I figured that the following code works fine except that it gives me a warning while compiling it:
real data[2][3] ;
host_to_node_real (data,6) ;
The warning:
warning C4047: 'function': 'double *' differs in levels of indirection from 'real [2][3]'
warning C4047: 'mphost_to_node_double': different types for formal and actual parameter 1
I figured that the following code works fine except that it gives me a warning while compiling it:
real data[2][3] ;
host_to_node_real (data,6) ;
The warning:
warning C4047: 'function': 'double *' differs in levels of indirection from 'real [2][3]'
warning C4047: 'mphost_to_node_double': different types for formal and actual parameter 1