diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-04-18 13:28:09 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-04-18 13:28:09 +0000 |
commit | f3df548d78b6f84a2c4ede1c7f38320a42b7b97d (patch) | |
tree | d086c01bb0b8e547e22f9f0d5be1e63633d735a0 /src/include/cctk_ParamCheck.h | |
parent | 7e11e7778b2a9b8dd299a7bbbadb0000c074f408 (diff) |
Stuff for cactus -x[n].
Cosmetic changes.
Tom
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1576 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_ParamCheck.h')
-rw-r--r-- | src/include/cctk_ParamCheck.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/include/cctk_ParamCheck.h b/src/include/cctk_ParamCheck.h new file mode 100644 index 00000000..73f3bca8 --- /dev/null +++ b/src/include/cctk_ParamCheck.h @@ -0,0 +1,41 @@ + /*@@ + @header cctk_ParamCheck.h + @date Tue Apr 18 14:39:15 2000 + @author Tom Goodale + @desc + Stuff for when in Parameter checking mode. + @enddesc + @version $Header$ + @@*/ + +#ifndef _CCTK_PARAMCHECK_H_ +#define _CCTK_PARAMCHECK_H_ 1 + +/* These are just here for speed at the mo. Don't modify + * directly outside the flesh. + */ + +extern int cctki_paramchecking; +extern int cctki_paramcheck_nprocs; + +/* Define these as macros for the moment, but give them an + * interface like a function so they can can be chenged + * to functions later if necessary. + */ + +#define CCTK_ParamCheckNProcs() cctki_paramcheck_nprocs +#define CCTK_ParamChecking() cctki_paramchecking + +#ifdef __cplusplus +extern "C" +{ +#endif + + + +#ifdef __cplusplus +} +#endif + +#endif /* _CCTK_PARAMCHECK_H_ */ + |