thorn_name
stringclasses
227 values
url
stringclasses
26 values
configuration
stringclasses
137 values
interface
stringclasses
225 values
param
stringclasses
220 values
schedule
stringclasses
223 values
src_filename
stringlengths
4
83
src_code
stringlengths
0
579k
CactusBase/Boundary
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Boundary # $Header$ # This will disappear once function aliasing has requires PROVIDES Boundary { SCRIPT LANG }
# Interface definition for thorn Boundary # $Header$ implements: boundary INCLUDES HEADER: Boundary.h in Boundary.h # Implementation of new boundary spec: CCTK_INT FUNCTION Boundary_RegisterPhysicalBC(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN CCTK_FPOINTER function_pointer(CCTK_POINTER_TO_CONST IN GH, \ ...
# Parameter definitions for thorn Boundary # $Header$ restricted: INT radpower "Power of decay rate in extrapolation used in radiative boundaries" { : :: "A negative value switches off this feature" } -1 BOOLEAN register_scalar "Register routine to handle the 'Scalar' boundary condition" { } "yes" BOOLEAN registe...
# Schedule definitions for thorn Boundary # $Header$ schedule Boundary_Check at CCTK_PARAMCHECK { LANG: C } "Check dimension of grid variables" schedule Boundary_RegisterBCs at CCTK_WRAGH { LANG: C OPTIONS: global } "Register boundary conditions that this thorn provides" # New boundary infrastructure: schedul...
NoneBoundary.c
/*@@ @file NoneBoundary.c @date Sat Jan 4 05:43:35 CET 2003 @author David Rideout @desc Implements 'no boundary condition'. This can be used to inform the Boundary thorn that this variable should have boundary conditions applied to it, but then not actually ...
CactusBase/Boundary
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Boundary # $Header$ # This will disappear once function aliasing has requires PROVIDES Boundary { SCRIPT LANG }
# Interface definition for thorn Boundary # $Header$ implements: boundary INCLUDES HEADER: Boundary.h in Boundary.h # Implementation of new boundary spec: CCTK_INT FUNCTION Boundary_RegisterPhysicalBC(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN CCTK_FPOINTER function_pointer(CCTK_POINTER_TO_CONST IN GH, \ ...
# Parameter definitions for thorn Boundary # $Header$ restricted: INT radpower "Power of decay rate in extrapolation used in radiative boundaries" { : :: "A negative value switches off this feature" } -1 BOOLEAN register_scalar "Register routine to handle the 'Scalar' boundary condition" { } "yes" BOOLEAN registe...
# Schedule definitions for thorn Boundary # $Header$ schedule Boundary_Check at CCTK_PARAMCHECK { LANG: C } "Check dimension of grid variables" schedule Boundary_RegisterBCs at CCTK_WRAGH { LANG: C OPTIONS: global } "Register boundary conditions that this thorn provides" # New boundary infrastructure: schedul...
FlatBoundary.c
/*@@ @file FlatBoundary.c @date Mon Mar 15 15:09:00 1999 @author Gerd Lanfermann @desc Routines for applying flat boundary conditions @enddesc @history @hdate Tue 10 Apr 2001 @hauthor Thomas Radke @hdesc BC routines generalized for applying to arbitrary CCTK data ty...
CactusBase/Boundary
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Boundary # $Header$ # This will disappear once function aliasing has requires PROVIDES Boundary { SCRIPT LANG }
# Interface definition for thorn Boundary # $Header$ implements: boundary INCLUDES HEADER: Boundary.h in Boundary.h # Implementation of new boundary spec: CCTK_INT FUNCTION Boundary_RegisterPhysicalBC(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN CCTK_FPOINTER function_pointer(CCTK_POINTER_TO_CONST IN GH, \ ...
# Parameter definitions for thorn Boundary # $Header$ restricted: INT radpower "Power of decay rate in extrapolation used in radiative boundaries" { : :: "A negative value switches off this feature" } -1 BOOLEAN register_scalar "Register routine to handle the 'Scalar' boundary condition" { } "yes" BOOLEAN registe...
# Schedule definitions for thorn Boundary # $Header$ schedule Boundary_Check at CCTK_PARAMCHECK { LANG: C } "Check dimension of grid variables" schedule Boundary_RegisterBCs at CCTK_WRAGH { LANG: C OPTIONS: global } "Register boundary conditions that this thorn provides" # New boundary infrastructure: schedul...
Boundary.h
/*@@ @file Boundary.h @date Tue Sep 26 11:50:46 2000 @author Gerd Lanfermann @desc Prototypes for boundary routines @enddesc @version $Header$ @@*/ #ifndef _BOUNDARY_H_ #define _BOUNDARY_H_ #ifdef __cplusplus extern "C" { #endif /* data type for pointer to function which imple...
CactusBase/Boundary
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Boundary # $Header$ # This will disappear once function aliasing has requires PROVIDES Boundary { SCRIPT LANG }
# Interface definition for thorn Boundary # $Header$ implements: boundary INCLUDES HEADER: Boundary.h in Boundary.h # Implementation of new boundary spec: CCTK_INT FUNCTION Boundary_RegisterPhysicalBC(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN CCTK_FPOINTER function_pointer(CCTK_POINTER_TO_CONST IN GH, \ ...
# Parameter definitions for thorn Boundary # $Header$ restricted: INT radpower "Power of decay rate in extrapolation used in radiative boundaries" { : :: "A negative value switches off this feature" } -1 BOOLEAN register_scalar "Register routine to handle the 'Scalar' boundary condition" { } "yes" BOOLEAN registe...
# Schedule definitions for thorn Boundary # $Header$ schedule Boundary_Check at CCTK_PARAMCHECK { LANG: C } "Check dimension of grid variables" schedule Boundary_RegisterBCs at CCTK_WRAGH { LANG: C OPTIONS: global } "Register boundary conditions that this thorn provides" # New boundary infrastructure: schedul...
ScalarBoundary.c
/*@@ @file ScalarBoundary.c @date Mon Mar 15 15:09:00 1999 @author Gabrielle Allen, Gerd Lanfermann @desc Routines for applying scalar boundary conditions @enddesc @history @hdate Tue 10 Apr 2001 @hauthor Thomas Radke @hdesc BC routines generalized for applying to a...
CactusBase/Boundary
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Boundary # $Header$ # This will disappear once function aliasing has requires PROVIDES Boundary { SCRIPT LANG }
# Interface definition for thorn Boundary # $Header$ implements: boundary INCLUDES HEADER: Boundary.h in Boundary.h # Implementation of new boundary spec: CCTK_INT FUNCTION Boundary_RegisterPhysicalBC(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN CCTK_FPOINTER function_pointer(CCTK_POINTER_TO_CONST IN GH, \ ...
# Parameter definitions for thorn Boundary # $Header$ restricted: INT radpower "Power of decay rate in extrapolation used in radiative boundaries" { : :: "A negative value switches off this feature" } -1 BOOLEAN register_scalar "Register routine to handle the 'Scalar' boundary condition" { } "yes" BOOLEAN registe...
# Schedule definitions for thorn Boundary # $Header$ schedule Boundary_Check at CCTK_PARAMCHECK { LANG: C } "Check dimension of grid variables" schedule Boundary_RegisterBCs at CCTK_WRAGH { LANG: C OPTIONS: global } "Register boundary conditions that this thorn provides" # New boundary infrastructure: schedul...
Check.c
/*@@ @file Check.c @date 19 May 2003 @author David Rideout @desc Check that the dimension of any grid variables is not greater than what the faces specification can handle (currently 15). @enddesc @history @hdate @hauthor @hdesc @endhistory @version $Header$ @@*/ #include "cctk...
CactusBase/Boundary
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Boundary # $Header$ # This will disappear once function aliasing has requires PROVIDES Boundary { SCRIPT LANG }
# Interface definition for thorn Boundary # $Header$ implements: boundary INCLUDES HEADER: Boundary.h in Boundary.h # Implementation of new boundary spec: CCTK_INT FUNCTION Boundary_RegisterPhysicalBC(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN CCTK_FPOINTER function_pointer(CCTK_POINTER_TO_CONST IN GH, \ ...
# Parameter definitions for thorn Boundary # $Header$ restricted: INT radpower "Power of decay rate in extrapolation used in radiative boundaries" { : :: "A negative value switches off this feature" } -1 BOOLEAN register_scalar "Register routine to handle the 'Scalar' boundary condition" { } "yes" BOOLEAN registe...
# Schedule definitions for thorn Boundary # $Header$ schedule Boundary_Check at CCTK_PARAMCHECK { LANG: C } "Check dimension of grid variables" schedule Boundary_RegisterBCs at CCTK_WRAGH { LANG: C OPTIONS: global } "Register boundary conditions that this thorn provides" # New boundary infrastructure: schedul...
Register.c
/*@@ @file Register.c @date Sat Oct 26 22:39:40 CEST 2002 @author David Rideout @desc Register implemented boundary conditions. @enddesc @version $Header$ @@*/ #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include "util_Table.h" #include "Boundary.h...
CactusBase/Boundary
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Boundary # $Header$ # This will disappear once function aliasing has requires PROVIDES Boundary { SCRIPT LANG }
# Interface definition for thorn Boundary # $Header$ implements: boundary INCLUDES HEADER: Boundary.h in Boundary.h # Implementation of new boundary spec: CCTK_INT FUNCTION Boundary_RegisterPhysicalBC(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN CCTK_FPOINTER function_pointer(CCTK_POINTER_TO_CONST IN GH, \ ...
# Parameter definitions for thorn Boundary # $Header$ restricted: INT radpower "Power of decay rate in extrapolation used in radiative boundaries" { : :: "A negative value switches off this feature" } -1 BOOLEAN register_scalar "Register routine to handle the 'Scalar' boundary condition" { } "yes" BOOLEAN registe...
# Schedule definitions for thorn Boundary # $Header$ schedule Boundary_Check at CCTK_PARAMCHECK { LANG: C } "Check dimension of grid variables" schedule Boundary_RegisterBCs at CCTK_WRAGH { LANG: C OPTIONS: global } "Register boundary conditions that this thorn provides" # New boundary infrastructure: schedul...
RadiationBoundary.c
/*@@ @file RadiationBoundary.c @date Mon Mar 15 15:09:00 1999 @author Miguel Alcubierre, Gabrielle Allen, Gerd Lanfermann @desc Routines for applying radiation boundary conditions The radiative boundary condition that is implemented is: f = f0 + u(r - ...
CactusBase/Boundary
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Boundary # $Header$ # This will disappear once function aliasing has requires PROVIDES Boundary { SCRIPT LANG }
# Interface definition for thorn Boundary # $Header$ implements: boundary INCLUDES HEADER: Boundary.h in Boundary.h # Implementation of new boundary spec: CCTK_INT FUNCTION Boundary_RegisterPhysicalBC(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN CCTK_FPOINTER function_pointer(CCTK_POINTER_TO_CONST IN GH, \ ...
# Parameter definitions for thorn Boundary # $Header$ restricted: INT radpower "Power of decay rate in extrapolation used in radiative boundaries" { : :: "A negative value switches off this feature" } -1 BOOLEAN register_scalar "Register routine to handle the 'Scalar' boundary condition" { } "yes" BOOLEAN registe...
# Schedule definitions for thorn Boundary # $Header$ schedule Boundary_Check at CCTK_PARAMCHECK { LANG: C } "Check dimension of grid variables" schedule Boundary_RegisterBCs at CCTK_WRAGH { LANG: C OPTIONS: global } "Register boundary conditions that this thorn provides" # New boundary infrastructure: schedul...
RobinBoundary.c
/*@@ @file RobinBoundary.c @date July 6th 2000 @author Miguel Alcubierre, Gabrielle Allen, Gerd Lanfermann @desc Routines for Robin boundary conditions @enddesc @history @hdate Tue 10 Apr 2001 @hauthor Thomas Radke @hdesc BC routines generalized for applying to arbi...
CactusBase/Boundary
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Boundary # $Header$ # This will disappear once function aliasing has requires PROVIDES Boundary { SCRIPT LANG }
# Interface definition for thorn Boundary # $Header$ implements: boundary INCLUDES HEADER: Boundary.h in Boundary.h # Implementation of new boundary spec: CCTK_INT FUNCTION Boundary_RegisterPhysicalBC(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN CCTK_FPOINTER function_pointer(CCTK_POINTER_TO_CONST IN GH, \ ...
# Parameter definitions for thorn Boundary # $Header$ restricted: INT radpower "Power of decay rate in extrapolation used in radiative boundaries" { : :: "A negative value switches off this feature" } -1 BOOLEAN register_scalar "Register routine to handle the 'Scalar' boundary condition" { } "yes" BOOLEAN registe...
# Schedule definitions for thorn Boundary # $Header$ schedule Boundary_Check at CCTK_PARAMCHECK { LANG: C } "Check dimension of grid variables" schedule Boundary_RegisterBCs at CCTK_WRAGH { LANG: C OPTIONS: global } "Register boundary conditions that this thorn provides" # New boundary infrastructure: schedul...
StaticBoundary.c
/*@@ @file StaticBoundary.c @date Sat Mar 16 15:09:00 2001 @author Gabrielle Allen @desc Routines for applying static-boundary conditions @enddesc @version $Id$ @@*/ #include <stdlib.h> #include <string.h> #include "cctk.h" #include "util_Table.h" #include "util_ErrorCodes.h" #...
CactusBase/Boundary
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Boundary # $Header$ # This will disappear once function aliasing has requires PROVIDES Boundary { SCRIPT LANG }
# Interface definition for thorn Boundary # $Header$ implements: boundary INCLUDES HEADER: Boundary.h in Boundary.h # Implementation of new boundary spec: CCTK_INT FUNCTION Boundary_RegisterPhysicalBC(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN CCTK_FPOINTER function_pointer(CCTK_POINTER_TO_CONST IN GH, \ ...
# Parameter definitions for thorn Boundary # $Header$ restricted: INT radpower "Power of decay rate in extrapolation used in radiative boundaries" { : :: "A negative value switches off this feature" } -1 BOOLEAN register_scalar "Register routine to handle the 'Scalar' boundary condition" { } "yes" BOOLEAN registe...
# Schedule definitions for thorn Boundary # $Header$ schedule Boundary_Check at CCTK_PARAMCHECK { LANG: C } "Check dimension of grid variables" schedule Boundary_RegisterBCs at CCTK_WRAGH { LANG: C OPTIONS: global } "Register boundary conditions that this thorn provides" # New boundary infrastructure: schedul...
make.code.defn
# Main make.code.defn file for thorn Boundary # $Header$ # Source files in this directory SRCS = ScalarBoundary.c\ StaticBoundary.c\ CopyBoundary.c\ FlatBoundary.c\ RadiationBoundary.c\ RobinBoundary.c\ NoneBoundary.c\ Boundary.c\ Register.c\ Check.c
CactusBase/Boundary
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Boundary # $Header$ # This will disappear once function aliasing has requires PROVIDES Boundary { SCRIPT LANG }
# Interface definition for thorn Boundary # $Header$ implements: boundary INCLUDES HEADER: Boundary.h in Boundary.h # Implementation of new boundary spec: CCTK_INT FUNCTION Boundary_RegisterPhysicalBC(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN CCTK_FPOINTER function_pointer(CCTK_POINTER_TO_CONST IN GH, \ ...
# Parameter definitions for thorn Boundary # $Header$ restricted: INT radpower "Power of decay rate in extrapolation used in radiative boundaries" { : :: "A negative value switches off this feature" } -1 BOOLEAN register_scalar "Register routine to handle the 'Scalar' boundary condition" { } "yes" BOOLEAN registe...
# Schedule definitions for thorn Boundary # $Header$ schedule Boundary_Check at CCTK_PARAMCHECK { LANG: C } "Check dimension of grid variables" schedule Boundary_RegisterBCs at CCTK_WRAGH { LANG: C OPTIONS: global } "Register boundary conditions that this thorn provides" # New boundary infrastructure: schedul...
Boundary.c
/*@@ @file Boundary.c @date Sat Oct 26 22:39:40 CEST 2002 @author David Rideout @desc Implements the new boundary specification. @enddesc @version $Header$ @@*/ #include <stdio.h> #include <string.h> #include <stdlib.h> #include "cctk.h" #include "cctk_Arguments.h" #include "ut...
CactusBase/Boundary
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Boundary # $Header$ # This will disappear once function aliasing has requires PROVIDES Boundary { SCRIPT LANG }
# Interface definition for thorn Boundary # $Header$ implements: boundary INCLUDES HEADER: Boundary.h in Boundary.h # Implementation of new boundary spec: CCTK_INT FUNCTION Boundary_RegisterPhysicalBC(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN CCTK_FPOINTER function_pointer(CCTK_POINTER_TO_CONST IN GH, \ ...
# Parameter definitions for thorn Boundary # $Header$ restricted: INT radpower "Power of decay rate in extrapolation used in radiative boundaries" { : :: "A negative value switches off this feature" } -1 BOOLEAN register_scalar "Register routine to handle the 'Scalar' boundary condition" { } "yes" BOOLEAN registe...
# Schedule definitions for thorn Boundary # $Header$ schedule Boundary_Check at CCTK_PARAMCHECK { LANG: C } "Check dimension of grid variables" schedule Boundary_RegisterBCs at CCTK_WRAGH { LANG: C OPTIONS: global } "Register boundary conditions that this thorn provides" # New boundary infrastructure: schedul...
CopyBoundary.c
/*@@ @file CopyBoundary.c @date Mon Mar 15 15:09:00 1999 @author Gerd Lanfermann, Gabrielle Allen @desc Routines for applying copying-boundary conditions @enddesc @history @hdate Sun 25 Feb 2001 @hauthor Thomas Radke @hdesc BC routines generalized for applying to ar...
CactusBase/CartGrid3D
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn CartGrid2D # $Header$ # This will disappear once no-one calls anything from this thorn PROVIDES CartGrid3D { SCRIPT LANG } # This will disappear once the aliasing has a requires REQUIRES CoordBase
# Interface definition for thorn CartGrid3D # $Header$ implements: grid inherits: coordbase INCLUDE HEADER: Symmetry.h in Symmetry.h uses include header: CoordBase.h # The overall size of the domain CCTK_INT FUNCTION GetDomainSpecification \ (CCTK_INT IN size, \ CCTK_REAL OUT ARRAY physical_min, \ CCTK_REAL ...
# Parameter definitions for thorn CartGrid3D # $Header$ shares: driver USES BOOLEAN periodic USES BOOLEAN periodic_x USES BOOLEAN periodic_y USES BOOLEAN periodic_z private: BOOLEAN no_origin "DEPRECATED: Don't place grid points on the coordinate origin/axes" { : :: "" } "yes" BOOLEAN no_originx "DEPRECATED: Don...
# Schedule definitions for thorn CartGrid3D # $Header$ STORAGE: coordinates gridspacings schedule SymmetryStartup at CCTK_STARTUP { LANG: C } "Register GH Extension for GridSymmetry" schedule RegisterCartGrid3DCoords at CCTK_WRAGH { LANG:C OPTIONS: meta } "Register coordinates for the Cartesian grid" schedule...
ParamCheck.c
/*@@ @file ParamCheck.c @date Thu Oct 7 17:11:44 1999 @author Tom Goodale @desc C version of Gab's paramcheck stuff @enddesc @@*/ #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" static const char *rcsid = "$Header$"; CCTK_FILEVERSION(CactusBase_CartGrid3D_ParamChe...
CactusBase/CartGrid3D
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn CartGrid2D # $Header$ # This will disappear once no-one calls anything from this thorn PROVIDES CartGrid3D { SCRIPT LANG } # This will disappear once the aliasing has a requires REQUIRES CoordBase
# Interface definition for thorn CartGrid3D # $Header$ implements: grid inherits: coordbase INCLUDE HEADER: Symmetry.h in Symmetry.h uses include header: CoordBase.h # The overall size of the domain CCTK_INT FUNCTION GetDomainSpecification \ (CCTK_INT IN size, \ CCTK_REAL OUT ARRAY physical_min, \ CCTK_REAL ...
# Parameter definitions for thorn CartGrid3D # $Header$ shares: driver USES BOOLEAN periodic USES BOOLEAN periodic_x USES BOOLEAN periodic_y USES BOOLEAN periodic_z private: BOOLEAN no_origin "DEPRECATED: Don't place grid points on the coordinate origin/axes" { : :: "" } "yes" BOOLEAN no_originx "DEPRECATED: Don...
# Schedule definitions for thorn CartGrid3D # $Header$ STORAGE: coordinates gridspacings schedule SymmetryStartup at CCTK_STARTUP { LANG: C } "Register GH Extension for GridSymmetry" schedule RegisterCartGrid3DCoords at CCTK_WRAGH { LANG:C OPTIONS: meta } "Register coordinates for the Cartesian grid" schedule...
GetSymmetry.c
/*@@ @file GetSymmetry.c @date April 12 2002 @author Frank Herrmann @desc This file contains the routines for getting symmetry information code stolen from SetSymmetry.c @enddesc @version $Id$ @@*/ #include <stdlib.h> #include "cctk.h" #include "cctk_Parameters.h" ...
CactusBase/CartGrid3D
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn CartGrid2D # $Header$ # This will disappear once no-one calls anything from this thorn PROVIDES CartGrid3D { SCRIPT LANG } # This will disappear once the aliasing has a requires REQUIRES CoordBase
# Interface definition for thorn CartGrid3D # $Header$ implements: grid inherits: coordbase INCLUDE HEADER: Symmetry.h in Symmetry.h uses include header: CoordBase.h # The overall size of the domain CCTK_INT FUNCTION GetDomainSpecification \ (CCTK_INT IN size, \ CCTK_REAL OUT ARRAY physical_min, \ CCTK_REAL ...
# Parameter definitions for thorn CartGrid3D # $Header$ shares: driver USES BOOLEAN periodic USES BOOLEAN periodic_x USES BOOLEAN periodic_y USES BOOLEAN periodic_z private: BOOLEAN no_origin "DEPRECATED: Don't place grid points on the coordinate origin/axes" { : :: "" } "yes" BOOLEAN no_originx "DEPRECATED: Don...
# Schedule definitions for thorn CartGrid3D # $Header$ STORAGE: coordinates gridspacings schedule SymmetryStartup at CCTK_STARTUP { LANG: C } "Register GH Extension for GridSymmetry" schedule RegisterCartGrid3DCoords at CCTK_WRAGH { LANG:C OPTIONS: meta } "Register coordinates for the Cartesian grid" schedule...
Symmetry.c
/*@@ @file SymmetryWrappers.c @date April 2000 @author Gerd Lanfermann @desc Routines to apply the 1/2/3D Symmetries for all symmetry domains (octant/bitant/quadrant). @enddesc @history @hdate Sat 02 Nov 2002 @hauthor Thomas Radke @hdesc routines genera...
CactusBase/CartGrid3D
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn CartGrid2D # $Header$ # This will disappear once no-one calls anything from this thorn PROVIDES CartGrid3D { SCRIPT LANG } # This will disappear once the aliasing has a requires REQUIRES CoordBase
# Interface definition for thorn CartGrid3D # $Header$ implements: grid inherits: coordbase INCLUDE HEADER: Symmetry.h in Symmetry.h uses include header: CoordBase.h # The overall size of the domain CCTK_INT FUNCTION GetDomainSpecification \ (CCTK_INT IN size, \ CCTK_REAL OUT ARRAY physical_min, \ CCTK_REAL ...
# Parameter definitions for thorn CartGrid3D # $Header$ shares: driver USES BOOLEAN periodic USES BOOLEAN periodic_x USES BOOLEAN periodic_y USES BOOLEAN periodic_z private: BOOLEAN no_origin "DEPRECATED: Don't place grid points on the coordinate origin/axes" { : :: "" } "yes" BOOLEAN no_originx "DEPRECATED: Don...
# Schedule definitions for thorn CartGrid3D # $Header$ STORAGE: coordinates gridspacings schedule SymmetryStartup at CCTK_STARTUP { LANG: C } "Register GH Extension for GridSymmetry" schedule RegisterCartGrid3DCoords at CCTK_WRAGH { LANG:C OPTIONS: meta } "Register coordinates for the Cartesian grid" schedule...
DecodeSymParameters.c
/*@@ @file DecodeSymParameters.c @date Wed May 10 18:58:00 EST 2000 @author Erik Schnetter @desc Decode the symmetry parameters. @enddesc @version $Id$ @@*/ #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include "Symmetry.h" static const char *rcsid = "$Head...
CactusBase/CartGrid3D
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn CartGrid2D # $Header$ # This will disappear once no-one calls anything from this thorn PROVIDES CartGrid3D { SCRIPT LANG } # This will disappear once the aliasing has a requires REQUIRES CoordBase
# Interface definition for thorn CartGrid3D # $Header$ implements: grid inherits: coordbase INCLUDE HEADER: Symmetry.h in Symmetry.h uses include header: CoordBase.h # The overall size of the domain CCTK_INT FUNCTION GetDomainSpecification \ (CCTK_INT IN size, \ CCTK_REAL OUT ARRAY physical_min, \ CCTK_REAL ...
# Parameter definitions for thorn CartGrid3D # $Header$ shares: driver USES BOOLEAN periodic USES BOOLEAN periodic_x USES BOOLEAN periodic_y USES BOOLEAN periodic_z private: BOOLEAN no_origin "DEPRECATED: Don't place grid points on the coordinate origin/axes" { : :: "" } "yes" BOOLEAN no_originx "DEPRECATED: Don...
# Schedule definitions for thorn CartGrid3D # $Header$ STORAGE: coordinates gridspacings schedule SymmetryStartup at CCTK_STARTUP { LANG: C } "Register GH Extension for GridSymmetry" schedule RegisterCartGrid3DCoords at CCTK_WRAGH { LANG:C OPTIONS: meta } "Register coordinates for the Cartesian grid" schedule...
make.code.defn
# Main make.code.defn file for thorn CartGrid3D # $Header$ # Source files in this directory SRCS = Startup.c ParamCheck.c DecodeSymParameters.c CartGrid3D.c \ GetSymmetry.c SetSymmetry.c Symmetry.c RegisterSymmetries.c
CactusBase/CartGrid3D
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn CartGrid2D # $Header$ # This will disappear once no-one calls anything from this thorn PROVIDES CartGrid3D { SCRIPT LANG } # This will disappear once the aliasing has a requires REQUIRES CoordBase
# Interface definition for thorn CartGrid3D # $Header$ implements: grid inherits: coordbase INCLUDE HEADER: Symmetry.h in Symmetry.h uses include header: CoordBase.h # The overall size of the domain CCTK_INT FUNCTION GetDomainSpecification \ (CCTK_INT IN size, \ CCTK_REAL OUT ARRAY physical_min, \ CCTK_REAL ...
# Parameter definitions for thorn CartGrid3D # $Header$ shares: driver USES BOOLEAN periodic USES BOOLEAN periodic_x USES BOOLEAN periodic_y USES BOOLEAN periodic_z private: BOOLEAN no_origin "DEPRECATED: Don't place grid points on the coordinate origin/axes" { : :: "" } "yes" BOOLEAN no_originx "DEPRECATED: Don...
# Schedule definitions for thorn CartGrid3D # $Header$ STORAGE: coordinates gridspacings schedule SymmetryStartup at CCTK_STARTUP { LANG: C } "Register GH Extension for GridSymmetry" schedule RegisterCartGrid3DCoords at CCTK_WRAGH { LANG:C OPTIONS: meta } "Register coordinates for the Cartesian grid" schedule...
CartGrid3D.c
/*@@ @file CartGrid3D.c @date Thu Oct 7 13:20:06 1999 @author Tom Goodale @desc Set up coordinates for a 3D Cartesian grid. C Conversion of Fortran routine written by Gab. @version $Id$ @enddesc @@*/ #include <stdio.h> #include <math.h> #include "cctk.h" #include ...
CactusBase/CartGrid3D
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn CartGrid2D # $Header$ # This will disappear once no-one calls anything from this thorn PROVIDES CartGrid3D { SCRIPT LANG } # This will disappear once the aliasing has a requires REQUIRES CoordBase
# Interface definition for thorn CartGrid3D # $Header$ implements: grid inherits: coordbase INCLUDE HEADER: Symmetry.h in Symmetry.h uses include header: CoordBase.h # The overall size of the domain CCTK_INT FUNCTION GetDomainSpecification \ (CCTK_INT IN size, \ CCTK_REAL OUT ARRAY physical_min, \ CCTK_REAL ...
# Parameter definitions for thorn CartGrid3D # $Header$ shares: driver USES BOOLEAN periodic USES BOOLEAN periodic_x USES BOOLEAN periodic_y USES BOOLEAN periodic_z private: BOOLEAN no_origin "DEPRECATED: Don't place grid points on the coordinate origin/axes" { : :: "" } "yes" BOOLEAN no_originx "DEPRECATED: Don...
# Schedule definitions for thorn CartGrid3D # $Header$ STORAGE: coordinates gridspacings schedule SymmetryStartup at CCTK_STARTUP { LANG: C } "Register GH Extension for GridSymmetry" schedule RegisterCartGrid3DCoords at CCTK_WRAGH { LANG:C OPTIONS: meta } "Register coordinates for the Cartesian grid" schedule...
SetSymmetry.c
/*@@ @file Symmetry.c @date Mon Mar 15 15:09:00 1999 @author Gerd Lanfermann @desc This file contains the routines for registering and applying symmetry boundary conditions @enddesc @@*/ #include <stdlib.h> #include "cctk.h" #include "cctk_Parameters.h" #include "cctk_FortranSt...
CactusBase/CartGrid3D
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn CartGrid2D # $Header$ # This will disappear once no-one calls anything from this thorn PROVIDES CartGrid3D { SCRIPT LANG } # This will disappear once the aliasing has a requires REQUIRES CoordBase
# Interface definition for thorn CartGrid3D # $Header$ implements: grid inherits: coordbase INCLUDE HEADER: Symmetry.h in Symmetry.h uses include header: CoordBase.h # The overall size of the domain CCTK_INT FUNCTION GetDomainSpecification \ (CCTK_INT IN size, \ CCTK_REAL OUT ARRAY physical_min, \ CCTK_REAL ...
# Parameter definitions for thorn CartGrid3D # $Header$ shares: driver USES BOOLEAN periodic USES BOOLEAN periodic_x USES BOOLEAN periodic_y USES BOOLEAN periodic_z private: BOOLEAN no_origin "DEPRECATED: Don't place grid points on the coordinate origin/axes" { : :: "" } "yes" BOOLEAN no_originx "DEPRECATED: Don...
# Schedule definitions for thorn CartGrid3D # $Header$ STORAGE: coordinates gridspacings schedule SymmetryStartup at CCTK_STARTUP { LANG: C } "Register GH Extension for GridSymmetry" schedule RegisterCartGrid3DCoords at CCTK_WRAGH { LANG:C OPTIONS: meta } "Register coordinates for the Cartesian grid" schedule...
Startup.c
/*@@ @file Startup.c @date Mon Mar 15 15:48:42 1999 @author Gerd Lanfermann @desc Startup file to register the GHextension and coordinates @enddesc @version $Id$ @@*/ #include <stdlib.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include "util_T...
CactusBase/CartGrid3D
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn CartGrid2D # $Header$ # This will disappear once no-one calls anything from this thorn PROVIDES CartGrid3D { SCRIPT LANG } # This will disappear once the aliasing has a requires REQUIRES CoordBase
# Interface definition for thorn CartGrid3D # $Header$ implements: grid inherits: coordbase INCLUDE HEADER: Symmetry.h in Symmetry.h uses include header: CoordBase.h # The overall size of the domain CCTK_INT FUNCTION GetDomainSpecification \ (CCTK_INT IN size, \ CCTK_REAL OUT ARRAY physical_min, \ CCTK_REAL ...
# Parameter definitions for thorn CartGrid3D # $Header$ shares: driver USES BOOLEAN periodic USES BOOLEAN periodic_x USES BOOLEAN periodic_y USES BOOLEAN periodic_z private: BOOLEAN no_origin "DEPRECATED: Don't place grid points on the coordinate origin/axes" { : :: "" } "yes" BOOLEAN no_originx "DEPRECATED: Don...
# Schedule definitions for thorn CartGrid3D # $Header$ STORAGE: coordinates gridspacings schedule SymmetryStartup at CCTK_STARTUP { LANG: C } "Register GH Extension for GridSymmetry" schedule RegisterCartGrid3DCoords at CCTK_WRAGH { LANG:C OPTIONS: meta } "Register coordinates for the Cartesian grid" schedule...
RegisterSymmetries.c
/* $Header$ */ #include <stdlib.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include "Symmetry.h" void DecodeSymParameters3D(int sym[6]); void RegisterSymmetryBoundaries(CCTK_ARGUMENTS); void RegisterSymmetryBoundaries(CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PAR...
CactusBase/CartGrid3D
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn CartGrid2D # $Header$ # This will disappear once no-one calls anything from this thorn PROVIDES CartGrid3D { SCRIPT LANG } # This will disappear once the aliasing has a requires REQUIRES CoordBase
# Interface definition for thorn CartGrid3D # $Header$ implements: grid inherits: coordbase INCLUDE HEADER: Symmetry.h in Symmetry.h uses include header: CoordBase.h # The overall size of the domain CCTK_INT FUNCTION GetDomainSpecification \ (CCTK_INT IN size, \ CCTK_REAL OUT ARRAY physical_min, \ CCTK_REAL ...
# Parameter definitions for thorn CartGrid3D # $Header$ shares: driver USES BOOLEAN periodic USES BOOLEAN periodic_x USES BOOLEAN periodic_y USES BOOLEAN periodic_z private: BOOLEAN no_origin "DEPRECATED: Don't place grid points on the coordinate origin/axes" { : :: "" } "yes" BOOLEAN no_originx "DEPRECATED: Don...
# Schedule definitions for thorn CartGrid3D # $Header$ STORAGE: coordinates gridspacings schedule SymmetryStartup at CCTK_STARTUP { LANG: C } "Register GH Extension for GridSymmetry" schedule RegisterCartGrid3DCoords at CCTK_WRAGH { LANG:C OPTIONS: meta } "Register coordinates for the Cartesian grid" schedule...
Symmetry.h
/*@@ @header Symmetry.h @date Sun 7th Mar 1999 @author Gerd Lanfermann @desc The extensions to the GH structure for 3D grid symmetry treatment. We'll have six int array for every GF, which holds a flag for which symmetry or (physical) bnd-condition to ap...
CactusBase/CoordBase
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn CoordBase # $Header$ # This will disappear once we have a requires for function aliasing PROVIDES CoordBase { SCRIPT LANG }
# Interface definition for thorn CoordBase # $Header$ implements: CoordBase # Old header file - should use aliased functions include header: CoordBase.h in CoordBase.h # Exported functions CCTK_INT FUNCTION Coord_SystemRegister \ (CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN dim, ...
# Parameter definitions for thorn CoordBase # $Header$ ############################################################################### ### Domain specification ### ############################################################################### KEYWORD domainsize "D...
# Schedule definitions for thorn CoordBase # $Header$ schedule CoordBase_Startup at CCTK_STARTUP { LANG: C } "Register a GH extension to store the coordinate system handles"
CoordBase.h
/*@@ @header CoordBase.h @date Wed June 26 2002 @author Gabrielle Allen @desc Defines and prototypes for the coordinate base thorn @enddesc @version $Header$ @@*/ #ifndef _COORDBASE_H_ #define _COORDBASE_H_ #ifndef COORD_IN_COORDBASE /* Since some people may still be including thi...
CactusBase/CoordBase
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn CoordBase # $Header$ # This will disappear once we have a requires for function aliasing PROVIDES CoordBase { SCRIPT LANG }
# Interface definition for thorn CoordBase # $Header$ implements: CoordBase # Old header file - should use aliased functions include header: CoordBase.h in CoordBase.h # Exported functions CCTK_INT FUNCTION Coord_SystemRegister \ (CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN dim, ...
# Parameter definitions for thorn CoordBase # $Header$ ############################################################################### ### Domain specification ### ############################################################################### KEYWORD domainsize "D...
# Schedule definitions for thorn CoordBase # $Header$ schedule CoordBase_Startup at CCTK_STARTUP { LANG: C } "Register a GH extension to store the coordinate system handles"
make.code.defn
# Main make.code.defn file for thorn CoordBase # $Header$ # Source files in this directory SRCS = Domain.c CoordBase.c GHExtension.c # Subdirectories containing source files SUBDIRS =
CactusBase/CoordBase
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn CoordBase # $Header$ # This will disappear once we have a requires for function aliasing PROVIDES CoordBase { SCRIPT LANG }
# Interface definition for thorn CoordBase # $Header$ implements: CoordBase # Old header file - should use aliased functions include header: CoordBase.h in CoordBase.h # Exported functions CCTK_INT FUNCTION Coord_SystemRegister \ (CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN dim, ...
# Parameter definitions for thorn CoordBase # $Header$ ############################################################################### ### Domain specification ### ############################################################################### KEYWORD domainsize "D...
# Schedule definitions for thorn CoordBase # $Header$ schedule CoordBase_Startup at CCTK_STARTUP { LANG: C } "Register a GH extension to store the coordinate system handles"
coordbaseGH.h
/*@@ @header coordbaseGH.h @date Sun Sept 22 2002 @author Gabrielle Allen @desc The extensions to the GH structure from CoordBase @version $Header$ @@*/ #ifndef _COORDBASE_COORDBASEGH_H_ #define _COORDBASE_COORDBASEGH_H_ 1 #include "util_Hash.h" #ifdef __cplusplus extern "C" { #en...
CactusBase/CoordBase
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn CoordBase # $Header$ # This will disappear once we have a requires for function aliasing PROVIDES CoordBase { SCRIPT LANG }
# Interface definition for thorn CoordBase # $Header$ implements: CoordBase # Old header file - should use aliased functions include header: CoordBase.h in CoordBase.h # Exported functions CCTK_INT FUNCTION Coord_SystemRegister \ (CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN dim, ...
# Parameter definitions for thorn CoordBase # $Header$ ############################################################################### ### Domain specification ### ############################################################################### KEYWORD domainsize "D...
# Schedule definitions for thorn CoordBase # $Header$ schedule CoordBase_Startup at CCTK_STARTUP { LANG: C } "Register a GH extension to store the coordinate system handles"
GHExtension.c
/*@@ @file GHExtension.c @date Sun Sept 22 2002 @author Gabrielle Allen and David Rideout @desc CoordBase GHExtension setup @enddesc @version $Id$ @@*/ #include <stdlib.h> #include "cctk.h" #include "CoordBase.h" #include "coordbaseGH.h" #include "util_Hash.h" static const cha...
CactusBase/CoordBase
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn CoordBase # $Header$ # This will disappear once we have a requires for function aliasing PROVIDES CoordBase { SCRIPT LANG }
# Interface definition for thorn CoordBase # $Header$ implements: CoordBase # Old header file - should use aliased functions include header: CoordBase.h in CoordBase.h # Exported functions CCTK_INT FUNCTION Coord_SystemRegister \ (CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN dim, ...
# Parameter definitions for thorn CoordBase # $Header$ ############################################################################### ### Domain specification ### ############################################################################### KEYWORD domainsize "D...
# Schedule definitions for thorn CoordBase # $Header$ schedule CoordBase_Startup at CCTK_STARTUP { LANG: C } "Register a GH extension to store the coordinate system handles"
CoordBase.c
/*@@ @file CoordBase.c @date 23 July 2003 @author Gabrielle Allen and David Rideout @desc Functions which implement the coordinate API. @enddesc @version $Id$ @@*/ #include <string.h> #include <stdlib.h> #include "cctk.h" #include "util_Table.h" #include "util_Hash.h" #include "util...
CactusBase/CoordBase
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn CoordBase # $Header$ # This will disappear once we have a requires for function aliasing PROVIDES CoordBase { SCRIPT LANG }
# Interface definition for thorn CoordBase # $Header$ implements: CoordBase # Old header file - should use aliased functions include header: CoordBase.h in CoordBase.h # Exported functions CCTK_INT FUNCTION Coord_SystemRegister \ (CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN dim, ...
# Parameter definitions for thorn CoordBase # $Header$ ############################################################################### ### Domain specification ### ############################################################################### KEYWORD domainsize "D...
# Schedule definitions for thorn CoordBase # $Header$ schedule CoordBase_Startup at CCTK_STARTUP { LANG: C } "Register a GH extension to store the coordinate system handles"
Domain.c
#include <cctk.h> #include <cctk_Parameters.h> #include <util_Table.h> CCTK_INT CoordBase_GetBoundarySpecification(CCTK_INT const size, CCTK_INT *const nboundaryzones, CCTK_INT *const is_internal, ...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Types.F90
#include "cctk.h" module cctk_Types implicit none interface end interface end module cctk_Types
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Main.F90
#include "cctk.h" module cctk_Main implicit none interface subroutine CCTK_Initialise (ierr, config) implicit none integer ierr CCTK_POINTER config end subroutine CCTK_Initialise subroutine CCTK_Evolve (ierr, config) implicit none integer ierr C...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_IOMethods.F90
#include "cctk.h" module cctk_IOMethods implicit none interface subroutine CCTKi_RegisterIOMethod (handle, thorn, name) implicit none integer handle character(*) thorn character(*) name end subroutine CCTKi_RegisterIOMethod subroutine CCTK_RegisterIOMethodOutputGH (ier...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_CommandLine.F90
#include "cctk.h" module cctk_CommandLine implicit none interface ! This subroutine has been renamed ! because it conflicts with the name of this module subroutine CCTK_GetCommandLine (argc, outargv) implicit none integer argc CCTK_POINTER outargv end subroutine CCTK_GetComman...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_GHExtensions.F90
#include "cctk.h" module cctk_GHExtensions implicit none interface subroutine CCTK_RegisterGHExtension (ierr, name) implicit none integer ierr character(*) name end subroutine CCTK_RegisterGHExtension subroutine CCTK_UnregisterGHExtension (ierr, name) implicit non...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Constants.F90
#include "cctk.h" module cctk_Constants implicit none ! This file declares no routines end module cctk_Constants
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk.F90
#include "cctk.h" module cctk use cctk_ActiveThorns use cctk_Banner use cctk_Comm use cctk_CommandLine use cctk_Complex use cctk_Constants use cctk_Coord use cctk_DebugDefines use cctk_Faces use cctk_File use cctk_Flesh use cctk_FortranString1 use cctk_FortranWrappers use cctk_GHExtensions ...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Banner.F90
#include "cctk.h" module cctk_Banner implicit none interface subroutine CCTK_RegisterBanner (ierr, banner) implicit none integer ierr character(*) banner end subroutine CCTK_RegisterBanner end interface end module cctk_Banner
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Version.F90
#include "cctk.h" module cctk_Version implicit none interface subroutine CCTK_FullVersion (string, string_length) implicit none character(*) string integer string_length end subroutine CCTK_FullVersion subroutine CCTK_MajorVersion (string, string_length) ...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Reduction.F90
#include "cctk.h" module cctk_Reduction implicit none interface subroutine CCTK_ReductionHandle (ierr, reduction) implicit none integer ierr character(*) reduction end subroutine CCTK_ReductionHandle subroutine CCTK_ReductionArrayHandle (ierr, reduction) implici...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_IO.F90
#include "cctk.h" module cctk_IO implicit none interface subroutine CCTK_OutputGH (ierr, GH) implicit none integer ierr CCTK_POINTER_TO_CONST GH end subroutine CCTK_OutputGH subroutine CCTK_OutputVarAs (ierr, GH, var, alias) implicit none integer ...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Parameter.F90
#include "cctk.h" module cctk_Parameter implicit none interface subroutine CCTK_ParameterLevel (level) implicit none integer level end subroutine CCTK_ParameterLevel subroutine CCTK_ParameterSet (ierr, name, thorn, value) implicit none integer ierr characte...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
fortran.h
#ifndef FORTRAN_H #define FORTRAN_H #include "cctk.h" #if FORTRAN_CPP_ANSI /* For an ANSI-like cpp */ #define CONCAT(a,b) a##b #define STRINGIFY(a) STRINGIFY_(a) #define STRINGIFY_(a) #a #else /* For a traditional cpp */ #define CONCAT(a,b) a/**/b #define STRINGIFY(a) "a" #endif #endif /* #ifdef FORTRAN_H */
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Comm.F90
#include "cctk.h" module cctk_Comm implicit none interface subroutine CCTK_SyncGroup (ierr, GH, group) implicit none integer ierr CCTK_POINTER_TO_CONST GH character(*) group end subroutine CCTK_SyncGroup subroutine CCTK_Barrier (ierr, GH) ...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Termination.F90
#include "cctk.h" module cctk_Termination implicit none interface subroutine CCTK_TerminationReached (ires, cctkGH) implicit none integer ires CCTK_POINTER_TO_CONST cctkGH end subroutine CCTK_TerminationReached subroutine CCTK_TerminateNext (cctkGH) ...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Schedule.F90
#include "cctk.h" module cctk_Schedule implicit none interface subroutine CCTK_SchedulePrint (ierr, where) implicit none integer ierr character(*) where end subroutine CCTK_SchedulePrint subroutine CCTK_SchedulePrintTimes (ierr, where) implicit none integer...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Faces.F90
#include "cctk.h" module cctk_Faces implicit none end module cctk_Faces
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_FortranString1.F90
#include "cctk.h" ! This is the name of a subroutine, so the module must be called differently. module cctk_FortranString1 implicit none end module cctk_FortranString1
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_File.F90
#include "cctk.h" module cctk_File implicit none interface subroutine CCTK_CreateDirectory (ierr, mode, pathname) implicit none integer ierr integer mode character(*) pathname end subroutine CCTK_CreateDirectory end interface end module cctk_File
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_ParamCheck.F90
#include "cctk.h" module cctk_ParamCheck implicit none end module cctk_ParamCheck
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_FortranWrappers.F90
#include "cctk.h" module cctk_FortranWrappers implicit none interface subroutine CCTK_RegisterFortranWrapper (ierr, name, function) implicit none integer ierr character(*) name CCTK_FPOINTER function end subroutine CCTK_RegisterFortranWrapper subroutine CCTK_For...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_GNU.F90
#include "cctk.h" module cctk_GNU implicit none ! This file only pulls in declarations for getopt and regex, which ! have no Fortran wrappers end module cctk_GNU
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Timers.F90
#include "cctk.h" module cctk_Timers implicit none interface subroutine CCTK_NumTimers (num_timers) implicit none integer num_timers end subroutine CCTK_NumTimers subroutine CCTK_NumClocks (num_clocks) implicit none integer num_clocks end subroutine CCTK_NumClocks...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Malloc1.F90
#include "cctk.h" ! This is the name of a subroutine, so the module must be called differently. module cctk_Malloc1 implicit none interface subroutine CCTK_MemStat implicit none end subroutine CCTK_MemStat subroutine CCTK_TotalMemory (amount) implicit none integer amount ...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_ActiveThorns.F90
#include "cctk.h" module cctk_ActiveThorns implicit none interface ! This routine has been made a function instead of a subroutine ! and is declared in cctk.h ! subroutine CCTK_IsThornActive (ierr, name) ! implicit none ! integer ierr ! character(*) name ! end subroutine CCTK_IsTho...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_WarnLevel.F90
#include "cctk.h" module cctk_WarnLevel implicit none interface subroutine CCTK_Warn (level, line, file, thorn, message) implicit none integer level integer line character(*) file character(*) thorn character(*) message end subroutine CCTK_Warn ...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
make.code.defn
# Main make.code.defn file for thorn Fortran ifneq ($(strip $(F90)),none) SRCS = cctk.F90 \ cctk_ActiveThorns.F90 \ cctk_Banner.F90 \ cctk_Comm.F90 \ cctk_CommandLine.F90 \ cctk_Complex.F90 ...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Sync.F90
#include "cctk.h" module cctk_Sync implicit none interface subroutine CCTK_SyncGroupI (ierr, cctkGH, group) implicit none integer ierr CCTK_POINTER_TO_CONST cctkGH integer group end subroutine CCTK_SyncGroupI subroutine CCTK_SyncGroupWi...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
util_Table.F90
#include "cctk.h" module util_Table implicit none interface ! create/destroy subroutine Util_TableCreate (handle, flags) implicit none integer handle integer flags end subroutine Util_TableCreate subroutine Util_TableClone (ierr, handle) ...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Coord.F90
#include "cctk.h" module cctk_Coord implicit none interface subroutine CCTK_CoordDir (dir, name, systemname) implicit none integer dir character(*) name character(*) systemname end subroutine CCTK_CoordDir subroutine CCTK_CoordIndex (ierr, dir, name, systemname) ...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Math.F90
module cctk_Math implicit none interface double precision function CCTK_copysign (x, y) implicit none double precision, intent(in) :: x, y end function CCTK_copysign integer function CCTK_fpclassify (x) implicit none double precision, intent(in) :: x end function C...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_MemAlloc.F90
#include "cctk.h" module cctk_MemAlloc implicit none interface subroutine CCTK_Malloc (ptr, size, line, file) implicit none CCTK_POINTER ptr integer size integer line character(*) file end subroutine CCTK_Malloc subroutine CCTK_Free (ptr) implic...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Misc.F90
#include "cctk.h" module cctk_Misc implicit none interface subroutine Util_SplitString (ierr, before, before_length, after, after_length, string, sep) implicit none integer ierr character(*) before integer before_length character(*) after integer afte...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Groups.F90
#include "cctk.h" module cctk_Groups implicit none interface subroutine CCTK_DecomposeName (ierr, fullname, implementation, implementation_nchars, name, name_nchars) implicit none integer ierr character(*) fullname character(*) implementation integer implementati...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_GroupsOnGH.F90
#include "cctk.h" module cctk_GroupsOnGH implicit none interface subroutine CCTK_VarDataPtr (ptr, GH, timelevel, fullvarname) implicit none CCTK_POINTER ptr CCTK_POINTER_TO_CONST GH integer timelevel character(*) fullvarname end subrout...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_DebugDefines.F90
#include "cctk.h" module cctk_DebugDefines implicit none end module cctk_DebugDefines
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Complex.F90
#include "cctk.h" module cctk_Complex implicit none ! Fortran handles complex numbers just fine all by itself ! and does not need an additional library end module cctk_Complex
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
paramcheck.F90
#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 ...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Interp.F90
#include "cctk.h" module cctk_Interp implicit none interface subroutine CCTK_InterpHandle (handle, name) implicit none integer handle character(*) name end subroutine CCTK_InterpHandle #if 0 C no Fortran 90 interface for following routines C their names exceed the maxim...
CactusBase/Fortran
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn Fortran PROVIDES Fortran { SCRIPT fortran.sh LANG sh } REQUIRES Fortran
# Interface definition for thorn Fortran IMPLEMENTS: Fortran INCLUDES SOURCE: fortran.h IN fortran.h
# Parameter definitions for thorn Fortran CCTK_INT one "This parameter has the value one" { 1:1 :: "1" } 1
# Schedule definitions for thorn Fortran SCHEDULE CheckFortranParameters AT paramcheck { LANG: Fortran } "Test whether Fortran parameters work correctly"
cctk_Flesh.F90
#include "cctk.h" module cctk_Flesh implicit none interface subroutine CCTK_Traverse (ierr, GH, where) implicit none integer ierr CCTK_POINTER GH character(*) where end subroutine CCTK_Traverse end interface end module cctk_Flesh
CactusBase/InitBase
https://bitbucket.org/cactuscode/cactusbase.git
# Interface definition for thorn InitBase IMPLEMENTS: InitBase
# Parameter definitions for thorn InitBase RESTRICTED: KEYWORD initial_data_setup_method "Procedure for setting up initial data" { "init_some_levels" :: "Set up at least one time level; other time levels are scratch space" "init_single_level" :: "Set up exactly one time level; other time levels are not accessed"...
# Schedule definitions for thorn InitBase
make.code.defn
# Main make.code.defn file for thorn InitBase # Source files in this directory SRCS = # Subdirectories containing source files SUBDIRS =
CactusBase/IOASCII
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn IOASCII # $Header$ REQUIRES IOUtil REQUIRES THORNS: IOUtil
# Interface definition for thorn IOASCII # $Header$ implements: IOASCII ### FIXME: need private inheritance in order to be implementation-compatible ### with CarpetIOASCII #inherits: IO CCTK_INT FUNCTION \ Hyperslab_GetList (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle...
# Parameter definitions for thorn IOASCII # $Header$ ############################################################################# ### declare IOASCII parameters ############################################################################# private: ########################## # Directories to output to ##############...
# Schedule definitions for thorn IOASCII # $Header$ ######################################################################## ### register IOASCII routines ######################################################################## schedule IOASCII_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" sc...
ioASCIIGH.h
/*@@ @header ioASCIIGH.h @date Tue 9th Jan 1999 @author Gabrielle Allen @desc The extensions to the GH structure from IOASCII. @version $Header$ @@*/ #ifndef _IOASCII_IOASCIIGH_H_ #define _IOASCII_IOASCIIGH_H_ 1 #include "StoreNamedData.h" #ifdef __cplusplus extern "C" { #endif t...
CactusBase/IOASCII
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn IOASCII # $Header$ REQUIRES IOUtil REQUIRES THORNS: IOUtil
# Interface definition for thorn IOASCII # $Header$ implements: IOASCII ### FIXME: need private inheritance in order to be implementation-compatible ### with CarpetIOASCII #inherits: IO CCTK_INT FUNCTION \ Hyperslab_GetList (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle...
# Parameter definitions for thorn IOASCII # $Header$ ############################################################################# ### declare IOASCII parameters ############################################################################# private: ########################## # Directories to output to ##############...
# Schedule definitions for thorn IOASCII # $Header$ ######################################################################## ### register IOASCII routines ######################################################################## schedule IOASCII_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" sc...
Write1D.c
/*@@ @file Write1D.c @date March 1997 @author Paul Walker @desc Output one-dimensional lines in ASCII xgraph/gnuplot format. @enddesc @history @hauthor Thomas Radke @hdate 30 May 2000 @hdesc Get rid of all the PUGH stuff by using thorn Hyperslab...
CactusBase/IOASCII
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn IOASCII # $Header$ REQUIRES IOUtil REQUIRES THORNS: IOUtil
# Interface definition for thorn IOASCII # $Header$ implements: IOASCII ### FIXME: need private inheritance in order to be implementation-compatible ### with CarpetIOASCII #inherits: IO CCTK_INT FUNCTION \ Hyperslab_GetList (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle...
# Parameter definitions for thorn IOASCII # $Header$ ############################################################################# ### declare IOASCII parameters ############################################################################# private: ########################## # Directories to output to ##############...
# Schedule definitions for thorn IOASCII # $Header$ ######################################################################## ### register IOASCII routines ######################################################################## schedule IOASCII_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" sc...
Output1D.c
/*@@ @file IO_Output1D.c @date Tue Jan 9 1999 @author Gabrielle Allen @desc Functions to deal with 1D ASCII output of variables @enddesc @version $Id$ @@*/ #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_Parameters.h" #include "util_String.h" #include "...
CactusBase/IOASCII
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn IOASCII # $Header$ REQUIRES IOUtil REQUIRES THORNS: IOUtil
# Interface definition for thorn IOASCII # $Header$ implements: IOASCII ### FIXME: need private inheritance in order to be implementation-compatible ### with CarpetIOASCII #inherits: IO CCTK_INT FUNCTION \ Hyperslab_GetList (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle...
# Parameter definitions for thorn IOASCII # $Header$ ############################################################################# ### declare IOASCII parameters ############################################################################# private: ########################## # Directories to output to ##############...
# Schedule definitions for thorn IOASCII # $Header$ ######################################################################## ### register IOASCII routines ######################################################################## schedule IOASCII_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" sc...
Output2D.c
/*@@ @file Output2D.c @date Thu May 11 2000 @author Thomas Radke @desc Functions to deal with 2D ASCII output of variables @enddesc @version $Id$ @@*/ #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_Parameters.h" #include "util_String.h" #include "Cactu...
CactusBase/IOASCII
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn IOASCII # $Header$ REQUIRES IOUtil REQUIRES THORNS: IOUtil
# Interface definition for thorn IOASCII # $Header$ implements: IOASCII ### FIXME: need private inheritance in order to be implementation-compatible ### with CarpetIOASCII #inherits: IO CCTK_INT FUNCTION \ Hyperslab_GetList (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle...
# Parameter definitions for thorn IOASCII # $Header$ ############################################################################# ### declare IOASCII parameters ############################################################################# private: ########################## # Directories to output to ##############...
# Schedule definitions for thorn IOASCII # $Header$ ######################################################################## ### register IOASCII routines ######################################################################## schedule IOASCII_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" sc...
make.code.defn
# Main make.code.defn file for thorn IOASCII # $Header$ # Source files in this directory SRCS = Startup.c ChooseOutput.c Output1D.c Write1D.c Output2D.c Write2D.c \ Output3D.c Write3D.c
CactusBase/IOASCII
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn IOASCII # $Header$ REQUIRES IOUtil REQUIRES THORNS: IOUtil
# Interface definition for thorn IOASCII # $Header$ implements: IOASCII ### FIXME: need private inheritance in order to be implementation-compatible ### with CarpetIOASCII #inherits: IO CCTK_INT FUNCTION \ Hyperslab_GetList (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle...
# Parameter definitions for thorn IOASCII # $Header$ ############################################################################# ### declare IOASCII parameters ############################################################################# private: ########################## # Directories to output to ##############...
# Schedule definitions for thorn IOASCII # $Header$ ######################################################################## ### register IOASCII routines ######################################################################## schedule IOASCII_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" sc...
Output3D.c
/*@@ @file Output3D.c @date Wed 12 Dec 2001 @author Thomas Radke @desc Functions to deal with 3D ASCII output of variables @enddesc @version $Id$ @@*/ #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_Parameters.h" #include "util_String.h" #include "Cactu...
CactusBase/IOASCII
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn IOASCII # $Header$ REQUIRES IOUtil REQUIRES THORNS: IOUtil
# Interface definition for thorn IOASCII # $Header$ implements: IOASCII ### FIXME: need private inheritance in order to be implementation-compatible ### with CarpetIOASCII #inherits: IO CCTK_INT FUNCTION \ Hyperslab_GetList (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle...
# Parameter definitions for thorn IOASCII # $Header$ ############################################################################# ### declare IOASCII parameters ############################################################################# private: ########################## # Directories to output to ##############...
# Schedule definitions for thorn IOASCII # $Header$ ######################################################################## ### register IOASCII routines ######################################################################## schedule IOASCII_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" sc...
Write3D.c
/*@@ @file Write3D.c @date Wed 12 Dec 2001 @author Thomas Radke @desc Three-dimensional output of variables in ASCII gnuplot format. @enddesc @version $Id$ @@*/ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_Parameters.h" #in...
CactusBase/IOASCII
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn IOASCII # $Header$ REQUIRES IOUtil REQUIRES THORNS: IOUtil
# Interface definition for thorn IOASCII # $Header$ implements: IOASCII ### FIXME: need private inheritance in order to be implementation-compatible ### with CarpetIOASCII #inherits: IO CCTK_INT FUNCTION \ Hyperslab_GetList (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle...
# Parameter definitions for thorn IOASCII # $Header$ ############################################################################# ### declare IOASCII parameters ############################################################################# private: ########################## # Directories to output to ##############...
# Schedule definitions for thorn IOASCII # $Header$ ######################################################################## ### register IOASCII routines ######################################################################## schedule IOASCII_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" sc...
Startup.c
/*@@ @file Startup.c @date Sat Feb 6 1999 @author Gabrielle Allen @desc Startup routines for IOASCII. @enddesc @version $Id$ @@*/ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_IOMethods.h" #include "cctk_Parameters.h" #include "Cact...
CactusBase/IOASCII
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn IOASCII # $Header$ REQUIRES IOUtil REQUIRES THORNS: IOUtil
# Interface definition for thorn IOASCII # $Header$ implements: IOASCII ### FIXME: need private inheritance in order to be implementation-compatible ### with CarpetIOASCII #inherits: IO CCTK_INT FUNCTION \ Hyperslab_GetList (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle...
# Parameter definitions for thorn IOASCII # $Header$ ############################################################################# ### declare IOASCII parameters ############################################################################# private: ########################## # Directories to output to ##############...
# Schedule definitions for thorn IOASCII # $Header$ ######################################################################## ### register IOASCII routines ######################################################################## schedule IOASCII_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" sc...
Write2D.c
/*@@ @file Write2D.c @date Thu May 11 2000 @author Thomas Radke @desc Output two-dimensional slices in ASCII gnuplot format. @enddesc @version $Id$ @@*/ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_Parameters.h" #include "u...
CactusBase/IOASCII
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn IOASCII # $Header$ REQUIRES IOUtil REQUIRES THORNS: IOUtil
# Interface definition for thorn IOASCII # $Header$ implements: IOASCII ### FIXME: need private inheritance in order to be implementation-compatible ### with CarpetIOASCII #inherits: IO CCTK_INT FUNCTION \ Hyperslab_GetList (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle...
# Parameter definitions for thorn IOASCII # $Header$ ############################################################################# ### declare IOASCII parameters ############################################################################# private: ########################## # Directories to output to ##############...
# Schedule definitions for thorn IOASCII # $Header$ ######################################################################## ### register IOASCII routines ######################################################################## schedule IOASCII_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" sc...
ChooseOutput.c
/*@@ @file ChooseOutput.c @author Gabrielle Allen @date July 6 2000 @desc Choose what 1D slices and 2D planes to output by IOASCII. @enddesc @version $Id$ @@*/ #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #...
CactusBase/IOBasic
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn IOBasic # $Header$ REQUIRES IOUtil REQUIRES THORNS: IOUtil
# Interface definition for thorn IOBasic # $Header$ implements: IOBasic inherits: IO real next_info_output_time type=scalar real next_scalar_output_time type=scalar CCTK_INT FUNCTION IO_TruncateOutputFiles \ (CCTK_POINTER_TO_CONST IN GH) REQUIRES FUNCTION IO_TruncateOutputFiles
# Parameter definitions for thorn IOBasic # $Header$ ############################################################################# ### declare IOBasic parameters ############################################################################# private: ########################## # Directory to output to ################...
# Schedule definitions for thorn IOBasic # $Header$ ######################################################################## ### register IOBasic routines ######################################################################## schedule IOBasic_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" #...
WriteScalar.c
/*@@ @routine WriteScalar.c @date 18th September 1999 @author Gabrielle Allen @desc Dumps data for IOBasic's "Scalar" I/O method to output files @enddesc @version $Id$ @@*/ #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> /* strlen(3) */ #in...
CactusBase/IOBasic
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn IOBasic # $Header$ REQUIRES IOUtil REQUIRES THORNS: IOUtil
# Interface definition for thorn IOBasic # $Header$ implements: IOBasic inherits: IO real next_info_output_time type=scalar real next_scalar_output_time type=scalar CCTK_INT FUNCTION IO_TruncateOutputFiles \ (CCTK_POINTER_TO_CONST IN GH) REQUIRES FUNCTION IO_TruncateOutputFiles
# Parameter definitions for thorn IOBasic # $Header$ ############################################################################# ### declare IOBasic parameters ############################################################################# private: ########################## # Directory to output to ################...
# Schedule definitions for thorn IOBasic # $Header$ ######################################################################## ### register IOBasic routines ######################################################################## schedule IOBasic_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" #...
iobasicGH.h
/*@@ @header iobasicGH.h @date Friday 18th September 1999 @author Gabrielle Allen @desc The extensions to the GH structure from IOBasic. @enddesc @version $Header$ @@*/ #ifndef _IOBASIC_IOBASICGH_H_ #define _IOBASIC_IOBASICGH_H_ 1 #include "StoreNamedData.h" typedef struct IOBAS...
CactusBase/IOBasic
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn IOBasic # $Header$ REQUIRES IOUtil REQUIRES THORNS: IOUtil
# Interface definition for thorn IOBasic # $Header$ implements: IOBasic inherits: IO real next_info_output_time type=scalar real next_scalar_output_time type=scalar CCTK_INT FUNCTION IO_TruncateOutputFiles \ (CCTK_POINTER_TO_CONST IN GH) REQUIRES FUNCTION IO_TruncateOutputFiles
# Parameter definitions for thorn IOBasic # $Header$ ############################################################################# ### declare IOBasic parameters ############################################################################# private: ########################## # Directory to output to ################...
# Schedule definitions for thorn IOBasic # $Header$ ######################################################################## ### register IOBasic routines ######################################################################## schedule IOBasic_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" #...
OutputInfo.c
/*@@ @file OutputInfo.c @date June 31 1999 @author Gabrielle Allen @desc Functions to deal with info output of variables @enddesc @version $Id$ @@*/ #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_Arguments.h" #inclu...
CactusBase/IOBasic
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn IOBasic # $Header$ REQUIRES IOUtil REQUIRES THORNS: IOUtil
# Interface definition for thorn IOBasic # $Header$ implements: IOBasic inherits: IO real next_info_output_time type=scalar real next_scalar_output_time type=scalar CCTK_INT FUNCTION IO_TruncateOutputFiles \ (CCTK_POINTER_TO_CONST IN GH) REQUIRES FUNCTION IO_TruncateOutputFiles
# Parameter definitions for thorn IOBasic # $Header$ ############################################################################# ### declare IOBasic parameters ############################################################################# private: ########################## # Directory to output to ################...
# Schedule definitions for thorn IOBasic # $Header$ ######################################################################## ### register IOBasic routines ######################################################################## schedule IOBasic_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" #...
OutputScalar.c
/*@@ @file Output.c @date Mon 21 September @author Gabrielle Allen @desc Functions to deal with scalar output of grid variables @enddesc @@*/ /* #define IOBASIC_DEBUG 1 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_Arguments.h" #inc...
CactusBase/IOBasic
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn IOBasic # $Header$ REQUIRES IOUtil REQUIRES THORNS: IOUtil
# Interface definition for thorn IOBasic # $Header$ implements: IOBasic inherits: IO real next_info_output_time type=scalar real next_scalar_output_time type=scalar CCTK_INT FUNCTION IO_TruncateOutputFiles \ (CCTK_POINTER_TO_CONST IN GH) REQUIRES FUNCTION IO_TruncateOutputFiles
# Parameter definitions for thorn IOBasic # $Header$ ############################################################################# ### declare IOBasic parameters ############################################################################# private: ########################## # Directory to output to ################...
# Schedule definitions for thorn IOBasic # $Header$ ######################################################################## ### register IOBasic routines ######################################################################## schedule IOBasic_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" #...
make.code.defn
# Main make.code.defn file for thorn IOBasic # $Header$ # Source files in this directory SRCS = Startup.c \ OutputScalar.c \ OutputInfo.c \ WriteScalar.c \ WriteInfo.c
CactusBase/IOBasic
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn IOBasic # $Header$ REQUIRES IOUtil REQUIRES THORNS: IOUtil
# Interface definition for thorn IOBasic # $Header$ implements: IOBasic inherits: IO real next_info_output_time type=scalar real next_scalar_output_time type=scalar CCTK_INT FUNCTION IO_TruncateOutputFiles \ (CCTK_POINTER_TO_CONST IN GH) REQUIRES FUNCTION IO_TruncateOutputFiles
# Parameter definitions for thorn IOBasic # $Header$ ############################################################################# ### declare IOBasic parameters ############################################################################# private: ########################## # Directory to output to ################...
# Schedule definitions for thorn IOBasic # $Header$ ######################################################################## ### register IOBasic routines ######################################################################## schedule IOBasic_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" #...
WriteInfo.c
/*@@ @file WriteInfo.c @date June 31 1999 @author Gabrielle Allen, Paul Walker, Thomas Radke @desc Gets the data for IOBasic's info output. @enddesc @version $Id: /cactusdevcvs/CactusBase/IOBasic/src/OutputInfo.c,v 1.24 2001 @@*/ #include <stdlib.h> #include "cctk.h" #in...
CactusBase/IOBasic
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definition for thorn IOBasic # $Header$ REQUIRES IOUtil REQUIRES THORNS: IOUtil
# Interface definition for thorn IOBasic # $Header$ implements: IOBasic inherits: IO real next_info_output_time type=scalar real next_scalar_output_time type=scalar CCTK_INT FUNCTION IO_TruncateOutputFiles \ (CCTK_POINTER_TO_CONST IN GH) REQUIRES FUNCTION IO_TruncateOutputFiles
# Parameter definitions for thorn IOBasic # $Header$ ############################################################################# ### declare IOBasic parameters ############################################################################# private: ########################## # Directory to output to ################...
# Schedule definitions for thorn IOBasic # $Header$ ######################################################################## ### register IOBasic routines ######################################################################## schedule IOBasic_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" #...
Startup.c
/*@@ @file Startup.c @date Friday 18th September 1999 @author Gabrielle Allen @desc Startup routines for IOBasic. @enddesc @version $Id$ @@*/ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <ctype.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cc...
CactusBase/IOUtil
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn IOUTIL # $Header$ # In future we can hopefully use function aliasing instead. PROVIDES IOUTIL { SCRIPT LANG }
# Interface definitions for thorn IOUtil # $Header$ implements: IO # aliased functions required from Coordinate base thorn CCTK_INT FUNCTION Coord_GetDefaultSystem \ (CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN systemdim) USES FUNCTION Coord_GetDefaultSystem CCTK_INT FUNCTION IO_TruncateOutputFile...
# Parameter definitione for thorn IOUtil # $Header$ ############################################################################# ### declare IOUtil parameters ### These are declared protected so that they can be seen by other I/O thorns. ############################################################################# re...
# Schedule definitions for thorn IOUtil # $Header$ schedule IOUtil_Startup at STARTUP after Driver_Startup { LANG:C } "Startup routine" if (! CCTK_Equals (recover, "no")) { schedule IOUtil_RecoverGH at RECOVER_VARIABLES { LANG:C OPTIONS: level } "Checkpoint recovery routine" } if (*filereader_ID_file...
ioutil_CheckpointRecovery.h
/*@@ @header ioutil_CheckpointRecovery.h @date Tue 19 Sep 2000 @author Thomas Radke @desc Typedefs and function prototypes for checkpointing and recovery. @history @endhistory @version $Header$ @@*/ #ifndef _IOUTIL_CHECKPOINTRECOVERY_H_ #define _IOUTIL_CHECKPOINTRECOVERY_H_ #ifde...
CactusBase/IOUtil
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn IOUTIL # $Header$ # In future we can hopefully use function aliasing instead. PROVIDES IOUTIL { SCRIPT LANG }
# Interface definitions for thorn IOUtil # $Header$ implements: IO # aliased functions required from Coordinate base thorn CCTK_INT FUNCTION Coord_GetDefaultSystem \ (CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN systemdim) USES FUNCTION Coord_GetDefaultSystem CCTK_INT FUNCTION IO_TruncateOutputFile...
# Parameter definitione for thorn IOUtil # $Header$ ############################################################################# ### declare IOUtil parameters ### These are declared protected so that they can be seen by other I/O thorns. ############################################################################# re...
# Schedule definitions for thorn IOUtil # $Header$ schedule IOUtil_Startup at STARTUP after Driver_Startup { LANG:C } "Startup routine" if (! CCTK_Equals (recover, "no")) { schedule IOUtil_RecoverGH at RECOVER_VARIABLES { LANG:C OPTIONS: level } "Checkpoint recovery routine" } if (*filereader_ID_file...
Utils.c
/*@@ @file Utils.c @date Tue 4th July 2000 @author Gabrielle Allen @desc Utility routines which may be called by other I/O thorns. @enddesc @version $Id$ @@*/ #include <math.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_Parameters.h" #inclu...
CactusBase/IOUtil
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn IOUTIL # $Header$ # In future we can hopefully use function aliasing instead. PROVIDES IOUTIL { SCRIPT LANG }
# Interface definitions for thorn IOUtil # $Header$ implements: IO # aliased functions required from Coordinate base thorn CCTK_INT FUNCTION Coord_GetDefaultSystem \ (CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN systemdim) USES FUNCTION Coord_GetDefaultSystem CCTK_INT FUNCTION IO_TruncateOutputFile...
# Parameter definitione for thorn IOUtil # $Header$ ############################################################################# ### declare IOUtil parameters ### These are declared protected so that they can be seen by other I/O thorns. ############################################################################# re...
# Schedule definitions for thorn IOUtil # $Header$ schedule IOUtil_Startup at STARTUP after Driver_Startup { LANG:C } "Startup routine" if (! CCTK_Equals (recover, "no")) { schedule IOUtil_RecoverGH at RECOVER_VARIABLES { LANG:C OPTIONS: level } "Checkpoint recovery routine" } if (*filereader_ID_file...
make.code.defn
# Main make.code.defn file for thorn IOUtil # $Header$ # Source files in this directory SRCS = Startup.c CheckpointRecovery.c AdvertisedFiles.c Utils.c
CactusBase/IOUtil
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn IOUTIL # $Header$ # In future we can hopefully use function aliasing instead. PROVIDES IOUTIL { SCRIPT LANG }
# Interface definitions for thorn IOUtil # $Header$ implements: IO # aliased functions required from Coordinate base thorn CCTK_INT FUNCTION Coord_GetDefaultSystem \ (CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN systemdim) USES FUNCTION Coord_GetDefaultSystem CCTK_INT FUNCTION IO_TruncateOutputFile...
# Parameter definitione for thorn IOUtil # $Header$ ############################################################################# ### declare IOUtil parameters ### These are declared protected so that they can be seen by other I/O thorns. ############################################################################# re...
# Schedule definitions for thorn IOUtil # $Header$ schedule IOUtil_Startup at STARTUP after Driver_Startup { LANG:C } "Startup routine" if (! CCTK_Equals (recover, "no")) { schedule IOUtil_RecoverGH at RECOVER_VARIABLES { LANG:C OPTIONS: level } "Checkpoint recovery routine" } if (*filereader_ID_file...
ioutil_AdvertisedFiles.h
/*@@ @header ioutil_AdvertisedFiles.h @date Tue 19 Sep 2000 @author Thomas Radke @desc Structures and function prototypes for advertising files. @history @endhistory @version $Header$ @@*/ #ifndef _IOUTIL_ADVERTISED_FILES_H_ #define _IOUTIL_ADVERTISED_FILES_H_ #ifdef __cplusplus ...
CactusBase/IOUtil
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn IOUTIL # $Header$ # In future we can hopefully use function aliasing instead. PROVIDES IOUTIL { SCRIPT LANG }
# Interface definitions for thorn IOUtil # $Header$ implements: IO # aliased functions required from Coordinate base thorn CCTK_INT FUNCTION Coord_GetDefaultSystem \ (CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN systemdim) USES FUNCTION Coord_GetDefaultSystem CCTK_INT FUNCTION IO_TruncateOutputFile...
# Parameter definitione for thorn IOUtil # $Header$ ############################################################################# ### declare IOUtil parameters ### These are declared protected so that they can be seen by other I/O thorns. ############################################################################# re...
# Schedule definitions for thorn IOUtil # $Header$ schedule IOUtil_Startup at STARTUP after Driver_Startup { LANG:C } "Startup routine" if (! CCTK_Equals (recover, "no")) { schedule IOUtil_RecoverGH at RECOVER_VARIABLES { LANG:C OPTIONS: level } "Checkpoint recovery routine" } if (*filereader_ID_file...
ioGH.h
/*@@ @header ioGH.h @date Tue 9th Jan 1999 @author Gabrielle Allen @desc The extensions to the GH structure from IOUtil. @enddesc @version $Header$ @@*/ #ifndef _IOUTIL_IOGH_H_ #define _IOUTIL_IOGH_H_ 1 #ifdef __cplusplus extern "C" { #endif /* advertise that this is the new ver...
CactusBase/IOUtil
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn IOUTIL # $Header$ # In future we can hopefully use function aliasing instead. PROVIDES IOUTIL { SCRIPT LANG }
# Interface definitions for thorn IOUtil # $Header$ implements: IO # aliased functions required from Coordinate base thorn CCTK_INT FUNCTION Coord_GetDefaultSystem \ (CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN systemdim) USES FUNCTION Coord_GetDefaultSystem CCTK_INT FUNCTION IO_TruncateOutputFile...
# Parameter definitione for thorn IOUtil # $Header$ ############################################################################# ### declare IOUtil parameters ### These are declared protected so that they can be seen by other I/O thorns. ############################################################################# re...
# Schedule definitions for thorn IOUtil # $Header$ schedule IOUtil_Startup at STARTUP after Driver_Startup { LANG:C } "Startup routine" if (! CCTK_Equals (recover, "no")) { schedule IOUtil_RecoverGH at RECOVER_VARIABLES { LANG:C OPTIONS: level } "Checkpoint recovery routine" } if (*filereader_ID_file...
ioutil_Utils.h
/*@@ @header ioutil_Utils.h @date Tue 19 Sep 2000 @author Thomas Radke @desc Function prototypes for setting up slice centers. @enddesc @version $Header$ @@*/ #ifndef _IOUTIL_IOUTIL_UTILS_H_ #define _IOUTIL_IOUTIL_UTILS_H_ 1 #ifdef __cplusplus extern "C" { #endif /* structure de...
CactusBase/IOUtil
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn IOUTIL # $Header$ # In future we can hopefully use function aliasing instead. PROVIDES IOUTIL { SCRIPT LANG }
# Interface definitions for thorn IOUtil # $Header$ implements: IO # aliased functions required from Coordinate base thorn CCTK_INT FUNCTION Coord_GetDefaultSystem \ (CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN systemdim) USES FUNCTION Coord_GetDefaultSystem CCTK_INT FUNCTION IO_TruncateOutputFile...
# Parameter definitione for thorn IOUtil # $Header$ ############################################################################# ### declare IOUtil parameters ### These are declared protected so that they can be seen by other I/O thorns. ############################################################################# re...
# Schedule definitions for thorn IOUtil # $Header$ schedule IOUtil_Startup at STARTUP after Driver_Startup { LANG:C } "Startup routine" if (! CCTK_Equals (recover, "no")) { schedule IOUtil_RecoverGH at RECOVER_VARIABLES { LANG:C OPTIONS: level } "Checkpoint recovery routine" } if (*filereader_ID_file...
AdvertisedFiles.c
/*@@ @file AdvertisedFiles.c @date Mon 18 Sep 2000 @author Thomas Radke @desc IOUtil file advertising stuff. @enddesc @history @endhistory @@*/ #include <stdlib.h> #include "cctk.h" #include "StoreNamedData.h" #include "ioGH.h" #include "ioutil_AdvertisedFiles.h" static const char *rc...
CactusBase/IOUtil
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn IOUTIL # $Header$ # In future we can hopefully use function aliasing instead. PROVIDES IOUTIL { SCRIPT LANG }
# Interface definitions for thorn IOUtil # $Header$ implements: IO # aliased functions required from Coordinate base thorn CCTK_INT FUNCTION Coord_GetDefaultSystem \ (CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN systemdim) USES FUNCTION Coord_GetDefaultSystem CCTK_INT FUNCTION IO_TruncateOutputFile...
# Parameter definitione for thorn IOUtil # $Header$ ############################################################################# ### declare IOUtil parameters ### These are declared protected so that they can be seen by other I/O thorns. ############################################################################# re...
# Schedule definitions for thorn IOUtil # $Header$ schedule IOUtil_Startup at STARTUP after Driver_Startup { LANG:C } "Startup routine" if (! CCTK_Equals (recover, "no")) { schedule IOUtil_RecoverGH at RECOVER_VARIABLES { LANG:C OPTIONS: level } "Checkpoint recovery routine" } if (*filereader_ID_file...
CheckpointRecovery.c
/*@@ @file CheckpointRecovery.c @date Jun 04 1999 @author Thomas Radke @desc Utility routines for checkpointing/recovery and the filereader The actual work is done by the IO thorns. @enddesc @version $Id$ @@*/ #include "cctk.h" #include "cctk_Parameters.h" ...
CactusBase/IOUtil
https://bitbucket.org/cactuscode/cactusbase.git
# Configuration definitions for thorn IOUTIL # $Header$ # In future we can hopefully use function aliasing instead. PROVIDES IOUTIL { SCRIPT LANG }
# Interface definitions for thorn IOUtil # $Header$ implements: IO # aliased functions required from Coordinate base thorn CCTK_INT FUNCTION Coord_GetDefaultSystem \ (CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN systemdim) USES FUNCTION Coord_GetDefaultSystem CCTK_INT FUNCTION IO_TruncateOutputFile...
# Parameter definitione for thorn IOUtil # $Header$ ############################################################################# ### declare IOUtil parameters ### These are declared protected so that they can be seen by other I/O thorns. ############################################################################# re...
# Schedule definitions for thorn IOUtil # $Header$ schedule IOUtil_Startup at STARTUP after Driver_Startup { LANG:C } "Startup routine" if (! CCTK_Equals (recover, "no")) { schedule IOUtil_RecoverGH at RECOVER_VARIABLES { LANG:C OPTIONS: level } "Checkpoint recovery routine" } if (*filereader_ID_file...
Startup.c
/*@@ @file Startup.c @date Sat Feb 6 1999 @author Gabrielle Allen @desc Startup routines for IOUtil. @enddesc @version $Id$ @@*/ #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Misc.h" #include "cctk_Version.h" #include "cctk_Parameters.h" #include "util_Network.h" ...
CactusBase/SymBase
https://bitbucket.org/cactuscode/cactusbase.git
# Interface definition for thorn SymBase # $Header$ IMPLEMENTS: SymBase # Register a symmetry, and query the symmetry name/handle mapping: CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) PROVIDES FUNCTION SymmetryRegister \ WITH SymBase_SymmetryRegister \ LANGUAGE C CCTK_INT FUNCTION Symmet...
# Parameter definitions for thorn SymBase # $Header$ BOOLEAN verbose "Output symmetry boundary face descriptions after registration" { } "yes"
# Schedule definitions for thorn SymBase # $Header$ SCHEDULE SymBase_Startup AT CCTK_STARTUP { LANG: C } "Register GH Extension for SymBase" SCHEDULE GROUP SymBase_Wrapper AT CCTK_WRAGH { } "Wrapper group for SymBase" SCHEDULE GROUP SymmetryRegister IN SymBase_Wrapper { } "Register your symmetries here" SCHEDULE ...
SymBase.h
/*@@ @file SymBase.h @author Erik Schnetter @date 2004/03/07 09:48:53 @desc Declarations for thorn SymBase @version $Header$ @enddesc @@*/ #ifndef SYMBASE_H #define SYMBASE_H #include "cctk.h" #include "cctk_Arguments.h" /* SymBase's GH extension */ struct SymBase { /* The t...
CactusBase/SymBase
https://bitbucket.org/cactuscode/cactusbase.git
# Interface definition for thorn SymBase # $Header$ IMPLEMENTS: SymBase # Register a symmetry, and query the symmetry name/handle mapping: CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) PROVIDES FUNCTION SymmetryRegister \ WITH SymBase_SymmetryRegister \ LANGUAGE C CCTK_INT FUNCTION Symmet...
# Parameter definitions for thorn SymBase # $Header$ BOOLEAN verbose "Output symmetry boundary face descriptions after registration" { } "yes"
# Schedule definitions for thorn SymBase # $Header$ SCHEDULE SymBase_Startup AT CCTK_STARTUP { LANG: C } "Register GH Extension for SymBase" SCHEDULE GROUP SymBase_Wrapper AT CCTK_WRAGH { } "Wrapper group for SymBase" SCHEDULE GROUP SymmetryRegister IN SymBase_Wrapper { } "Register your symmetries here" SCHEDULE ...
Table.c
/*@@ @file Table.c @author Erik Schnetter @date 2004/03/07 09:48:53 @desc Get the symmetry table handle for a grid or grid array @version $Header$ @enddesc @@*/ #include "cctk.h" #include "util_Table.h" #include "SymBase.h" /* the rcs ID and its dummy function to use it */ sta...
CactusBase/SymBase
https://bitbucket.org/cactuscode/cactusbase.git
# Interface definition for thorn SymBase # $Header$ IMPLEMENTS: SymBase # Register a symmetry, and query the symmetry name/handle mapping: CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) PROVIDES FUNCTION SymmetryRegister \ WITH SymBase_SymmetryRegister \ LANGUAGE C CCTK_INT FUNCTION Symmet...
# Parameter definitions for thorn SymBase # $Header$ BOOLEAN verbose "Output symmetry boundary face descriptions after registration" { } "yes"
# Schedule definitions for thorn SymBase # $Header$ SCHEDULE SymBase_Startup AT CCTK_STARTUP { LANG: C } "Register GH Extension for SymBase" SCHEDULE GROUP SymBase_Wrapper AT CCTK_WRAGH { } "Wrapper group for SymBase" SCHEDULE GROUP SymmetryRegister IN SymBase_Wrapper { } "Register your symmetries here" SCHEDULE ...
Faces.c
/*@@ @file Faces.c @author Erik Schnetter @date 2004/03/07 09:48:53 @desc Register a symmetry condition for a face @version $Header$ @enddesc @@*/ #include <stdlib.h> #include "cctk.h" #include "util_Table.h" #include "SymBase.h" /* the rcs ID and its dummy function to use i...
CactusBase/SymBase
https://bitbucket.org/cactuscode/cactusbase.git
# Interface definition for thorn SymBase # $Header$ IMPLEMENTS: SymBase # Register a symmetry, and query the symmetry name/handle mapping: CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) PROVIDES FUNCTION SymmetryRegister \ WITH SymBase_SymmetryRegister \ LANGUAGE C CCTK_INT FUNCTION Symmet...
# Parameter definitions for thorn SymBase # $Header$ BOOLEAN verbose "Output symmetry boundary face descriptions after registration" { } "yes"
# Schedule definitions for thorn SymBase # $Header$ SCHEDULE SymBase_Startup AT CCTK_STARTUP { LANG: C } "Register GH Extension for SymBase" SCHEDULE GROUP SymBase_Wrapper AT CCTK_WRAGH { } "Wrapper group for SymBase" SCHEDULE GROUP SymmetryRegister IN SymBase_Wrapper { } "Register your symmetries here" SCHEDULE ...
Statistics.c
/*@@ @file Statistics.c @author Erik Schnetter @date 2004-05-25 @desc Provide information about the registered symmetry conditions @version $Header$ @enddesc @@*/ #include <stdlib.h> #include "cctk.h" #include "cctk_Parameters.h" #include "util_Table.h" #include "SymBase.h" ...
CactusBase/SymBase
https://bitbucket.org/cactuscode/cactusbase.git
# Interface definition for thorn SymBase # $Header$ IMPLEMENTS: SymBase # Register a symmetry, and query the symmetry name/handle mapping: CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) PROVIDES FUNCTION SymmetryRegister \ WITH SymBase_SymmetryRegister \ LANGUAGE C CCTK_INT FUNCTION Symmet...
# Parameter definitions for thorn SymBase # $Header$ BOOLEAN verbose "Output symmetry boundary face descriptions after registration" { } "yes"
# Schedule definitions for thorn SymBase # $Header$ SCHEDULE SymBase_Startup AT CCTK_STARTUP { LANG: C } "Register GH Extension for SymBase" SCHEDULE GROUP SymBase_Wrapper AT CCTK_WRAGH { } "Wrapper group for SymBase" SCHEDULE GROUP SymmetryRegister IN SymBase_Wrapper { } "Register your symmetries here" SCHEDULE ...
Check.c
/*@@ @file Check.c @author Erik Schnetter @date 2004-06-19 @desc Check whether the driver set up the grid consistently. @version $Header$ @enddesc @@*/ #include "util_Table.h" #include "cctk.h" #include "SymBase.h" /* the rcs ID and its dummy function to use it */ static cons...