diff options
Diffstat (limited to 'src/paramcheck.F90')
-rw-r--r-- | src/paramcheck.F90 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/paramcheck.F90 b/src/paramcheck.F90 new file mode 100644 index 0000000..489949e --- /dev/null +++ b/src/paramcheck.F90 @@ -0,0 +1,15 @@ +#include <cctk.h> +#include <cctk_Arguments.h> +#include <cctk_Functions.h> +#include <cctk_Parameters.h> + +subroutine CheckFortranParameters (CCTK_ARGUMENTS) + implicit none + DECLARE_CCTK_ARGUMENTS + DECLARE_CCTK_PARAMETERS + DECLARE_CCTK_FUNCTIONS + + if (one /= 1) then + call CCTK_PARAMWARN ("Fortran parameters do not work -- check the C/Fortran language interface") + end if +end subroutine CheckFortranParameters |