| { |
| "thorn_name": "CactusBase/Fortran", |
| "url": "https://bitbucket.org/cactuscode/cactusbase.git", |
| "configuration": "# Configuration definition for thorn Fortran\n\nPROVIDES Fortran\n{\n SCRIPT fortran.sh\n LANG sh\n}\n\nREQUIRES Fortran\n", |
| "interface": "# Interface definition for thorn Fortran\n\nIMPLEMENTS: Fortran\n\nINCLUDES SOURCE: fortran.h IN fortran.h\n", |
| "param": "# Parameter definitions for thorn Fortran\n\nCCTK_INT one \"This parameter has the value one\"\n{\n 1:1 :: \"1\"\n} 1\n", |
| "schedule": "# Schedule definitions for thorn Fortran\n\nSCHEDULE CheckFortranParameters AT paramcheck\n{\n LANG: Fortran\n} \"Test whether Fortran parameters work correctly\"\n", |
| "src": { |
| "cctk_Banner.F90": "#include \"cctk.h\"\n\nmodule cctk_Banner\n implicit none\n\n interface\n \n subroutine CCTK_RegisterBanner (ierr, banner)\n implicit none\n integer ierr\n character(*) banner\n end subroutine CCTK_RegisterBanner\n\n end interface\n\nend module cctk_Banner\n", |
| "cctk_FortranWrappers.F90": "#include \"cctk.h\"\n\nmodule cctk_FortranWrappers\n implicit none\n\n interface\n\n subroutine CCTK_RegisterFortranWrapper (ierr, name, function)\n implicit none\n integer ierr\n character(*) name\n CCTK_FPOINTER function\n end subroutine CCTK_RegisterFortranWrapper\n\n subroutine CCTK_FortranWrapper (function, name)\n implicit none\n CCTK_FPOINTER function\n character(*) name\n end subroutine CCTK_FortranWrapper\n\n end interface\n\nend module cctk_FortranWrappers\n", |
| "make.code.defn": "# Main make.code.defn file for thorn Fortran\n\nifneq ($(strip $(F90)),none)\n\nSRCS =\tcctk.F90 \\\n cctk_ActiveThorns.F90 \\\n cctk_Banner.F90 \\\n cctk_Comm.F90 \\\n cctk_CommandLine.F90 \\\n cctk_Complex.F90 \\\n cctk_Constants.F90 \\\n cctk_Coord.F90 \\\n cctk_DebugDefines.F90 \\\n cctk_Faces.F90 \\\n cctk_File.F90 \\\n cctk_Flesh.F90 \\\n cctk_FortranString1.F90 \\\n cctk_FortranWrappers.F90 \\\n cctk_GHExtensions.F90 \\\n cctk_GNU.F90 \\\n cctk_Groups.F90 \\\n cctk_GroupsOnGH.F90 \\\n cctk_IO.F90 \\\n cctk_IOMethods.F90 \\\n cctk_Interp.F90 \\\n cctk_Main.F90 \\\n cctk_Malloc1.F90 \\\n cctk_Math.F90\t \\\n cctk_MemAlloc.F90 \\\n cctk_Misc.F90 \\\n cctk_ParamCheck.F90 \\\n cctk_Parameter.F90 \\\n cctk_Reduction.F90 \\\n cctk_Schedule.F90 \\\n cctk_Sync.F90 \\\n cctk_Termination.F90 \\\n cctk_Timers.F90 \\\n cctk_Types.F90 \\\n cctk_Version.F90 \\\n cctk_WarnLevel.F90 \\\n util_Table.F90 \\\n paramcheck.F90\n\nelse\n\nSRCS =\n\nendif\n", |
| "cctk.F90": "#include \"cctk.h\"\n\nmodule cctk\n use cctk_ActiveThorns\n use cctk_Banner\n use cctk_Comm\n use cctk_CommandLine\n use cctk_Complex\n use cctk_Constants\n use cctk_Coord\n use cctk_DebugDefines\n use cctk_Faces\n use cctk_File\n use cctk_Flesh\n use cctk_FortranString1\n use cctk_FortranWrappers\n use cctk_GHExtensions\n use cctk_GNU\n use cctk_Groups\n use cctk_GroupsOnGH\n use cctk_IO\n use cctk_IOMethods\n use cctk_Interp\n use cctk_Main\n use cctk_Malloc1\n use cctk_Math\n use cctk_MemAlloc\n use cctk_Misc\n use cctk_ParamCheck\n use cctk_Parameter\n use cctk_Reduction\n use cctk_Schedule\n use cctk_Sync\n use cctk_Termination\n use cctk_Timers\n use cctk_Types\n use cctk_Version\n use cctk_WarnLevel\n use util_Table\n implicit none\nend module cctk\n", |
| "cctk_File.F90": "#include \"cctk.h\"\n\nmodule cctk_File\n implicit none\n \n interface\n \n subroutine CCTK_CreateDirectory (ierr, mode, pathname)\n implicit none\n integer ierr\n integer mode\n character(*) pathname\n end subroutine CCTK_CreateDirectory\n \n end interface\n \nend module cctk_File\n", |
| "cctk_Termination.F90": "#include \"cctk.h\"\n\nmodule cctk_Termination\n implicit none\n\n interface\n\n subroutine CCTK_TerminationReached (ires, cctkGH)\n implicit none\n integer ires\n CCTK_POINTER_TO_CONST cctkGH\n end subroutine CCTK_TerminationReached\n \n subroutine CCTK_TerminateNext (cctkGH)\n implicit none\n CCTK_POINTER_TO_CONST cctkGH\n end subroutine CCTK_TerminateNext\n \n end interface\n \nend module cctk_Termination\n", |
| "cctk_Version.F90": "#include \"cctk.h\"\n\nmodule cctk_Version\n implicit none\n\n interface\n \n subroutine CCTK_FullVersion (string, string_length)\n implicit none\n character(*) string\n integer string_length\n end subroutine CCTK_FullVersion\n \n subroutine CCTK_MajorVersion (string, string_length)\n implicit none\n character(*) string\n integer string_length\n end subroutine CCTK_MajorVersion\n \n subroutine CCTK_MinorVersion (string, string_length)\n implicit none\n character(*) string\n integer string_length\n end subroutine CCTK_MinorVersion\n \n subroutine CCTK_MicroVersion (string, string_length)\n implicit none\n character(*) string\n integer string_length\n end subroutine CCTK_MicroVersion\n \n subroutine CCTKi_DateStamp (string, string_length)\n implicit none\n character(*) string\n integer string_length\n end subroutine CCTKi_DateStamp\n \n subroutine CCTK_CompileTime (string, string_length)\n implicit none\n character(*) string\n integer string_length\n end subroutine CCTK_CompileTime\n \n subroutine CCTKi_CompileDate (string, string_length)\n implicit none\n character(*) string\n integer string_length\n end subroutine CCTKi_CompileDate\n \n subroutine CCTKi_CompileUser (string, string_length)\n implicit none\n character(*) string\n integer string_length\n end subroutine CCTKi_CompileUser\n \n subroutine CCTKi_RunUser (string, string_length)\n implicit none\n character(*) string\n integer string_length\n end subroutine CCTKi_RunUser\n \n end interface\n \nend module cctk_Version\n", |
| "cctk_Groups.F90": "#include \"cctk.h\"\n\nmodule cctk_Groups\n implicit none\n\n interface\n\n pure subroutine CCTK_DecomposeName (ierr, fullname, implementation, implementation_nchars, name, name_nchars)\n implicit none\n integer , intent(out) :: ierr\n character(*), intent(in) :: fullname\n character(*), intent(out) :: implementation\n integer , intent(in) :: implementation_nchars\n character(*), intent(in) :: name\n integer , intent(out) :: name_nchars\n end subroutine CCTK_DecomposeName\n\n pure subroutine CCTK_FirstVarIndex (index, group)\n implicit none\n integer , intent(out) :: index\n character(*), intent(in) :: group\n end subroutine CCTK_FirstVarIndex\n\n pure subroutine CCTK_FirstVarIndexI (index, group)\n implicit none\n integer, intent(out) :: index\n integer, intent(in) :: group\n end subroutine CCTK_FirstVarIndexI\n\n pure subroutine CCTK_FullName (nchars, var, fullname)\n implicit none\n integer , intent(in) :: nchars\n integer , intent(in) :: var\n character(*), intent(out) :: fullname\n end subroutine CCTK_FullName\n\n ! CCTK_GroupData fills a structure and has no Fortran wrapper\n \n pure subroutine CCTK_GroupDimI (dim, group)\n implicit none\n integer, intent(out) :: dim\n integer, intent(in) :: group\n end subroutine CCTK_GroupDimI\n \n pure subroutine CCTK_GroupDimFromVarI (dim, var)\n implicit none\n integer, intent(out) :: dim\n integer, intent(in) :: var\n end subroutine CCTK_GroupDimFromVarI\n\n pure subroutine CCTK_GroupDistribNumber (number, distrib)\n implicit none\n integer , intent(out) :: number\n character(*), intent(in) :: distrib\n end subroutine CCTK_GroupDistribNumber\n \n ! CCTK_GroupGhostsizesI is a strange function and has no Fortran wrapper\n\n pure subroutine CCTK_ImplementationI (nchars, group, implementation)\n implicit none\n integer , intent(in) :: nchars\n integer , intent(in) :: group\n character(*), intent(out) :: implementation\n end subroutine CCTK_ImplementationI\n\n pure subroutine CCTK_GroupIndex (index, group)\n implicit none\n integer , intent(out) :: index\n character(*), intent(in) :: group\n end subroutine CCTK_GroupIndex\n\n pure subroutine CCTK_GroupIndexFromVar (index, var)\n implicit none\n integer , intent(out) :: index\n character(*), intent(in) :: var\n end subroutine CCTK_GroupIndexFromVar\n\n pure subroutine CCTK_GroupIndexFromVarI (index, var)\n implicit none\n integer, intent(out) :: index\n integer, intent(in) :: var\n end subroutine CCTK_GroupIndexFromVarI\n\n pure subroutine CCTK_GroupName (nchars, group, groupname)\n implicit none\n integer , intent(in) :: nchars\n integer , intent(in) :: group\n character(*), intent(out) :: groupname\n end subroutine CCTK_GroupName\n \n pure subroutine CCTK_GroupNameFromVarI (nchars, var, groupname)\n implicit none\n integer , intent(in) :: nchars\n integer , intent(in) :: var\n character(*), intent(out) :: groupname\n end subroutine CCTK_GroupNameFromVarI\n\n pure subroutine CCTK_GroupScopeNumber (number, scope)\n implicit none\n integer , intent(out) :: number\n character(*), intent(in) :: scope\n end subroutine CCTK_GroupScopeNumber\n \n ! CCTK_GroupSizesI is a strange function and has no Fortran wrapper\n \n pure subroutine CCTK_GroupTypeFromVarI (type, var)\n implicit none\n integer, intent(out) :: type\n integer, intent(in) :: var\n end subroutine CCTK_GroupTypeFromVarI\n\n pure subroutine CCTK_GroupTypeNumber (number, type)\n implicit none\n integer , intent(out) :: number\n character(*), intent(in) :: type\n end subroutine CCTK_GroupTypeNumber\n \n pure subroutine CCTK_GroupTypeI (type, group)\n implicit none\n integer, intent(out) :: type\n integer, intent(in) :: group\n end subroutine CCTK_GroupTypeI\n \n pure subroutine CCTK_ImpFromVarI (nchars, var, imp)\n implicit none\n integer , intent(in) :: nchars\n integer , intent(in) :: var\n character(*), intent(out) :: imp\n end subroutine CCTK_ImpFromVarI\n \n pure subroutine CCTK_MaxDim (maxdim)\n implicit none\n integer, intent(out) :: maxdim\n end subroutine CCTK_MaxDim\n \n pure subroutine CCTK_NumGroups (numgroups)\n implicit none\n integer, intent(out) :: numgroups\n end subroutine CCTK_NumGroups\n \n pure subroutine CCTK_NumTimeLevelsFromVar (numtimelevels, var)\n implicit none\n integer , intent(out) :: numtimelevels\n character(*), intent(in) :: var\n end subroutine CCTK_NumTimeLevelsFromVar\n \n pure subroutine CCTK_NumTimeLevelsFromVarI (numtimelevels, var)\n implicit none\n integer, intent(out) :: numtimelevels\n integer, intent(in) :: var\n end subroutine CCTK_NumTimeLevelsFromVarI\n \n pure subroutine CCTK_NumTimeLevels (numtimelevels, var)\n implicit none\n integer , intent(out) :: numtimelevels\n character(*), intent(in) :: var\n end subroutine CCTK_NumTimeLevels\n \n pure subroutine CCTK_NumTimeLevelsI (numtimelevels, var)\n implicit none\n integer, intent(out) :: numtimelevels\n integer, intent(in) :: var\n end subroutine CCTK_NumTimeLevelsI\n \n pure subroutine CCTK_MaxTimeLevels (maxtimelevels, group)\n implicit none\n integer , intent(out) :: maxtimelevels\n character(*), intent(in) :: group\n end subroutine CCTK_MaxTimeLevels\n \n pure subroutine CCTK_MaxTimeLevelsVN (maxtimelevels, var)\n implicit none\n integer , intent(out) :: maxtimelevels\n character(*), intent(in) :: var\n end subroutine CCTK_MaxTimeLevelsVN\n \n pure subroutine CCTK_MaxTimeLevelsVI (maxtimelevels, var)\n implicit none\n integer, intent(out) :: maxtimelevels\n integer, intent(in) :: var\n end subroutine CCTK_MaxTimeLevelsVI\n \n pure subroutine CCTK_MaxTimeLevelsGN (maxtimelevels, group)\n implicit none\n integer , intent(out) :: maxtimelevels\n character(*), intent(in) :: group\n end subroutine CCTK_MaxTimeLevelsGN\n \n pure subroutine CCTK_MaxTimeLevelsGI (maxtimelevels, group)\n implicit none\n integer, intent(out) :: maxtimelevels\n integer, intent(in) :: group\n end subroutine CCTK_MaxTimeLevelsGI\n \n pure subroutine CCTK_NumVars (numvars)\n implicit none\n integer, intent(out) :: numvars\n end subroutine CCTK_NumVars\n \n pure subroutine CCTK_NumVarsInGroup (numvars, group)\n implicit none\n integer , intent(out) :: numvars\n character(*), intent(in) :: group\n end subroutine CCTK_NumVarsInGroup\n \n pure subroutine CCTK_NumVarsInGroupI (numvars, group)\n implicit none\n integer, intent(out) :: numvars\n integer, intent(in) :: group\n end subroutine CCTK_NumVarsInGroupI\n \n pure subroutine CCTK_VarIndex (index, var)\n implicit none\n integer , intent(out) :: index\n character(*), intent(in) :: var\n end subroutine CCTK_VarIndex\n \n pure subroutine CCTK_VarName (nchars, var, varname)\n implicit none\n integer , intent(in) :: nchars\n integer , intent(in) :: var\n character(*), intent(out) :: varname\n end subroutine CCTK_VarName\n \n pure subroutine CCTK_VarTypeI (type, var)\n implicit none\n integer, intent(out) :: type\n integer, intent(in) :: var\n end subroutine CCTK_VarTypeI\n \n pure subroutine CCTK_VarTypeNumber (number, type)\n implicit none\n integer , intent(out) :: number\n character(*), intent(in) :: type\n end subroutine CCTK_VarTypeNumber\n \n pure subroutine CCTK_VarTypeName (nchars, type, typename)\n implicit none\n integer , intent(in) :: nchars\n integer , intent(in) :: type\n character(*), intent(out) :: typename\n end subroutine CCTK_VarTypeName\n \n pure subroutine CCTK_VarTypeSize (size, type)\n implicit none\n integer, intent(out) :: size\n integer, intent(in) :: type\n end subroutine CCTK_VarTypeSize\n \n ! CCTKi_GroupLengthAsPointer is a strange function and has no\n ! Fortran wrapper\n\n ! CCTK_TraverseString has no Fortran wrapper\n \n pure subroutine CCTK_GroupTagsTable (table, group)\n implicit none\n integer , intent(out) :: table\n character(*), intent(in) :: group\n end subroutine CCTK_GroupTagsTable\n \n pure subroutine CCTK_GroupTagsTableI (table, group)\n implicit none\n integer, intent(out) :: table\n integer, intent(in) :: group\n end subroutine CCTK_GroupTagsTableI\n \n end interface\n \nend module cctk_Groups\n", |
| "cctk_Comm.F90": "#include \"cctk.h\"\n\nmodule cctk_Comm\n implicit none\n\n interface\n\n subroutine CCTK_SyncGroup (ierr, GH, group)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST GH\n character(*) group\n end subroutine CCTK_SyncGroup\n\n subroutine CCTK_Barrier (ierr, GH)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST GH\n end subroutine CCTK_Barrier\n\n! This routine has been made a function instead of a subroutine\n! and is declared in cctk.h\n! subroutine CCTK_MyProc (ierr, GH)\n! implicit none\n! integer ierr\n! CCTK_POINTER_TO_CONST GH\n! end subroutine CCTK_MyProc\n\n! This routine has been made a function instead of a subroutine\n! and is declared in cctk.h\n! subroutine CCTK_nProcs (ierr, GH)\n! implicit none\n! integer ierr\n! CCTK_POINTER_TO_CONST GH\n! end subroutine CCTK_nProcs\n\n subroutine CCTK_ParallelInit (ierr, GH)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST GH\n end subroutine CCTK_ParallelInit\n\n subroutine CCTK_Exit (ierr, GH, retval)\n implicit none\n integer ierr\n CCTK_POINTER GH\n integer retval\n end subroutine CCTK_Exit\n\n subroutine CCTK_Abort (ierr, GH, retval)\n implicit none\n integer ierr\n CCTK_POINTER GH\n integer retval\n end subroutine CCTK_Abort\n\n subroutine CCTK_SetupGH (GH, config, convergence_level)\n implicit none\n CCTK_POINTER GH\n CCTK_POINTER config\n integer convergence_level\n end subroutine CCTK_SetupGH\n\n! CCTK_ArrayGroupSizeB is not available from Fortran\n\n subroutine CCTK_QueryGroupStorageB (ierr, GH, group, groupname)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST GH\n integer group\n character(*) groupname\n end subroutine CCTK_QueryGroupStorageB\n\n subroutine CCTK_GroupDynamicData (ierr, GH, group, data)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST GH\n integer group\n CCTK_POINTER data\n end subroutine CCTK_GroupDynamicData\n\n subroutine CCTK_GroupStorageIncrease &\n (ierr, GH, n_groups, groups, timelevels, status)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST GH\n integer n_groups\n integer groups(n_groups)\n integer timelevels(n_groups)\n integer status(n_groups)\n end subroutine CCTK_GroupStorageIncrease\n\n subroutine CCTK_GroupStorageDecrease &\n (ierr, GH, n_groups, groups, timelevels, status)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST GH\n integer n_groups\n integer groups(n_groups)\n integer timelevels(n_groups)\n integer status(n_groups)\n end subroutine CCTK_GroupStorageDecrease\n\n subroutine CCTK_InterpGridArrays &\n (ierr, &\n GH, &\n N_dims, &\n local_interp_handle, &\n param_table_handle, &\n coord_system_handle, &\n N_interp_points, &\n interp_coords_type, &\n interp_coords, &\n N_input_arrays, &\n input_array_indices, &\n N_output_arrays, &\n output_array_types, &\n output_arrays)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST GH\n integer N_dims\n integer local_interp_handle\n integer param_table_handle\n integer coord_system_handle\n integer N_interp_points\n integer interp_coords_type\n CCTK_POINTER_TO_CONST interp_coords(N_dims)\n integer N_input_arrays\n CCTK_INT input_array_indices(N_input_arrays)\n integer N_output_arrays\n CCTK_INT output_array_types(N_output_arrays)\n CCTK_POINTER output_arrays(N_output_arrays)\n end subroutine CCTK_InterpGridArrays\n\n subroutine CCTK_QueryGroupStorage (ierr, GH, groupname)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST GH\n character(*) groupname\n end subroutine CCTK_QueryGroupStorage\n\n subroutine CCTK_QueryGroupStorageI (ierr, GH, group)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST GH\n integer group\n end subroutine CCTK_QueryGroupStorageI\n\n! CCTK_ArrayGroupSize is not available from Fortran\n! CCTK_ArrayGroupSizeI is not available from Fortran\n\n end interface\n\nend module cctk_Comm\n", |
| "cctk_Flesh.F90": "#include \"cctk.h\"\n\nmodule cctk_Flesh\n implicit none\n\n interface\n\n subroutine CCTK_Traverse (ierr, GH, where)\n implicit none\n integer ierr\n CCTK_POINTER GH\n character(*) where\n end subroutine CCTK_Traverse\n \n end interface\n \nend module cctk_Flesh\n", |
| "cctk_ParamCheck.F90": "#include \"cctk.h\"\n\nmodule cctk_ParamCheck\n implicit none\n \nend module cctk_ParamCheck\n", |
| "cctk_Math.F90": "module cctk_Math\n implicit none\n\n interface\n\n double precision function CCTK_copysign (x, y)\n implicit none\n double precision, intent(in) :: x, y\n end function CCTK_copysign\n\n integer function CCTK_fpclassify (x)\n implicit none\n double precision, intent(in) :: x\n end function CCTK_fpclassify\n\n integer function CCTK_isfinite (x)\n implicit none\n double precision, intent(in) :: x\n end function CCTK_isfinite\n\n integer function CCTK_isinf (x)\n implicit none\n double precision, intent(in) :: x\n end function CCTK_isinf\n\n integer function CCTK_isnan (x)\n implicit none\n double precision, intent(in) :: x\n end function CCTK_isnan\n\n integer function CCTK_isnormal (x)\n implicit none\n double precision, intent(in) :: x\n end function CCTK_isnormal\n\n integer function CCTK_signbit (x)\n implicit none\n double precision, intent(in) :: x\n end function CCTK_signbit\n\n end interface\n\nend module cctk_Math\n", |
| "cctk_Misc.F90": "#include \"cctk.h\"\n\nmodule cctk_Misc\n implicit none\n\n interface\n\n subroutine Util_SplitString (ierr, before, before_length, after, after_length, string, sep)\n implicit none\n integer ierr\n character(*) before\n integer before_length\n character(*) after\n integer after_length\n character(*) string\n character(*) sep\n end subroutine Util_SplitString\n\n ! CCTK_Equals is declared in cctk.h\n \n subroutine CCTK_FortranString (nchars, c_string, f_string)\n implicit none\n integer nchars\n CCTK_POINTER_TO_CONST c_string\n character(*) f_string\n end subroutine CCTK_FortranString\n\n subroutine Util_NullTerminateString (c_string, f_string)\n implicit none\n CCTK_POINTER c_string\n character(*) f_string\n end subroutine Util_NullTerminateString\n\n subroutine Util_IntInRange (inrange, inval, range)\n implicit none\n integer inrange\n integer inval\n character(*) range\n end subroutine Util_IntInRange\n\n subroutine Util_DoubleInRange (inrange, inval, range)\n implicit none\n integer inrange\n double precision inval\n character(*) range\n end subroutine Util_DoubleInRange\n\n subroutine CCTK_SetString (ierr, data, value)\n implicit none\n integer ierr\n CCTK_POINTER data\n character(*) value\n end subroutine CCTK_SetString\n\n subroutine CCTK_SetBoolean (ierr, data, value)\n implicit none\n integer ierr\n CCTK_INT data\n character(*) value\n end subroutine CCTK_SetBoolean\n\n subroutine CCTK_RunTime (time)\n implicit none\n integer time\n end subroutine CCTK_RunTime\n\n subroutine Util_CurrentTime (ierr, now)\n implicit none\n integer ierr\n character(*) now\n end subroutine Util_CurrentTime\n\n subroutine Util_CurrentDate (ierr, now)\n implicit none\n integer ierr\n character(*) now\n end subroutine Util_CurrentDate\n\n subroutine Util_RunTitle (ierr, title)\n implicit none\n integer ierr\n character(*) title\n end subroutine Util_RunTitle\n\n end interface\n \n ! Do not declare these, because some compilers insist on a\n ! definition once they have seen an external declaration:\n!!$ external Util_InList\n!!$ external Util_IntInRangeList\n!!$ external Util_DoubleInRangeList\n!!$ external CCTK_SetDoubleInRangeList\n!!$ external CCTK_SetIntInRangeList\n!!$ external CCTK_SetKeywordInRangeList\n \nend module cctk_Misc\n", |
| "cctk_Complex.F90": "#include \"cctk.h\"\n\nmodule cctk_Complex\n implicit none\n\n! Fortran handles complex numbers just fine all by itself\n! and does not need an additional library\n\nend module cctk_Complex\n", |
| "cctk_Schedule.F90": "#include \"cctk.h\"\n\nmodule cctk_Schedule\n implicit none\n\n interface\n\n subroutine CCTK_SchedulePrint (ierr, where)\n implicit none\n integer ierr\n character(*) where\n end subroutine CCTK_SchedulePrint\n\n subroutine CCTK_SchedulePrintTimes (ierr, where)\n implicit none\n integer ierr\n character(*) where\n end subroutine CCTK_SchedulePrintTimes\n \n end interface\n \nend module cctk_Schedule\n", |
| "cctk_GNU.F90": "#include \"cctk.h\"\n\nmodule cctk_GNU\n implicit none\n \n ! This file only pulls in declarations for getopt and regex, which\n ! have no Fortran wrappers\n \nend module cctk_GNU\n", |
| "cctk_Parameter.F90": "#include \"cctk.h\"\n\nmodule cctk_Parameter\n implicit none\n\n interface\n\n subroutine CCTK_ParameterLevel (level)\n implicit none\n integer level\n end subroutine CCTK_ParameterLevel\n\n subroutine CCTK_ParameterSet (ierr, name, thorn, value)\n implicit none\n integer ierr\n character(*) name\n character(*) thorn\n character(*) value\n end subroutine CCTK_ParameterSet\n\n subroutine CCTK_ParameterGet (param, name, thorn, type)\n implicit none\n CCTK_POINTER_TO_CONST param\n character(*) name\n character(*) thorn\n integer type\n end subroutine CCTK_ParameterGet\n\n subroutine CCTK_ParameterValString (nchars, param, thorn, value)\n implicit none\n integer nchars\n character(*) param\n character(*) thorn\n character(*) value\n end subroutine CCTK_ParameterValString\n \n subroutine CCTK_ParameterWalk (ierr, first, origin, pfullname, pdata)\n implicit none\n integer ierr\n integer first\n character(*) origin\n CCTK_POINTER pfullname\n CCTK_POINTER pdata\n end subroutine CCTK_ParameterWalk\n\n subroutine CCTK_ParameterData (data, name, thorn)\n implicit none\n CCTK_POINTER_TO_CONST data\n character(*) name\n character(*) thorn\n end subroutine CCTK_ParameterData\n\n subroutine CCTK_ParameterQueryTimesSet (ierr, name, thorn)\n implicit none\n integer ierr\n character(*) name\n character(*) thorn\n end subroutine CCTK_ParameterQueryTimesSet\n\n end interface\n\nend module cctk_Parameter\n", |
| "cctk_Constants.F90": "#include \"cctk.h\"\n\nmodule cctk_Constants\n implicit none\n\n! This file declares no routines\n\nend module cctk_Constants\n", |
| "cctk_DebugDefines.F90": "#include \"cctk.h\"\n\nmodule cctk_DebugDefines\n implicit none\n \nend module cctk_DebugDefines\n", |
| "fortran.h": "#ifndef FORTRAN_H\n#define FORTRAN_H\n\n#include \"cctk.h\"\n\n#if FORTRAN_CPP_ANSI\n/* For an ANSI-like cpp */\n\n#define CONCAT(a,b) a##b\n#define STRINGIFY(a) STRINGIFY_(a)\n#define STRINGIFY_(a) #a\n\n#else\n/* For a traditional cpp */\n\n#define CONCAT(a,b) a/**/b\n#define STRINGIFY(a) \"a\"\n\n#endif\n\n#endif /* #ifdef FORTRAN_H */\n", |
| "cctk_ActiveThorns.F90": "#include \"cctk.h\"\n\nmodule cctk_ActiveThorns\n implicit none\n\n interface\n\n! This routine has been made a function instead of a subroutine\n! and is declared in cctk.h\n! subroutine CCTK_IsThornActive (ierr, name)\n! implicit none\n! integer ierr\n! character(*) name\n! end subroutine CCTK_IsThornActive\n\n subroutine CCTK_ThornHandle (handle, name)\n implicit none\n CCTK_POINTER_TO_CONST handle\n character(*) name\n end subroutine CCTK_ThornHandle\n\n subroutine CCTK_IsThornActiveH (ierr, handle)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST handle\n end subroutine CCTK_IsThornActiveH\n\n subroutine CCTK_IsThornCompiled (ierr, name)\n implicit none\n integer ierr\n character(*) name\n end subroutine CCTK_IsThornCompiled\n\n subroutine CCTK_IsImplementationActive (ierr, name)\n implicit none\n integer ierr\n character(*) name\n end subroutine CCTK_IsImplementationActive\n\n subroutine CCTK_IsImplementationCompiled (ierr, name)\n implicit none\n integer ierr\n character(*) name\n end subroutine CCTK_IsImplementationCompiled\n\n subroutine CCTK_ActivatingThorn (thorn, imp)\n implicit none\n character(*) thorn\n character(*) imp\n end subroutine CCTK_ActivatingThorn\n\n subroutine CCTK_ImpThornList (thornlist, imp)\n implicit none\n CCTK_POINTER thornlist\n character(*) imp\n end subroutine CCTK_ImpThornList\n\n subroutine CCTK_ThornImplementation (imp, thorn)\n implicit none\n character(*) imp\n character(*) thorn\n end subroutine CCTK_ThornImplementation\n\n subroutine CCTK_ImplementationThorn (thorn, imp)\n implicit none\n character(*) thorn\n character(*) imp\n end subroutine CCTK_ImplementationThorn\n\n subroutine CCTK_ImplementationRequires (implist, imp)\n implicit none\n CCTK_POINTER implist\n character(*) imp\n end subroutine CCTK_ImplementationRequires\n\n subroutine CCTK_NumCompiledThorns (num)\n implicit none\n integer num\n end subroutine CCTK_NumCompiledThorns\n\n subroutine CCTK_NumCompiledImplementations (num)\n implicit none\n integer num\n end subroutine CCTK_NumCompiledImplementations\n\n subroutine CCTK_CompiledThorn (thorn_name, thorn_index)\n implicit none\n character(*) thorn_name\n integer thorn_index\n end subroutine CCTK_CompiledThorn\n\n subroutine CCTK_CompiledImplementation (imp_name, imp_index)\n implicit none\n character(*) imp_name\n integer imp_index\n end subroutine CCTK_CompiledImplementation\n\n end interface\n\nend module cctk_ActiveThorns\n", |
| "cctk_Coord.F90": "#include \"cctk.h\"\n\nmodule cctk_Coord\n implicit none\n\n interface\n\n subroutine CCTK_CoordDir (dir, name, systemname)\n implicit none\n integer dir\n character(*) name\n character(*) systemname\n end subroutine CCTK_CoordDir\n\n subroutine CCTK_CoordIndex (ierr, dir, name, systemname)\n implicit none\n integer ierr\n integer dir\n character(*) name\n character(*) systemname\n end subroutine CCTK_CoordIndex\n\n subroutine CCTK_CoordName (name, namelen, dir, systemname)\n implicit none\n character(*) name\n integer namelen\n integer dir\n character(*) systemname\n end subroutine CCTK_CoordName\n\n subroutine CCTK_CoordRange &\n (ierr, GH, coord_lower, coord_upper, &\n coord_dir, coord_name, system_name)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST GH\n CCTK_REAL coord_lower\n CCTK_REAL coord_upper\n integer coord_dir\n character(*) coord_name\n character(*) system_name\n end subroutine CCTK_CoordRange\n\n subroutine CCTK_CoordRangePhysIndex &\n (ierr, GH, lower, upper, coorddir, coordname, systemname)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST GH\n integer lower\n integer upper\n integer coorddir\n character(*) coordname\n character(*) systemname\n end subroutine CCTK_CoordRangePhysIndex\n\n subroutine CCTK_CoordRegisterData (ierr, dir, gv, name, systemname)\n implicit none\n integer ierr\n integer dir\n character(*) gv\n character(*) name\n character(*) systemname\n end subroutine CCTK_CoordRegisterData\n\n subroutine CCTK_CoordSystemDim (dim, systemname)\n implicit none\n integer dim\n character(*) systemname\n end subroutine CCTK_CoordSystemDim\n\n subroutine CCTK_CoordSystemHandle (handle, systemname)\n implicit none\n integer handle\n character(*) systemname\n end subroutine CCTK_CoordSystemHandle\n\n subroutine CCTK_CoordSystemName (name, namelen, handle)\n implicit none\n character(*) name\n integer namelen\n integer handle\n end subroutine CCTK_CoordSystemName\n\n subroutine CCTK_CoordLocalRange &\n (GH, lower, upper, coord_dir, coord_name, system_name)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST GH\n CCTK_REAL lower\n CCTK_REAL upper\n integer coord_dir\n character(*) coord_name\n character(*) system_name\n end subroutine CCTK_CoordLocalRange\n\n subroutine CCTK_CoordRegisterRange &\n (GH, coord_min, coord_max, coord_dir, coord_name, system_name)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST GH\n CCTK_REAL coord_min\n CCTK_REAL coord_max\n integer coord_dir\n character(*) coord_name\n character(*) system_name\n end subroutine CCTK_CoordRegisterRange\n\n! This routine is commented out because its name is too long.\n! Therefore it cannot be called from Fortran anyway.\n! subroutine CCTK_CoordRegisterRangePhysIndex &\n! (ierr, GH, coord_min, coord_max, coord_dir, coord_name, system_name)\n! implicit none\n! integer ierr\n! CCTK_POINTER_TO_CONST GH\n! integer coord_min\n! integer coord_max\n! integer coord_dir\n! character(*) coord_name\n! character(*) system_name\n! end subroutine CCTK_CoordRegisterRangePhysIndex\n\n subroutine CCTK_NumCoordSystems (num)\n implicit none\n integer num\n end subroutine CCTK_NumCoordSystems\n\n subroutine CCTK_CoordSystemImplementation (imp, implen, handle)\n implicit none\n character(*) imp\n integer implen\n integer handle\n end subroutine CCTK_CoordSystemImplementation\n\n end interface\n\nend module cctk_Coord\n", |
| "cctk_Timers.F90": "#include \"cctk.h\"\n\nmodule cctk_Timers\n implicit none\n\n interface\n\n subroutine CCTK_NumTimers (num_timers)\n implicit none\n integer num_timers\n end subroutine CCTK_NumTimers\n\n subroutine CCTK_NumClocks (num_clocks)\n implicit none\n integer num_clocks\n end subroutine CCTK_NumClocks\n \n subroutine CCTK_TimerName (timer_name, timer_length, timer_handle)\n implicit none\n character(*) timer_name\n integer timer_length\n integer timer_handle\n end subroutine CCTK_TimerName\n \n subroutine CCTK_ClockName (clock_name, clock_length, clock_handle)\n implicit none\n character(*) clock_name\n integer clock_length\n integer clock_handle\n end subroutine CCTK_ClockName\n \n subroutine CCTK_ClockHandle (handle, nclock)\n implicit none\n integer handle\n character(*) nclock\n end subroutine CCTK_ClockHandle\n \n subroutine CCTK_TimerCreate (handle, name)\n implicit none\n integer handle\n character(*) name\n end subroutine CCTK_TimerCreate\n \n subroutine CCTK_TimerCreateI (handle)\n implicit none\n integer handle\n end subroutine CCTK_TimerCreateI\n \n subroutine CCTK_TimerDestroy (ierr, name)\n implicit none\n integer ierr\n character(*) name\n end subroutine CCTK_TimerDestroy\n \n subroutine CCTK_TimerDestroyI (ierr, handle)\n implicit none\n integer ierr\n integer handle\n end subroutine CCTK_TimerDestroyI\n \n subroutine CCTK_TimerStart (ierr, name)\n implicit none\n integer ierr\n character(*) name\n end subroutine CCTK_TimerStart\n \n subroutine CCTK_TimerStartI (ierr, handle)\n implicit none\n integer ierr\n integer handle\n end subroutine CCTK_TimerStartI\n \n subroutine CCTK_TimerStop (ierr, name)\n implicit none\n integer ierr\n character(*) name\n end subroutine CCTK_TimerStop\n \n subroutine CCTK_TimerStopI (ierr, handle)\n implicit none\n integer ierr\n integer handle\n end subroutine CCTK_TimerStopI\n \n subroutine CCTK_TimerReset (ierr, name)\n implicit none\n integer ierr\n character(*) name\n end subroutine CCTK_TimerReset\n \n subroutine CCTK_TimerResetI (ierr, handle)\n implicit none\n integer ierr\n integer handle\n end subroutine CCTK_TimerResetI\n \n subroutine CCTK_TimerPrintData (ierr, name, nclock)\n implicit none\n integer ierr\n character(*) name\n character(*) nclock\n end subroutine CCTK_TimerPrintData\n \n subroutine CCTK_TimerPrintDataI (ierr, handle, nclock)\n implicit none\n integer ierr\n integer handle\n character(*) nclock\n end subroutine CCTK_TimerPrintDataI\n \n end interface\n \nend module cctk_Timers\n", |
| "cctk_GHExtensions.F90": "#include \"cctk.h\"\n\nmodule cctk_GHExtensions\n implicit none\n\n interface\n\n subroutine CCTK_RegisterGHExtension (ierr, name)\n implicit none\n integer ierr\n character(*) name\n end subroutine CCTK_RegisterGHExtension\n\n subroutine CCTK_UnregisterGHExtension (ierr, name)\n implicit none\n integer ierr\n character(*) name\n end subroutine CCTK_UnregisterGHExtension\n\n subroutine CCTK_RegisterGHExtensionSetupGH (ierr, handle, func)\n implicit none\n integer ierr\n integer handle\n CCTK_FPOINTER func\n end subroutine CCTK_RegisterGHExtensionSetupGH\n\n subroutine CCTK_RegisterGHExtensionInitGH (ierr, handle, func)\n implicit none\n integer ierr\n integer handle\n CCTK_FPOINTER func\n end subroutine CCTK_RegisterGHExtensionInitGH\n\n#if 0\n! no Fortran 90 interface for following routines\n! their names exceed the maximum allowed length of 31 characters\n subroutine CCTK_RegisterGHExtensionScheduleTraverseGH (ierr, handle, func)\n implicit none\n integer ierr\n integer handle\n CCTK_FPOINTER func\n end subroutine CCTK_RegisterGHExtensionScheduleTraverseGH\n#endif\n\n subroutine CCTK_GHExtensionHandle (ierr, name)\n implicit none\n integer ierr\n character(*) name\n end subroutine CCTK_GHExtensionHandle\n\n subroutine CCTK_GHExtension (extension, GH, name)\n implicit none\n CCTK_POINTER extension\n CCTK_POINTER_TO_CONST GH\n character(*) name\n end subroutine CCTK_GHExtension\n\n end interface\n\nend module cctk_GHExtensions\n", |
| "cctk_Sync.F90": "#include \"cctk.h\"\n\nmodule cctk_Sync\n implicit none\n\n interface\n\n subroutine CCTK_SyncGroupI (ierr, cctkGH, group)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST cctkGH\n integer group\n end subroutine CCTK_SyncGroupI\n \n subroutine CCTK_SyncGroupWithVar (ierr, cctkGH, varname)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST cctkGH\n character(*) varname\n end subroutine CCTK_SyncGroupWithVar\n \n subroutine CCTK_SyncGroupWithVarI (ierr, cctkGH, var)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST cctkGH\n integer var\n end subroutine CCTK_SyncGroupWithVarI\n \n subroutine CCTK_SyncGroups (ierr, cctkGH, n_groups, groups)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST cctkGH\n integer n_groups\n integer groups(n_groups)\n end subroutine CCTK_SyncGroups\n \n end interface\n \nend module cctk_Sync\n", |
| "cctk_Interp.F90": "#include \"cctk.h\"\n\nmodule cctk_Interp\n implicit none\n\n interface\n\n subroutine CCTK_InterpHandle (handle, name)\n implicit none\n integer handle\n character(*) name\n end subroutine CCTK_InterpHandle\n\n#if 0\nC no Fortran 90 interface for following routines\nC their names exceed the maximum allowed length of 31 characters\n subroutine CCTK_InterpRegisterOpLocalUniform (operator_ptr, operator_name, thorn)\n implicit none\n CCTK_FPOINTER operator_ptr\n character(*) operator_name\n character(*) thorn\n end subroutine CCTK_InterpRegisterOpLocalUniform\n\n subroutine CCTK_InterpOperatorImplementation (nchars, imp, handle)\n implicit none\n integer nchars\n character(*) imp\n integer handle\n end subroutine CCTK_InterpOperatorImplementation\n#endif\n\n subroutine CCTK_InterpOperator (nchars, operator, handle)\n implicit none\n integer nchars\n character(*) operator\n integer handle\n end subroutine CCTK_InterpOperator\n\n subroutine CCTK_NumInterpOperators (num)\n implicit none\n integer num\n end subroutine CCTK_NumInterpOperators\n\n ! CCTK_InterpGV is declared below\n ! CCTK_InterpLocal is declared below\n\n subroutine CCTK_InterpLocalUniform &\n (ierr, &\n N_dims, &\n operator_handle, &\n param_table_handle, &\n coord_origin, &\n coord_delta, &\n N_interp_points, &\n interp_coords_type_code, &\n interp_coords, &\n N_input_arrays, &\n input_array_dims, &\n input_array_type_codes, &\n input_arrays, &\n N_output_arrays, &\n output_array_type_codes, &\n output_arrays)\n implicit none\n integer ierr\n integer N_dims\n integer operator_handle\n integer param_table_handle\n CCTK_REAL coord_origin(N_dims)\n CCTK_REAL coord_delta(N_dims)\n integer N_interp_points\n integer interp_coords_type_code\n CCTK_POINTER_TO_CONST interp_coords(N_dims)\n integer N_input_arrays\n CCTK_INT input_array_dims(N_dims)\n CCTK_INT input_array_type_codes(N_input_arrays)\n CCTK_POINTER_TO_CONST input_arrays(N_input_arrays)\n integer N_output_arrays\n CCTK_INT output_array_type_codes(N_output_arrays)\n CCTK_POINTER output_arrays(N_output_arrays)\n end subroutine CCTK_InterpLocalUniform\n\n end interface\n\nend module cctk_Interp\n", |
| "util_Table.F90": "#include \"cctk.h\"\n\nmodule util_Table\n implicit none\n\n interface\n\n ! create/destroy\n\n subroutine Util_TableCreate (handle, flags)\n implicit none\n integer handle\n integer flags\n end subroutine Util_TableCreate\n\n subroutine Util_TableClone (ierr, handle)\n implicit none\n integer ierr\n integer handle\n end subroutine Util_TableClone\n\n subroutine Util_TableDestroy (ierr, handle)\n implicit none\n integer ierr\n integer handle\n end subroutine Util_TableDestroy\n\n ! query\n\n subroutine Util_TableQueryFlags (flags, handle)\n implicit none\n integer flags\n integer handle\n end subroutine Util_TableQueryFlags\n\n subroutine Util_TableQueryNKeys (nkeys, handle)\n implicit none\n integer nkeys\n integer handle\n end subroutine Util_TableQueryNKeys\n\n subroutine Util_TableQueryMaxKeyLength (maxkeylength, handle)\n implicit none\n integer maxkeylength\n integer handle\n end subroutine Util_TableQueryMaxKeyLength\n\n subroutine Util_TableQueryValueInfo &\n (keyinfo, handle, type_code, N_elements, key)\n implicit none\n integer keyinfo\n integer handle\n CCTK_INT type_code\n CCTK_INT N_elements\n character(*) key\n end subroutine Util_TableQueryValueInfo\n\n ! misc stuff\n\n subroutine Util_TableDeleteKey (ierr, handle, key)\n implicit none\n integer ierr\n integer handle\n character(*) key\n end subroutine Util_TableDeleteKey\n\n ! convenience routines to create and/or set from a \"parameter-file\" string\n\n subroutine Util_TableCreateFromString (handle, string)\n implicit none\n integer handle\n character(*) string\n end subroutine Util_TableCreateFromString\n\n ! set/get a C-style null-terminated character string\n subroutine Util_TableSetString (info, handle, string, key)\n implicit none\n integer info\n integer handle\n character(*) string\n character(*) key\n end subroutine Util_TableSetString\n\n subroutine Util_TableGetString (length, handle, buffer, key)\n implicit none\n integer length\n integer handle\n character(*) buffer\n character(*) key\n end subroutine Util_TableGetString\n\n ! set/get generic types described by CCTK_VARIABLE_* type codes\n\n subroutine Util_TableSetGeneric (info, handle, type_code, value_ptr, key)\n implicit none\n integer info\n integer handle\n integer type_code\n CCTK_POINTER_TO_CONST value_ptr\n character(*) key\n end subroutine Util_TableSetGeneric\n\n subroutine Util_TableSetGenericArray &\n (info, handle, type_code, N_elements, array, key)\n implicit none\n integer info\n integer handle\n integer type_code\n integer N_elements\n CCTK_POINTER_TO_CONST array(*)\n character(*) key\n end subroutine Util_TableSetGenericArray\n\n subroutine Util_TableGetGeneric &\n (length, handle, type_code, value_ptr, key)\n implicit none\n integer length\n integer handle\n integer type_code\n CCTK_POINTER value_ptr\n character(*) key\n end subroutine Util_TableGetGeneric\n\n subroutine Util_TableGetGenericArray &\n (length, handle, type_code, N_elements, array, key)\n implicit none\n integer length\n integer handle\n integer type_code\n integer N_elements\n CCTK_POINTER array(*)\n character(*) key\n end subroutine Util_TableGetGenericArray\n\n ! set routines\n\n ! pointers\n\n subroutine Util_TableSetPointer (info, handle, value, key)\n implicit none\n integer info\n integer handle\n CCTK_POINTER value\n character(*) key\n end subroutine Util_TableSetPointer\n\n subroutine Util_TableSetFPointer (info, handle, value, key)\n implicit none\n integer info\n integer handle\n CCTK_FPOINTER value\n character(*) key\n end subroutine Util_TableSetFPointer\n\n ! integers\n\n subroutine Util_TableSetByte (info, handle, value, key)\n implicit none\n integer info\n integer handle\n CCTK_BYTE value\n character(*) key\n end subroutine Util_TableSetByte\n\n subroutine Util_TableSetInt (info, handle, value, key)\n implicit none\n integer info\n integer handle\n CCTK_INT value\n character(*) key\n end subroutine Util_TableSetInt\n\n#ifdef CCTK_INT1\n subroutine Util_TableSetInt1 (info, handle, value, key)\n implicit none\n integer info\n integer handle\n CCTK_INT1 value\n character(*) key\n end subroutine Util_TableSetInt1\n#endif\n\n#ifdef CCTK_INT2\n subroutine Util_TableSetInt2 (info, handle, value, key)\n implicit none\n integer info\n integer handle\n CCTK_INT2 value\n character(*) key\n end subroutine Util_TableSetInt2\n#endif\n\n#ifdef CCTK_INT4\n subroutine Util_TableSetInt4 (info, handle, value, key)\n implicit none\n integer info\n integer handle\n CCTK_INT4 value\n character(*) key\n end subroutine Util_TableSetInt4\n#endif\n\n#ifdef CCTK_INT8\n subroutine Util_TableSetInt8 (info, handle, value, key)\n implicit none\n integer info\n integer handle\n CCTK_INT8 value\n character(*) key\n end subroutine Util_TableSetInt8\n#endif\n\n ! real numbers\n\n subroutine Util_TableSetReal (info, handle, value, key)\n implicit none\n integer info\n integer handle\n CCTK_REAL value\n character(*) key\n end subroutine Util_TableSetReal\n\n#ifdef HAVE_CCTK_REAL4\n subroutine Util_TableSetReal4 (info, handle, value, key)\n implicit none\n integer info\n integer handle\n CCTK_REAL4 value\n character(*) key\n end subroutine Util_TableSetReal4\n#endif\n\n#ifdef HAVE_CCTK_REAL8\n subroutine Util_TableSetReal8 (info, handle, value, key)\n implicit none\n integer info\n integer handle\n CCTK_REAL8 value\n character(*) key\n end subroutine Util_TableSetReal8\n#endif\n\n#ifdef HAVE_CCTK_REAL16\n subroutine Util_TableSetReal16 (info, handle, value, key)\n implicit none\n integer info\n integer handle\n CCTK_REAL16 value\n character(*) key\n end subroutine Util_TableSetReal16\n#endif\n\n ! complex numbers\n\n subroutine Util_TableSetComplex (info, handle, value, key)\n implicit none\n integer info\n integer handle\n CCTK_COMPLEX value\n character(*) key\n end subroutine Util_TableSetComplex\n\n#ifdef HAVE_CCTK_REAL4\n subroutine Util_TableSetComplex8 (info, handle, value, key)\n implicit none\n integer info\n integer handle\n CCTK_COMPLEX8 value\n character(*) key\n end subroutine Util_TableSetComplex8\n#endif\n\n#ifdef HAVE_CCTK_REAL8\n subroutine Util_TableSetComplex16 (info, handle, value, key)\n implicit none\n integer info\n integer handle\n CCTK_COMPLEX16 value\n character(*) key\n end subroutine Util_TableSetComplex16\n#endif\n\n#ifdef HAVE_CCTK_REAL16\n subroutine Util_TableSetComplex32 (info, handle, value, key)\n implicit none\n integer info\n integer handle\n CCTK_COMPLEX32 value\n character(*) key\n end subroutine Util_TableSetComplex32\n#endif\n\n ! arrays of pointers\n\n subroutine Util_TableSetPointerArray &\n (info, handle, N_elements, array, key)\n implicit none\n integer info\n integer handle\n integer N_elements\n CCTK_POINTER array(*)\n character(*) key\n end subroutine Util_TableSetPointerArray\n\n subroutine Util_TableSetFPointerArray &\n (info, handle, N_elements, array, key)\n implicit none\n integer info\n integer handle\n integer N_elements\n CCTK_FPOINTER array(*)\n character(*) key\n end subroutine Util_TableSetFPointerArray\n\n ! arrays of integers\n\n subroutine Util_TableSetByteArray (info, handle, N_elements, array, key)\n implicit none\n integer info\n integer handle\n integer N_elements\n CCTK_BYTE array(*)\n character(*) key\n end subroutine Util_TableSetByteArray\n\n subroutine Util_TableSetIntArray (info, handle, N_elements, array, key)\n implicit none\n integer info\n integer handle\n integer N_elements\n CCTK_INT array(*)\n character(*) key\n end subroutine Util_TableSetIntArray\n\n#ifdef CCTK_INT1\n subroutine Util_TableSetInt1Array (info, handle, N_elements, array, key)\n implicit none\n integer info\n integer handle\n integer N_elements\n CCTK_INT1 array(*)\n character(*) key\n end subroutine Util_TableSetInt1Array\n#endif\n\n#ifdef CCTK_INT2\n subroutine Util_TableSetInt2Array (info, handle, N_elements, array, key)\n implicit none\n integer info\n integer handle\n integer N_elements\n CCTK_INT2 array(*)\n character(*) key\n end subroutine Util_TableSetInt2Array\n#endif\n\n#ifdef CCTK_INT4\n subroutine Util_TableSetInt4Array (info, handle, N_elements, array, key)\n implicit none\n integer info\n integer handle\n integer N_elements\n CCTK_INT4 array(*)\n character(*) key\n end subroutine Util_TableSetInt4Array\n#endif\n\n#ifdef CCTK_INT8\n subroutine Util_TableSetInt8Array (info, handle, N_elements, array, key)\n implicit none\n integer info\n integer handle\n integer N_elements\n CCTK_INT8 array(*)\n character(*) key\n end subroutine Util_TableSetInt8Array\n#endif\n\n ! arrays of real numbers\n\n subroutine Util_TableSetRealArray (info, handle, N_elements, array, key)\n implicit none\n integer info\n integer handle\n integer N_elements\n CCTK_REAL array(*)\n character(*) key\n end subroutine Util_TableSetRealArray\n\n#ifdef HAVE_CCTK_REAL4\n subroutine Util_TableSetReal4Array (info, handle, N_elements, array, key)\n implicit none\n integer info\n integer handle\n integer N_elements\n CCTK_REAL4 array(*)\n character(*) key\n end subroutine Util_TableSetReal4Array\n#endif\n\n#ifdef HAVE_CCTK_REAL8\n subroutine Util_TableSetReal8Array (info, handle, N_elements, array, key)\n implicit none\n integer info\n integer handle\n integer N_elements\n CCTK_REAL8 array(*)\n character(*) key\n end subroutine Util_TableSetReal8Array\n#endif\n\n#ifdef HAVE_CCTK_REAL16\n subroutine Util_TableSetReal16Array (info, handle, N_elements, array, key)\n implicit none\n integer info\n integer handle\n integer N_elements\n CCTK_REAL16 array(*)\n character(*) key\n end subroutine Util_TableSetReal16Array\n#endif\n\n ! arrays of complex numbers\n\n subroutine Util_TableSetComplexArray &\n (info, handle, N_elements, array, key)\n implicit none\n integer info\n integer handle\n integer N_elements\n CCTK_COMPLEX array(*)\n character(*) key\n end subroutine Util_TableSetComplexArray\n\n#ifdef HAVE_CCTK_REAL4\n subroutine Util_TableSetComplex8Array &\n (info, handle, N_elements, array, key)\n implicit none\n integer info\n integer handle\n integer N_elements\n CCTK_COMPLEX8 array(*)\n character(*) key\n end subroutine Util_TableSetComplex8Array\n#endif\n\n#ifdef HAVE_CCTK_REAL8\n subroutine Util_TableSetComplex16Array &\n (info, handle, N_elements, array, key)\n implicit none\n integer info\n integer handle\n integer N_elements\n CCTK_COMPLEX16 array(*)\n character(*) key\n end subroutine Util_TableSetComplex16Array\n#endif\n\n#ifdef HAVE_CCTK_REAL16\n subroutine Util_TableSetComplex32Array &\n (info, handle, N_elements, array, key)\n implicit none\n integer info\n integer handle\n integer N_elements\n CCTK_COMPLEX32 array(*)\n character(*) key\n end subroutine Util_TableSetComplex32Array\n#endif\n\n ! get routines\n\n ! pointers\n\n subroutine Util_TableGetPointer (length, handle, value, key)\n implicit none\n integer length\n integer handle\n CCTK_POINTER value\n character(*) key\n end subroutine Util_TableGetPointer\n\n subroutine Util_TableGetFPointer (length, handle, value, key)\n implicit none\n integer length\n integer handle\n CCTK_FPOINTER value\n character(*) key\n end subroutine Util_TableGetFPointer\n\n ! integers\n\n subroutine Util_TableGetByte (length, handle, value, key)\n implicit none\n integer length\n integer handle\n CCTK_BYTE value\n character(*) key\n end subroutine Util_TableGetByte\n\n subroutine Util_TableGetInt (length, handle, value, key)\n implicit none\n integer length\n integer handle\n CCTK_INT value\n character(*) key\n end subroutine Util_TableGetInt\n\n#ifdef CCTK_INT1\n subroutine Util_TableGetInt1 (length, handle, value, key)\n implicit none\n integer length\n integer handle\n CCTK_INT1 value\n character(*) key\n end subroutine Util_TableGetInt1\n#endif\n\n#ifdef CCTK_INT2\n subroutine Util_TableGetInt2 (length, handle, value, key)\n implicit none\n integer length\n integer handle\n CCTK_INT2 value\n character(*) key\n end subroutine Util_TableGetInt2\n#endif\n\n#ifdef CCTK_INT4\n subroutine Util_TableGetInt4 (length, handle, value, key)\n implicit none\n integer length\n integer handle\n CCTK_INT4 value\n character(*) key\n end subroutine Util_TableGetInt4\n#endif\n\n#ifdef CCTK_INT8\n subroutine Util_TableGetInt8 (length, handle, value, key)\n implicit none\n integer length\n integer handle\n CCTK_INT8 value\n character(*) key\n end subroutine Util_TableGetInt8\n#endif\n\n ! real numbers\n\n subroutine Util_TableGetReal (length, handle, value, key)\n implicit none\n integer length\n integer handle\n CCTK_REAL value\n character(*) key\n end subroutine Util_TableGetReal\n\n#ifdef HAVE_CCTK_REAL4\n subroutine Util_TableGetReal4 (length, handle, value, key)\n implicit none\n integer length\n integer handle\n CCTK_REAL4 value\n character(*) key\n end subroutine Util_TableGetReal4\n#endif\n\n#ifdef HAVE_CCTK_REAL8\n subroutine Util_TableGetReal8 (length, handle, value, key)\n implicit none\n integer length\n integer handle\n CCTK_REAL8 value\n character(*) key\n end subroutine Util_TableGetReal8\n#endif\n\n#ifdef HAVE_CCTK_REAL16\n subroutine Util_TableGetReal16 (length, handle, value, key)\n implicit none\n integer length\n integer handle\n CCTK_REAL16 value\n character(*) key\n end subroutine Util_TableGetReal16\n#endif\n\n ! complex numbers\n\n subroutine Util_TableGetComplex (length, handle, value, key)\n implicit none\n integer length\n integer handle\n CCTK_COMPLEX value\n character(*) key\n end subroutine Util_TableGetComplex\n\n#ifdef HAVE_CCTK_REAL4\n subroutine Util_TableGetComplex8 (length, handle, value, key)\n implicit none\n integer length\n integer handle\n CCTK_COMPLEX8 value\n character(*) key\n end subroutine Util_TableGetComplex8\n#endif\n\n#ifdef HAVE_CCTK_REAL8\n subroutine Util_TableGetComplex16 (length, handle, value, key)\n implicit none\n integer length\n integer handle\n CCTK_COMPLEX16 value\n character(*) key\n end subroutine Util_TableGetComplex16\n#endif\n\n#ifdef HAVE_CCTK_REAL16\n subroutine Util_TableGetComplex32 (length, handle, value, key)\n implicit none\n integer length\n integer handle\n CCTK_COMPLEX32 value\n character(*) key\n end subroutine Util_TableGetComplex32\n#endif\n\n ! arrays of pointers\n\n subroutine Util_TableGetPointerArray &\n (length, handle, N_elements, array, key)\n implicit none\n integer length\n integer handle\n integer N_elements\n CCTK_POINTER array(*)\n character(*) key\n end subroutine Util_TableGetPointerArray\n\n subroutine Util_TableGetFPointerArray &\n (length, handle, N_elements, array, key)\n implicit none\n integer length\n integer handle\n integer N_elements\n CCTK_FPOINTER array(*)\n character(*) key\n end subroutine Util_TableGetFPointerArray\n\n ! integers\n\n subroutine Util_TableGetByteArray (length, handle, N_elements, array, key)\n implicit none\n integer length\n integer handle\n integer N_elements\n CCTK_BYTE array(*)\n character(*) key\n end subroutine Util_TableGetByteArray\n\n subroutine Util_TableGetIntArray (length, handle, N_elements, array, key)\n implicit none\n integer length\n integer handle\n integer N_elements\n CCTK_INT array(*)\n character(*) key\n end subroutine Util_TableGetIntArray\n\n#ifdef CCTK_INT1\n subroutine Util_TableGetInt1Array (length, handle, N_elements, array, key)\n implicit none\n integer length\n integer handle\n integer N_elements\n CCTK_INT1 array(*)\n character(*) key\n end subroutine Util_TableGetInt1Array\n#endif\n\n#ifdef CCTK_INT2\n subroutine Util_TableGetInt2Array (length, handle, N_elements, array, key)\n implicit none\n integer length\n integer handle\n integer N_elements\n CCTK_INT2 array(*)\n character(*) key\n end subroutine Util_TableGetInt2Array\n#endif\n\n#ifdef CCTK_INT4\n subroutine Util_TableGetInt4Array (length, handle, N_elements, array, key)\n implicit none\n integer length\n integer handle\n integer N_elements\n CCTK_INT4 array(*)\n character(*) key\n end subroutine Util_TableGetInt4Array\n#endif\n\n#ifdef CCTK_INT8\n subroutine Util_TableGetInt8Array (length, handle, N_elements, array, key)\n implicit none\n integer length\n integer handle\n integer N_elements\n CCTK_INT8 array(*)\n character(*) key\n end subroutine Util_TableGetInt8Array\n#endif\n\n ! real numbers\n\n subroutine Util_TableGetRealArray (length, handle, N_elements, array, key)\n implicit none\n integer length\n integer handle\n integer N_elements\n CCTK_REAL array(*)\n character(*) key\n end subroutine Util_TableGetRealArray\n\n#ifdef HAVE_CCTK_REAL4\n subroutine Util_TableGetReal4Array &\n (length, handle, N_elements, array, key)\n implicit none\n integer length\n integer handle\n integer N_elements\n CCTK_REAL4 array(*)\n character(*) key\n end subroutine Util_TableGetReal4Array\n#endif\n\n#ifdef HAVE_CCTK_REAL8\n subroutine Util_TableGetReal8Array &\n (length, handle, N_elements, array, key)\n implicit none\n integer length\n integer handle\n integer N_elements\n CCTK_REAL8 array(*)\n character(*) key\n end subroutine Util_TableGetReal8Array\n#endif\n\n#ifdef HAVE_CCTK_REAL16\n subroutine Util_TableGetReal16Array &\n (length, handle, N_elements, array, key)\n implicit none\n integer length\n integer handle\n integer N_elements\n CCTK_REAL16 array(*)\n character(*) key\n end subroutine Util_TableGetReal16Array\n#endif\n\n ! complex numbers\n\n subroutine Util_TableGetComplexArray &\n (length, handle, N_elements, array, key)\n implicit none\n integer length\n integer handle\n integer N_elements\n CCTK_COMPLEX array(*)\n character(*) key\n end subroutine Util_TableGetComplexArray\n\n#ifdef HAVE_CCTK_REAL4\n subroutine Util_TableGetComplex8Array &\n (length, handle, N_elements, array, key)\n implicit none\n integer length\n integer handle\n integer N_elements\n CCTK_COMPLEX8 array(*)\n character(*) key\n end subroutine Util_TableGetComplex8Array\n#endif\n\n#ifdef HAVE_CCTK_REAL8\n subroutine Util_TableGetComplex16Array &\n (length, handle, N_elements, array, key)\n implicit none\n integer length\n integer handle\n integer N_elements\n CCTK_COMPLEX16 array(*)\n character(*) key\n end subroutine Util_TableGetComplex16Array\n#endif\n\n#ifdef HAVE_CCTK_REAL16\n subroutine Util_TableGetComplex32Array &\n (length, handle, N_elements, array, key)\n implicit none\n integer length\n integer handle\n integer N_elements\n CCTK_COMPLEX32 array(*)\n character(*) key\n end subroutine Util_TableGetComplex32Array\n#endif\n\n ! Table Iterator API\n\n ! create/destroy\n\n subroutine Util_TableItCreate (ihandle, handle)\n implicit none\n integer ihandle\n integer handle\n end subroutine Util_TableItCreate\n\n subroutine Util_TableItClone (newihandle, ihandle)\n implicit none\n integer newihandle\n integer ihandle\n end subroutine Util_TableItClone\n\n subroutine Util_TableItDestroy (ierr, ihandle)\n implicit none\n integer ierr\n integer ihandle\n end subroutine Util_TableItDestroy\n\n ! test for \"null-pointer\" state\n\n subroutine Util_TableItQueryIsNull (info, ihandle)\n implicit none\n integer info\n integer ihandle\n end subroutine Util_TableItQueryIsNull\n\n subroutine Util_TableItQueryIsNonNull (info, ihandle)\n implicit none\n integer info\n integer ihandle\n end subroutine Util_TableItQueryIsNonNull\n\n ! query what the iterator points to\n\n subroutine Util_TableItQueryTableHandle (handle, ihandle)\n implicit none\n integer handle\n integer ihandle\n end subroutine Util_TableItQueryTableHandle\n\n subroutine Util_TableItQueryKeyValueInfo &\n (length, ihandle, key_buffer, type_code, N_elements)\n implicit none\n integer length\n integer ihandle\n character(*) key_buffer\n CCTK_INT type_code\n CCTK_INT N_elements\n end subroutine Util_TableItQueryKeyValueInfo\n\n ! change value of iterator\n\n subroutine Util_TableItAdvance (info, ihandle)\n implicit none\n integer info\n integer ihandle\n end subroutine Util_TableItAdvance\n\n subroutine Util_TableItResetToStart (info, ihandle)\n implicit none\n integer info\n integer ihandle\n end subroutine Util_TableItResetToStart\n\n subroutine Util_TableItSetToNull (ierr, ihandle)\n implicit none\n integer ierr\n integer ihandle\n end subroutine Util_TableItSetToNull\n\n subroutine Util_TableItSetToKey (ierr, ihandle, key)\n implicit none\n integer ierr\n integer ihandle\n character(*) key\n end subroutine Util_TableItSetToKey\n\n end interface\n\nend module util_Table\n", |
| "cctk_WarnLevel.F90": "#include \"cctk.h\"\n\nmodule cctk_WarnLevel\n implicit none\n\n interface\n\n subroutine CCTK_Warn (level, line, file, thorn, message)\n implicit none\n integer level\n integer line\n character(*) file\n character(*) thorn\n character(*) message\n end subroutine CCTK_Warn\n\n subroutine CCTK_Error (line, file, thorn, message)\n implicit none\n integer line\n character(*) file\n character(*) thorn\n character(*) message\n end subroutine CCTK_Error\n\n subroutine CCTK_ParamWarn (thorn, message)\n implicit none\n character(*) thorn\n character(*) message\n end subroutine CCTK_ParamWarn\n\n subroutine CCTK_Info (thorn, message)\n implicit none\n character(*) thorn\n character(*) message\n end subroutine CCTK_Info\n \n end interface\n \n ! Do not declare these, because some compilers insist on a\n ! definition once they have seen an external declaration:\n!!$ external CCTK_VWarn\n!!$ external CCTK_VError\n!!$ external CCTK_VParamWarn\n!!$ external CCTK_VInfo\n \nend module cctk_WarnLevel\n", |
| "cctk_IOMethods.F90": "#include \"cctk.h\"\n\nmodule cctk_IOMethods\n implicit none\n\n interface\n\n subroutine CCTKi_RegisterIOMethod (handle, thorn, name)\n implicit none\n integer handle\n character(*) thorn\n character(*) name\n end subroutine CCTKi_RegisterIOMethod\n\n subroutine CCTK_RegisterIOMethodOutputGH (ierr, handle, OutputGH)\n implicit none\n integer ierr\n integer handle\n CCTK_FPOINTER OutputGH\n end subroutine CCTK_RegisterIOMethodOutputGH\n\n#if 0\nC no Fortran 90 interface for following routines\nC their names exceed the maximum allowed length of 31 characters\n subroutine CCTK_RegisterIOMethodTimeToOutput (ierr, handle, TimeToOutput)\n implicit none\n integer ierr\n integer handle\n CCTK_FPOINTER TimeToOutput\n end subroutine CCTK_RegisterIOMethodTimeToOutput\n\n subroutine CCTK_RegisterIOMethodTriggerOutput (ierr, handle, TriggerOutput)\n implicit none\n integer ierr\n integer handle\n CCTK_FPOINTER TriggerOutput\n end subroutine CCTK_RegisterIOMethodTriggerOutput\n\n subroutine CCTK_RegisterIOMethodOutputVarAs (ierr, handle, OutputVarAs)\n implicit none\n integer ierr\n integer handle\n CCTK_FPOINTER OutputVarAs\n end subroutine CCTK_RegisterIOMethodOutputVarAs\n#endif\n\n subroutine CCTK_IOMethodImplementation (nchars, imp, handle)\n implicit none\n integer nchars\n character(*) imp\n integer handle\n end subroutine CCTK_IOMethodImplementation\n\n subroutine CCTK_IOMethod (nchars, method, handle)\n implicit none\n integer nchars\n character(*) method\n integer handle\n end subroutine CCTK_IOMethod\n\n subroutine CCTK_NumIOMethods (num)\n implicit none\n integer num\n end subroutine CCTK_NumIOMethods\n\n end interface\n\nend module cctk_IOMethods\n", |
| "cctk_Faces.F90": "#include \"cctk.h\"\n\nmodule cctk_Faces\n implicit none\n\nend module cctk_Faces\n", |
| "cctk_Main.F90": "#include \"cctk.h\"\n\nmodule cctk_Main\n implicit none\n\n interface\n\n subroutine CCTK_Initialise (ierr, config)\n implicit none\n integer ierr\n CCTK_POINTER config\n end subroutine CCTK_Initialise\n\n subroutine CCTK_Evolve (ierr, config)\n implicit none\n integer ierr\n CCTK_POINTER config\n end subroutine CCTK_Evolve\n\n subroutine CCTK_Shutdown (ierr, config)\n implicit none\n integer ierr\n CCTK_POINTER config\n end subroutine CCTK_Shutdown\n\n subroutine CCTK_MainLoopIndex (main_loop_index)\n implicit none\n integer main_loop_index\n end subroutine CCTK_MainLoopIndex\n\n subroutine CCTK_SetMainLoopIndex (ierr, main_loop_index)\n implicit none\n integer ierr\n integer main_loop_index\n end subroutine CCTK_SetMainLoopIndex\n\n end interface\n \nend module cctk_Main\n", |
| "cctk_Reduction.F90": "#include \"cctk.h\"\n\nmodule cctk_Reduction\n implicit none\n \n interface\n\n subroutine CCTK_ReductionHandle (ierr, reduction)\n implicit none\n integer ierr\n character(*) reduction\n end subroutine CCTK_ReductionHandle\n\n subroutine CCTK_ReductionArrayHandle (ierr, reduction)\n implicit none\n integer ierr\n character(*) reduction\n end subroutine CCTK_ReductionArrayHandle\n \n ! Name is too long (max in F90 is 31, in F03 is 63)\n!!$ subroutine CCTK_ReduceOperatorImplementation &\n!!$ (implementation, implementation_length, handle)\n!!$ implicit none\n!!$ character(*) implementation\n!!$ integer implementation_length\n!!$ integer handle\n!!$ end subroutine CCTK_ReduceOperatorImplementation\n \n subroutine CCTK_ReduceOperator (operator, operator_length, handle)\n implicit none\n character(*) operator\n integer operator_length\n integer handle\n end subroutine CCTK_ReduceOperator\n \n subroutine CCTK_NumReduceOperators (num_operators)\n implicit none\n integer num_operators\n end subroutine CCTK_NumReduceOperators\n \n subroutine CCTK_ReduceLocalArrays (ierr, &\n N_dims, &\n operator_handle, &\n param_table_handle, &\n N_input_arrays, &\n input_array_dims, &\n input_array_type_codes, &\n input_arrays, &\n M_output_numbers, &\n output_number_type_codes, &\n output_numbers)\n implicit none\n integer ierr\n integer N_dims\n integer operator_handle\n integer param_table_handle\n integer N_input_arrays\n CCTK_INT input_array_dims(N_input_arrays)\n CCTK_INT input_array_type_codes(N_input_arrays)\n CCTK_POINTER_TO_CONST input_arrays(N_input_arrays)\n integer M_output_numbers\n CCTK_INT output_number_type_codes(M_output_numbers)\n CCTK_POINTER output_numbers(M_output_numbers)\n end subroutine CCTK_ReduceLocalArrays\n \n subroutine CCTK_LocalArrayReductionHandle (ierr, reduction)\n implicit none\n integer ierr\n character(*) reduction\n end subroutine CCTK_LocalArrayReductionHandle\n \n ! Name is too long (max in F90 is 31, in F03 is 63)\n!!$ subroutine CCTK_LocalArrayReduceOperatorImplementation &\n!!$ (implementation, implementation_length, handle)\n!!$ implicit none\n!!$ character(*) implementation\n!!$ integer implementation_length\n!!$ integer handle\n!!$ end subroutine CCTK_LocalArrayReduceOperatorImplementation\n \n subroutine CCTK_LocalArrayReduceOperator &\n (operator, operator_length, handle)\n implicit none\n character(*) operator\n integer operator_length\n integer handle\n end subroutine CCTK_LocalArrayReduceOperator\n \n ! Name is too long (max in F90 is 31, in F03 is 63)\n!!$ subroutine CCTK_NumLocalArrayReduceOperators (num_operators)\n!!$ implicit none\n!!$ integer num_operators\n!!$ end subroutine CCTK_NumLocalArrayReduceOperators\n \n subroutine CCTK_ReduceGridArrays (ierr, cctkGH, &\n dest_proc, &\n local_reduce_handle, &\n param_table_handle, &\n N_input_arrays, &\n input_array_variable_indices, &\n M_output_values, &\n output_value_type_codes, &\n output_values)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST cctkGH\n integer dest_proc\n integer local_reduce_handle\n integer param_table_handle\n integer N_input_arrays\n CCTK_INT input_array_variable_indices(N_input_arrays)\n integer M_output_values\n CCTK_INT output_value_type_codes(M_output_values)\n CCTK_POINTER output_values(M_output_values)\n end subroutine CCTK_ReduceGridArrays\n \n subroutine CCTK_GridArrayReductionOperator (operator, operator_length)\n implicit none\n character(*) operator\n integer operator_length\n end subroutine CCTK_GridArrayReductionOperator\n \n ! Name is too long (max in F90 is 31, in F03 is 63)\n!!$ subroutine CCTK_NumGridArrayReductionOperators (num_operators)\n!!$ implicit none\n!!$ integer num_operators\n!!$ end subroutine CCTK_NumGridArrayReductionOperators\n \n!!$ subroutine CCTK_ReduceLocalScalar (ierr, &\n!!$ cctkGH, proc, operation_handle, &\n!!$ inScalar, outScalar, dataType)\n!!$ implicit none\n!!$ integer ierr\n!!$ CCTK_POINTER_TO_CONST cctkGH\n!!$ integer proc\n!!$ integer operation_handle\n!!$ CCTK_POINTER_TO_CONST inScalar\n!!$ CCTK_POINTER outScalar\n!!$ integer dataType\n!!$ end subroutine CCTK_ReduceLocalScalar\n \n!!$ subroutine CCTK_ReduceLocalArray1D (ierr, &\n!!$ cctkGH, proc, operation_handle, &\n!!$ in_array1d, out_array1d, num_in_array1d, data_type)\n!!$ implicit none\n!!$ integer ierr\n!!$ CCTK_POINTER_TO_CONST cctkGH\n!!$ integer proc\n!!$ integer operation_handle\n!!$ CCTK_POINTER_TO_CONST in_array1d\n!!$ CCTK_POINTER out_array1d\n!!$ integer num_in_array1d\n!!$ integer data_type\n!!$ end subroutine CCTK_ReduceLocalArray1D\n \n!!$ subroutine CCTK_ReduceLocScalar (ierr, &\n!!$ cctkGH, proc, operation_handle, &\n!!$ in_scalar, out_scalar, data_type)\n!!$ implicit none\n!!$ integer ierr\n!!$ CCTK_POINTER_TO_CONST cctkGH\n!!$ integer proc\n!!$ integer operation_handle\n!!$ CCTK_POINTER_TO_CONST in_scalar\n!!$ CCTK_POINTER out_scalar\n!!$ integer data_type\n!!$ end subroutine CCTK_ReduceLocScalar\n \n!!$ subroutine CCTK_ReduceLocArrayToArray1D (ierr, &\n!!$ cctkGH, proc, operation_handle, &\n!!$ in_array1d, out_array1d, num_in_array1d, data_type)\n!!$ implicit none\n!!$ integer ierr\n!!$ CCTK_POINTER_TO_CONST cctkGH\n!!$ integer proc\n!!$ integer operation_handle\n!!$ CCTK_POINTER_TO_CONST in_array1d\n!!$ CCTK_POINTER out_array1d\n!!$ integer num_in_array1d\n!!$ integer data_type\n!!$ end subroutine CCTK_ReduceLocArrayToArray1D\n \n!!$ subroutine CCTK_ReduceLocArrayToArray2D (ierr, &\n!!$ cctkGH, proc, operation_handle, &\n!!$ in_array2d, out_array2d, xsize, ysize, data_type)\n!!$ implicit none\n!!$ integer ierr\n!!$ CCTK_POINTER_TO_CONST cctkGH\n!!$ integer proc\n!!$ integer operation_handle\n!!$ CCTK_POINTER_TO_CONST in_array2d\n!!$ CCTK_POINTER out_array2d\n!!$ integer xsize\n!!$ integer ysize\n!!$ integer data_type\n!!$ end subroutine CCTK_ReduceLocArrayToArray2D\n \n!!$ subroutine CCTK_ReduceLocArrayToArray3D (ierr, &\n!!$ cctkGH, proc, operation_handle, &\n!!$ in_array3d, out_array3d, xsize, ysize, zsize, data_type)\n!!$ implicit none\n!!$ integer ierr\n!!$ CCTK_POINTER_TO_CONST cctkGH\n!!$ integer proc\n!!$ integer operation_handle\n!!$ CCTK_POINTER_TO_CONST in_array3d\n!!$ CCTK_POINTER out_array3d\n!!$ integer xsize\n!!$ integer ysize\n!!$ integer zsize\n!!$ integer data_type\n!!$ end subroutine CCTK_ReduceLocArrayToArray3D\n \n end interface\n \n external CCTK_Reduce\n external CCTK_Reduce1\n external CCTK_ReduceLocalScalar\n external CCTK_ReduceLocalArray1D\n external CCTK_ReduceLocScalar\n external CCTK_ReduceLocArrayToArray1D\n external CCTK_ReduceLocArrayToArray2D\n external CCTK_ReduceLocArrayToArray3D\n external CCTK_ReduceArray\n \nend module cctk_Reduction\n", |
| "cctk_GroupsOnGH.F90": "#include \"cctk.h\"\n\nmodule cctk_GroupsOnGH\n implicit none\n\n interface\n\n pure subroutine CCTK_VarDataPtr (ptr, GH, timelevel, fullvarname)\n implicit none\n CCTK_POINTER , intent(out) :: ptr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: timelevel\n character(*) , intent(in) :: fullvarname\n end subroutine CCTK_VarDataPtr\n\n pure subroutine CCTK_VarDataPtrI (ptr, GH, timelevel, varindex)\n implicit none\n CCTK_POINTER , intent(out) :: ptr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: timelevel\n integer , intent(in) :: varindex\n end subroutine CCTK_VarDataPtrI\n\n pure subroutine CCTK_VarDataPtrB (ptr, GH, timelevel, varindex, fullvarname)\n implicit none\n CCTK_POINTER , intent(out) :: ptr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: timelevel\n integer , intent(in) :: varindex\n character(*) , intent(in) :: fullvarname\n end subroutine CCTK_VarDataPtrB\n\n subroutine CCTK_DisableGroupStorageI (ierr, GH, group)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: group\n end subroutine CCTK_DisableGroupStorageI\n\n subroutine CCTK_DisableGroupCommI (ierr, GH, group)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: group\n end subroutine CCTK_DisableGroupCommI\n\n subroutine CCTK_EnableGroupStorageI (ierr, GH, group)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: group\n end subroutine CCTK_EnableGroupStorageI\n\n subroutine CCTK_EnableGroupCommI (ierr, GH, group)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: group\n end subroutine CCTK_EnableGroupCommI\n\n pure subroutine CCTK_GrouplbndGN (ierr, GH, dim, lbnd, groupname)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: lbnd(dim)\n character(*) , intent(in) :: groupname\n end subroutine CCTK_GrouplbndGN\n\n pure subroutine CCTK_GrouplbndVN (ierr, GH, dim, lbnd, varname)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: lbnd(dim)\n character(*) , intent(in) :: varname\n end subroutine CCTK_GrouplbndVN\n\n pure subroutine CCTK_GrouplbndGI (ierr, GH, dim, lbnd, groupindex)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: lbnd(dim)\n integer , intent(in) :: groupindex\n end subroutine CCTK_GrouplbndGI\n\n pure subroutine CCTK_GrouplbndVI (ierr, GH, dim, lbnd, varindex)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: lbnd(dim)\n integer , intent(in) :: varindex\n end subroutine CCTK_GrouplbndVI\n\n pure subroutine CCTK_GroupubndGN (ierr, GH, dim, ubnd, groupname)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: ubnd(dim)\n character(*) , intent(in) :: groupname\n end subroutine CCTK_GroupubndGN\n\n pure subroutine CCTK_GroupubndVN (ierr, GH, dim, ubnd, varname)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: ubnd(dim)\n character(*) , intent(in) :: varname\n end subroutine CCTK_GroupubndVN\n\n pure subroutine CCTK_GroupubndGI (ierr, GH, dim, ubnd, groupindex)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: ubnd(dim)\n integer , intent(in) :: groupindex\n end subroutine CCTK_GroupubndGI\n\n pure subroutine CCTK_GroupubndVI (ierr, GH, dim, ubnd, varindex)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: ubnd(dim)\n integer , intent(in) :: varindex\n end subroutine CCTK_GroupubndVI\n\n pure subroutine CCTK_GrouplshGN (ierr, GH, dim, lsh, groupname)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: lsh(dim)\n character(*) , intent(in) :: groupname\n end subroutine CCTK_GrouplshGN\n\n pure subroutine CCTK_GrouplshVN (ierr, GH, dim, lsh, varname)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: lsh(dim)\n character(*) , intent(in) :: varname\n end subroutine CCTK_GrouplshVN\n\n pure subroutine CCTK_GrouplshGI (ierr, GH, dim, lsh, groupindex)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: lsh(dim)\n integer , intent(in) :: groupindex\n end subroutine CCTK_GrouplshGI\n\n pure subroutine CCTK_GrouplshVI (ierr, GH, dim, lsh, varindex)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: lsh(dim)\n integer , intent(in) :: varindex\n end subroutine CCTK_GrouplshVI\n\n pure subroutine CCTK_GroupashGN (ierr, GH, dim, ash, groupname)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: ash(dim)\n character(*) , intent(in) :: groupname\n end subroutine CCTK_GroupashGN\n\n pure subroutine CCTK_GroupashVN (ierr, GH, dim, ash, varname)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: ash(dim)\n character(*) , intent(in) :: varname\n end subroutine CCTK_GroupashVN\n\n pure subroutine CCTK_GroupashGI (ierr, GH, dim, ash, groupindex)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: ash(dim)\n integer , intent(in) :: groupindex\n end subroutine CCTK_GroupashGI\n\n pure subroutine CCTK_GroupashVI (ierr, GH, dim, ash, varindex)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: ash(dim)\n integer , intent(in) :: varindex\n end subroutine CCTK_GroupashVI\n\n pure subroutine CCTK_GroupgshGN (ierr, GH, dim, gsh, groupname)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: gsh(dim)\n character(*) , intent(in) :: groupname\n end subroutine CCTK_GroupgshGN\n\n pure subroutine CCTK_GroupgshVN (ierr, GH, dim, gsh, varname)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: gsh(dim)\n character(*) , intent(in) :: varname\n end subroutine CCTK_GroupgshVN\n\n pure subroutine CCTK_GroupgshGI (ierr, GH, dim, gsh, groupindex)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: gsh(dim)\n integer , intent(in) :: groupindex\n end subroutine CCTK_GroupgshGI\n\n pure subroutine CCTK_GroupgshVI (ierr, GH, dim, gsh, varindex)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: gsh(dim)\n integer , intent(in) :: varindex\n end subroutine CCTK_GroupgshVI\n\n pure subroutine CCTK_GroupbboxGN (ierr, GH, size, bbox, groupname)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: size\n integer , intent(out) :: bbox(size)\n character(*) , intent(in) :: groupname\n end subroutine CCTK_GroupbboxGN\n\n pure subroutine CCTK_GroupbboxVN (ierr, GH, size, bbox, varname)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: size\n integer , intent(out) :: bbox(size)\n character(*) , intent(in) :: varname\n end subroutine CCTK_GroupbboxVN\n\n pure subroutine CCTK_GroupbboxGI (ierr, GH, size, bbox, groupindex)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: size\n integer , intent(out) :: bbox(size)\n integer , intent(in) :: groupindex\n end subroutine CCTK_GroupbboxGI\n\n pure subroutine CCTK_GroupbboxVI (ierr, GH, size, bbox, varindex)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: size\n integer , intent(out) :: bbox(size)\n integer , intent(in) :: varindex\n end subroutine CCTK_GroupbboxVI\n\n pure subroutine CCTK_GroupnghostzonesGN (ierr, GH, dim, nghostzones, groupname)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: nghostzones(dim)\n character(*) , intent(in) :: groupname\n end subroutine CCTK_GroupnghostzonesGN\n\n pure subroutine CCTK_GroupnghostzonesVN (ierr, GH, dim, nghostzones, varname)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: nghostzones(dim)\n character(*) , intent(in) :: varname\n end subroutine CCTK_GroupnghostzonesVN\n\n pure subroutine CCTK_GroupnghostzonesGI (ierr, GH, dim, nghostzones, groupindex)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: nghostzones(dim)\n integer , intent(in) :: groupindex\n end subroutine CCTK_GroupnghostzonesGI\n\n pure subroutine CCTK_GroupnghostzonesVI (ierr, GH, dim, nghostzones, varindex)\n implicit none\n integer , intent(out) :: ierr\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: dim\n integer , intent(out) :: nghostzones(dim)\n integer , intent(in) :: varindex\n end subroutine CCTK_GroupnghostzonesVI\n\n pure subroutine CCTK_ActiveTimeLevels (activetimelevels, GH, groupname)\n implicit none\n integer , intent(out) :: activetimelevels\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n character(*) , intent(in) :: groupname\n end subroutine CCTK_ActiveTimeLevels\n\n pure subroutine CCTK_ActiveTimeLevelsGN (activetimelevels, GH, groupname)\n implicit none\n integer , intent(out) :: activetimelevels\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n character(*) , intent(in) :: groupname\n end subroutine CCTK_ActiveTimeLevelsGN\n\n pure subroutine CCTK_ActiveTimeLevelsGI (activetimelevels, GH, groupindex)\n implicit none\n integer , intent(out) :: activetimelevels\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: groupindex\n end subroutine CCTK_ActiveTimeLevelsGI\n\n pure subroutine CCTK_ActiveTimeLevelsVN (activetimelevels, GH, varname)\n implicit none\n integer , intent(out) :: activetimelevels\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n character(*) , intent(in) :: varname\n end subroutine CCTK_ActiveTimeLevelsVN\n\n pure subroutine CCTK_ActiveTimeLevelsVI (activetimelevels, GH, varindex)\n implicit none\n integer , intent(out) :: activetimelevels\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: varindex\n end subroutine CCTK_ActiveTimeLevelsVI\n\n pure subroutine CCTK_MaxActiveTimeLevels (maxactivetimelevels, GH, groupname)\n implicit none\n integer , intent(out) :: maxactivetimelevels\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n character(*) , intent(in) :: groupname\n end subroutine CCTK_MaxActiveTimeLevels\n\n pure subroutine CCTK_MaxActiveTimeLevelsGN (maxactivetimelevels, GH, groupname)\n implicit none\n integer , intent(out) :: maxactivetimelevels\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n character(*) , intent(in) :: groupname\n end subroutine CCTK_MaxActiveTimeLevelsGN\n\n pure subroutine CCTK_MaxActiveTimeLevelsGI (maxactivetimelevels, GH, groupindex)\n implicit none\n integer , intent(out) :: maxactivetimelevels\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: groupindex\n end subroutine CCTK_MaxActiveTimeLevelsGI\n\n pure subroutine CCTK_MaxActiveTimeLevelsVN (maxactivetimelevels, GH, varname)\n implicit none\n integer , intent(out) :: maxactivetimelevels\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n character(*) , intent(in) :: varname\n end subroutine CCTK_MaxActiveTimeLevelsVN\n\n pure subroutine CCTK_MaxActiveTimeLevelsVI (maxactivetimelevels, GH, varindex)\n implicit none\n integer , intent(out) :: maxactivetimelevels\n CCTK_POINTER_TO_CONST, intent(in) :: GH\n integer , intent(in) :: varindex\n end subroutine CCTK_MaxActiveTimeLevelsVI\n\n end interface\n \nend module cctk_GroupsOnGH\n", |
| "cctk_CommandLine.F90": "#include \"cctk.h\"\n\nmodule cctk_CommandLine\n implicit none\n\n interface\n\n! This subroutine has been renamed\n! because it conflicts with the name of this module\n subroutine CCTK_GetCommandLine (argc, outargv)\n implicit none\n integer argc\n CCTK_POINTER outargv\n end subroutine CCTK_GetCommandLine\n\n subroutine CCTK_ParameterFileName (ierr, filename, filenamelen)\n implicit none\n integer ierr\n character(*) filename\n integer filenamelen\n end subroutine CCTK_ParameterFileName\n\n end interface\n\nend module cctk_CommandLine\n", |
| "cctk_Types.F90": "#include \"cctk.h\"\n\nmodule cctk_Types\n implicit none\n \nend module cctk_Types\n", |
| "paramcheck.F90": "#include \"cctk.h\"\n#include \"cctk_Arguments.h\"\n#include \"cctk_Functions.h\"\n#include \"cctk_Parameters.h\"\n\nsubroutine CheckFortranParameters (CCTK_ARGUMENTS)\n implicit none\n DECLARE_CCTK_ARGUMENTS\n DECLARE_CCTK_PARAMETERS\n DECLARE_CCTK_FUNCTIONS\n \n if (one /= 1) then\n call CCTK_PARAMWARN (\"Fortran parameters do not work -- check the C/Fortran language interface\")\n end if\nend subroutine CheckFortranParameters\n", |
| "cctk_IO.F90": "#include \"cctk.h\"\n\nmodule cctk_IO\n implicit none\n\n interface\n\n subroutine CCTK_OutputGH (ierr, GH)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST GH\n end subroutine CCTK_OutputGH\n\n subroutine CCTK_OutputVarAs (ierr, GH, var, alias)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST GH\n character(*) var\n character(*) alias\n end subroutine CCTK_OutputVarAs\n\n subroutine CCTK_OutputVar (ierr, GH, var)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST GH\n character(*) var\n end subroutine CCTK_OutputVar\n\n subroutine CCTK_OutputVarByMethod (ierr, GH, var, method)\n implicit none\n integer ierr\n CCTK_POINTER_TO_CONST GH\n character(*) var\n character(*) method\n end subroutine CCTK_OutputVarByMethod\n \n end interface\n \nend module cctk_IO\n", |
| "cctk_FortranString1.F90": "#include \"cctk.h\"\n\n! This is the name of a subroutine, so the module must be called differently.\nmodule cctk_FortranString1\n implicit none\n\nend module cctk_FortranString1\n", |
| "cctk_MemAlloc.F90": "#include \"cctk.h\"\n\nmodule cctk_MemAlloc\n implicit none\n\n interface\n\n subroutine CCTK_Malloc (ptr, size, line, file)\n implicit none\n CCTK_POINTER ptr\n integer size\n integer line\n character(*) file\n end subroutine CCTK_Malloc\n\n subroutine CCTK_Free (ptr)\n implicit none\n CCTK_POINTER ptr\n end subroutine CCTK_Free\n\n ! CCTK_TotalMemory is already declared in cctk_Malloc1\n \n end interface\n \nend module cctk_MemAlloc\n", |
| "cctk_Malloc1.F90": "#include \"cctk.h\"\n\n! This is the name of a subroutine, so the module must be called differently.\nmodule cctk_Malloc1\n implicit none\n\n interface\n\n subroutine CCTK_MemStat\n implicit none\n end subroutine CCTK_MemStat\n\n subroutine CCTK_TotalMemory (amount)\n implicit none\n integer amount\n end subroutine CCTK_TotalMemory\n\n subroutine CCTK_MemTicketCash (diff, this_ticket)\n implicit none\n integer diff\n integer this_ticket\n end subroutine CCTK_MemTicketCash\n\n subroutine CCTK_MemTicketRequest (ticket)\n implicit none\n integer ticket\n end subroutine CCTK_MemTicketRequest\n\n subroutine CCTK_MemTicketDelete (ierr, this_ticket)\n implicit none\n integer ierr\n integer this_ticket\n end subroutine CCTK_MemTicketDelete\n\n end interface\n \nend module cctk_Malloc1\n" |
| }, |
| "test": {}, |
| "doc": { |
| "documentation.tex": "% *======================================================================*\n% Cactus Thorn template for ThornGuide documentation\n% Author: Ian Kelley\n% Date: Sun Jun 02, 2002\n% $Header$\n%\n% Thorn documentation in the latex file doc/documentation.tex\n% will be included in ThornGuides built with the Cactus make system.\n% The scripts employed by the make system automatically include\n% pages about variables, parameters and scheduling parsed from the\n% relevant thorn CCL files.\n%\n% This template contains guidelines which help to assure that your\n% documentation will be correctly added to ThornGuides. More\n% information is available in the Cactus UsersGuide.\n%\n% Guidelines:\n% - Do not change anything before the line\n% % START CACTUS THORNGUIDE\",\n% except for filling in the title, author, date, etc. fields.\n% - Each of these fields should only be on ONE line.\n% - Author names should be separated with a \\\\ or a comma.\n% - You can define your own macros, but they must appear after\n% the START CACTUS THORNGUIDE line, and must not redefine standard\n% latex commands.\n% - To avoid name clashes with other thorns, 'labels', 'citations',\n% 'references', and 'image' names should conform to the following\n% convention:\n% ARRANGEMENT_THORN_LABEL\n% For example, an image wave.eps in the arrangement CactusWave and\n% thorn WaveToyC should be renamed to CactusWave_WaveToyC_wave.eps\n% - Graphics should only be included using the graphicx package.\n% More specifically, with the \"\\includegraphics\" command. Do\n% not specify any graphic file extensions in your .tex file. This\n% will allow us to create a PDF version of the ThornGuide\n% via pdflatex.\n% - References should be included with the latex \"\\bibitem\" command.\n% - Use \\begin{abstract}...\\end{abstract} instead of \\abstract{...}\n% - Do not use \\appendix, instead include any appendices you need as\n% standard sections.\n% - For the benefit of our Perl scripts, and for future extensions,\n% please use simple latex.\n%\n% *======================================================================*\n%\n% Example of including a graphic image:\n% \\begin{figure}[ht]\n% \\begin{center}\n% \\includegraphics[width=6cm]{MyArrangement_MyThorn_MyFigure}\n% \\end{center}\n% \\caption{Illustration of this and that}\n% \\label{MyArrangement_MyThorn_MyLabel}\n% \\end{figure}\n%\n% Example of using a label:\n% \\label{MyArrangement_MyThorn_MyLabel}\n%\n% Example of a citation:\n% \\cite{MyArrangement_MyThorn_Author99}\n%\n% Example of including a reference\n% \\bibitem{MyArrangement_MyThorn_Author99}\n% {J. Author, {\\em The Title of the Book, Journal, or periodical}, 1 (1999),\n% 1--16. {\\tt http://www.nowhere.com/}}\n%\n% *======================================================================*\n\n% If you are using CVS use this line to give version information\n% $Header$\n\n\\documentclass{article}\n\n% Use the Cactus ThornGuide style file\n% (Automatically used from Cactus distribution, if you have a\n% thorn without the Cactus Flesh download this from the Cactus\n% homepage at www.cactuscode.org)\n\\usepackage{../../../../doc/latex/cactus}\n\n\\begin{document}\n\n% The author of the documentation\n\\author{Erik Schnetter \\textless schnetter@aei.mpg.de\\textgreater}\n\n% The title of the document (not necessarily the name of the Thorn)\n\\title{Fortran Interfaces for Flesh Functions}\n\n% the date your document was last changed, if your document is in CVS,\n% please use:\n\\date{$ $Date$ $}\n\n\\maketitle\n\n% Do not delete next line\n% START CACTUS THORNGUIDE\n\n% Add all definitions used in this documentation here\n% \\def\\mydef etc\n\n% Add an abstract for this thorn's documentation\n\\begin{abstract}\nThis thorn provides Fortran interfaces for the flesh functions.\n\\end{abstract}\n\n% The following sections are suggestive only.\n% Remove them or add your own.\n\n\\section{Introduction}\n\n\\section{Physical System}\n\n\\section{Numerical Implementation}\n\n\\section{Using This Thorn}\n\n\\subsection{Obtaining This Thorn}\n\n\\subsection{Basic Usage}\n\n\\subsection{Special Behaviour}\n\n\\subsection{Interaction With Other Thorns}\n\n\\subsection{Examples}\n\n\\subsection{Support and Feedback}\n\n\\section{History}\n\n\\subsection{Thorn Source Code}\n\n\\subsection{Thorn Documentation}\n\n\\subsection{Acknowledgements}\n\n\n\\begin{thebibliography}{9}\n\n\\end{thebibliography}\n\n% Do not delete next line\n% END CACTUS THORNGUIDE\n\n\\end{document}\n" |
| } |
| } |