Name c preprocessor variables

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
Scarlett
Posts: 48
Joined: Tue Aug 04, 2015 4:42 pm
Location: Universidad del Mar (UMAR), Mexico
Contact:

Name c preprocessor variables

#1 Unread post by Scarlett »

Hello modelers:
-
I was working with old roms versions, and now I'm working with roms-3.7.
I'm looking for some c processor variables, with which I was working on the older version of roms, but in the newer version (3.7) I still can not find them:
-
ASSUMED_SHAPE
POWER_LAW
K_GSCHEME
DOUBLE_PRECISION
NONLINEAR
VAR_RHO_2D
-
The c processor variables ASSUMED_SHAPE, POWER_LAW, DOUBLE_PRECISION, NONLINEAR, VAR_RHO_2D appear in the Upwelling output example like if them were active, but in the upwelling.h file there are not appear.
-
Could someone tell me if these changed their name?
It's DOUBLE_PRECISION the same than OUT_DOUBLE?
-
Thanks in advance.
Mar.Mo.

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: Name c preprocessor variables

#2 Unread post by kate »

Scarlett wrote:Hello modelers:
-
I was working with old roms versions, and now I'm working with roms-3.7.
I'm looking for some c processor variables, with which I was working on the older version of roms, but in the newer version (3.7) I still can not find them:
-
ASSUMED_SHAPE
POWER_LAW
K_GSCHEME
DOUBLE_PRECISION
NONLINEAR
VAR_RHO_2D
-
The c processor variables ASSUMED_SHAPE, POWER_LAW, DOUBLE_PRECISION, NONLINEAR, VAR_RHO_2D appear in the Upwelling output example like if them were active, but in the upwelling.h file there are not appear.
-
Could someone tell me if these changed their name?
They are all in globaldefs.h, such as:

Code: Select all

#if !((defined G95 && defined I686) || defined UNICOS_SN)
# define ASSUMED_SHAPE
#endif
Is anyone using G95 or UNICOS_SN any more?
It's DOUBLE_PRECISION the same than OUT_DOUBLE?
Nope, not the same.

Scarlett
Posts: 48
Joined: Tue Aug 04, 2015 4:42 pm
Location: Universidad del Mar (UMAR), Mexico
Contact:

Re: Name c preprocessor variables

#3 Unread post by Scarlett »

Hi Kate:
-
Thank you very much for answering
-
Mar.Mo.

Post Reply