/[MITgcm]/MITgcm/pkg/ptracers/PTRACERS_OPTIONS.h
ViewVC logotype

Diff of /MITgcm/pkg/ptracers/PTRACERS_OPTIONS.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1 by adcroft, Mon Mar 4 19:01:29 2002 UTC revision 1.3 by edhill, Thu Oct 9 04:19:20 2003 UTC
# Line 4  C $Name$ Line 4  C $Name$
4  C CPP options file for PTRACERS package  C CPP options file for PTRACERS package
5  C  C
6  C Use this file for selecting options within the PTRACERS package  C Use this file for selecting options within the PTRACERS package
 C  
 C PTRACERS is enabled with ALLOW_PTRACERS in CPP_OPTIONS.h or in  
 C the Makefile with DEFINES=-DALLOW_PTRACERS  
   
 #include "CPP_OPTIONS.h"  
7    
8    #ifndef PTRACERS_OPTIONS_H
9    #define PTRACERS_OPTIONS_H
10    #include "PACKAGES_CONFIG.h"
11  #ifdef ALLOW_PTRACERS  #ifdef ALLOW_PTRACERS
12    
13  C NUMBER_OF_PTRACERS defines how many passive tracers are allocated/exist.  #include "CPP_OPTIONS.h"
14  C This CPP macro is *only* used in PTRACERS.h to set an integer parameter.  
15  C <Please> do not make use of it elsewhere.  C CPP Macros go here
 C  
 C NUMBER_OF_PTRACERS can be defined in CPP_OPTIONS.h, or in the Makefile  
 C with DEFINES=-DNUMBER_OF_PTRACERS=4  
 C  
 C If NUMBER_OF_PTRACERS is not specified elsewhere and ALLOW_PTRACERS  
 C is set then NUMBER_OF_PTRACERS is set here (default 1)  
 #ifndef NUMBER_OF_PTRACERS  
 #define NUMBER_OF_PTRACERS 2  
 #endif  
16    
17  #endif /* ALLOW_PTRACERS */  #endif /* ALLOW_PTRACERS */
18    #endif /* PTRACERS_OPTIONS_H */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.22