Skip to content
Snippets Groups Projects
Commit 37b78181 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Vertintml.c: include constants.h

parent 48cc5891
No related branches found
No related tags found
No related merge requests found
...@@ -32,8 +32,7 @@ ...@@ -32,8 +32,7 @@
#include "after_vertint.h" #include "after_vertint.h"
#include "list.h" #include "list.h"
#include "stdnametable.h" #include "stdnametable.h"
#include "constants.h"
#define C_EARTH_GRAV (9.80665)
void *Vertintml(void *argument) void *Vertintml(void *argument)
...@@ -644,7 +643,7 @@ void *Vertintml(void *argument) ...@@ -644,7 +643,7 @@ void *Vertintml(void *argument)
else if ( varID == gheightID ) else if ( varID == gheightID )
{ {
for ( i = 0; i < gridsize; ++i ) for ( i = 0; i < gridsize; ++i )
vardata1[varID][gridsize*nlevel+i] = sgeopot[i]/C_EARTH_GRAV; vardata1[varID][gridsize*nlevel+i] = sgeopot[i]/PlanetGrav;
interp_Z(sgeopot, vardata1[varID], vardata2[varID], interp_Z(sgeopot, vardata1[varID], vardata2[varID],
full_press, half_press, vert_index, vardata1[tempID], full_press, half_press, vert_index, vardata1[tempID],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment