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
CactusExamples/Poisson
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn Poisson REQUIRES Boundary Carpet CartGrid3D TATelliptic
# Interface definition for thorn Poisson IMPLEMENTS: Poisson INHERITS: boundary grid USES INCLUDE HEADER: carpet.h USES INCLUDE HEADER: TATelliptic.h CCTK_INT FUNCTION Boundary_SelectGroupForBC \ (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN faces, \ CCTK_INT IN boundary_...
# Parameter definitions for thorn Poisson STRING solver "Name of TATelliptic solver that should be used" { .* :: "must be an activated TATelliptic solver" } "TATJacobi" STRING options "Options for the solver" { .* :: "no restriction" } "" REAL radius "Radius of uniformly charged sphere" { 0:* :: "" } 1.0 RE...
# Schedule definitions for thorn Poisson STORAGE: potential residual SCHEDULE Poisson_prepare AT initial { LANG: C } "Set up initial guess for initial data" SCHEDULE Poisson_solve AT postinitial { LANG: C # OPTIONS: global } "Calculate uniform charge initial data" SCHEDULE GROUP Poisson_boundaries { } "Apply ...
make.code.defn
# Main make.code.defn file for thorn Poisson # Source files in this directory SRCS = uniform_charge.c # Subdirectories containing source files SUBDIRS =
CactusExamples/SampleBoundary
https://bitbucket.org/cactuscode/cactusexamples.git
# Interface definition for thorn SampleBoundary # $Header$ implements: LinExtrapBnd CCTK_INT FUNCTION Boundary_RegisterPhysicalBC(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN CCTK_FPOINTER function_pointer(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN num_vars, \ ...
# Parameter definitions for thorn SampleBoundary # $Header$
# Schedule definitions for thorn SampleBoundary # $Header$ schedule SampleBoundary_RegisterBCs at CCTK_BASEGRID { lang: C } "Register boundary conditions that this thorn provides"
Register.c
/*@@ @file Register.c @date 6 May 2003 @author David Rideout @desc Register implemented boundary conditions. @enddesc @version $Header$ @@*/ #include "cctk.h" #include "cctk_Arguments.h" #include "SampleBnd.h" static const char *rcsid = "$Header$"; CCTK_FILEVERSION(...
CactusExamples/SampleBoundary
https://bitbucket.org/cactuscode/cactusexamples.git
# Interface definition for thorn SampleBoundary # $Header$ implements: LinExtrapBnd CCTK_INT FUNCTION Boundary_RegisterPhysicalBC(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN CCTK_FPOINTER function_pointer(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN num_vars, \ ...
# Parameter definitions for thorn SampleBoundary # $Header$
# Schedule definitions for thorn SampleBoundary # $Header$ schedule SampleBoundary_RegisterBCs at CCTK_BASEGRID { lang: C } "Register boundary conditions that this thorn provides"
SampleBnd.h
/*@@ @file SampleBnd.h @date 6 May 2003 @author David Rideout @desc Prototypes for boundary routines @enddesc @@*/ #ifndef _SAMPLEBND_H_ #define _SAMPLEBND_H_ #ifdef __cplusplus extern "C" { #endif /* data type for pointer to function which implements a physical boundary...
CactusExamples/SampleBoundary
https://bitbucket.org/cactuscode/cactusexamples.git
# Interface definition for thorn SampleBoundary # $Header$ implements: LinExtrapBnd CCTK_INT FUNCTION Boundary_RegisterPhysicalBC(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN CCTK_FPOINTER function_pointer(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN num_vars, \ ...
# Parameter definitions for thorn SampleBoundary # $Header$
# Schedule definitions for thorn SampleBoundary # $Header$ schedule SampleBoundary_RegisterBCs at CCTK_BASEGRID { lang: C } "Register boundary conditions that this thorn provides"
LinearExtrapBnd.c
/*@@ @file LinearExtrapBnd.c @date 24 Jan 2003 @author David Rideout @desc Function which is registered as handling Carsten Gundlach's "linear_extrap_one_bndry" boundary condition @enddesc @history @hdate @hauthor @hdesc @endhistory ...
CactusExamples/SampleBoundary
https://bitbucket.org/cactuscode/cactusexamples.git
# Interface definition for thorn SampleBoundary # $Header$ implements: LinExtrapBnd CCTK_INT FUNCTION Boundary_RegisterPhysicalBC(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN CCTK_FPOINTER function_pointer(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN num_vars, \ ...
# Parameter definitions for thorn SampleBoundary # $Header$
# Schedule definitions for thorn SampleBoundary # $Header$ schedule SampleBoundary_RegisterBCs at CCTK_BASEGRID { lang: C } "Register boundary conditions that this thorn provides"
make.code.defn
# Main make.code.defn file for thorn SampleBoundary # $Header$ # Source files in this directory SRCS = Register.c LinearExtrapBnd.c LinearExtrapBnd.F # Subdirectories containing source files SUBDIRS =
CactusExamples/SampleBoundary
https://bitbucket.org/cactuscode/cactusexamples.git
# Interface definition for thorn SampleBoundary # $Header$ implements: LinExtrapBnd CCTK_INT FUNCTION Boundary_RegisterPhysicalBC(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN CCTK_FPOINTER function_pointer(CCTK_POINTER_TO_CONST IN GH, \ CCTK_INT IN num_vars, \ ...
# Parameter definitions for thorn SampleBoundary # $Header$
# Schedule definitions for thorn SampleBoundary # $Header$ schedule SampleBoundary_RegisterBCs at CCTK_BASEGRID { lang: C } "Register boundary conditions that this thorn provides"
LinearExtrapBnd.F
c This subroutine linearly extrapolates one Cactus variable c on one boundary of the Cactus grid box. C $Header$ #include "cctk.h" subroutine Linear_extrap_one_bndry(doBC, lsh, var) implicit none integer doBC(6) integer lsh(3) CCTK_REAL var(lsh(1),lsh(2),lsh(3)) integer nx,ny,n...
CactusExamples/SampleIO
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn SampleIO # $Header$ # names of the capabilities that this thorn requires Requires IOUtil
# Interface definition for thorn SampleIO # $Header$ # name of implementation this thorn provides Implements: SampleIO Inherits: IO # names of alias functions this thorn is using CCTK_INT FUNCTION \ Hyperslab_Get (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle, \ ...
# Parameter definitions for thorn SampleIO # $Header$ ############################################## ### Declare all SampleIO parameters as private ### (not shared by other thorns) ############################################## private: INT out_every "How often to do SampleIO output, overrides IO::out_every" STEERABL...
# Schedule definitions for thorn SampleIO # $Header$ ############################## ### Register SampleIO routines ############################## schedule SampleIO_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine"
ioSampleIOMethodGH.h
/*@@ @header ioSampleIOMethodGH.h @date Tue 14 May 2002 @author Thomas Radke @desc The extensions to the GH structure from thorn SampleIO @enddesc @version $Header$ @@*/ #ifndef IOSAMPLEIOMETHOD_IOSAMPLEIOMETHODGH_H_ #define IOSAMPLEIOMETHOD_IOSAMPLEIOMETHODGH_H_ 1 #ifde...
CactusExamples/SampleIO
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn SampleIO # $Header$ # names of the capabilities that this thorn requires Requires IOUtil
# Interface definition for thorn SampleIO # $Header$ # name of implementation this thorn provides Implements: SampleIO Inherits: IO # names of alias functions this thorn is using CCTK_INT FUNCTION \ Hyperslab_Get (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle, \ ...
# Parameter definitions for thorn SampleIO # $Header$ ############################################## ### Declare all SampleIO parameters as private ### (not shared by other thorns) ############################################## private: INT out_every "How often to do SampleIO output, overrides IO::out_every" STEERABL...
# Schedule definitions for thorn SampleIO # $Header$ ############################## ### Register SampleIO routines ############################## schedule SampleIO_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine"
make.code.defn
# Main make.code.defn file for thorn SampleIO # $Header$ # Source files in this directory SRCS = Startup.c Output.c Write.c
CactusExamples/SampleIO
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn SampleIO # $Header$ # names of the capabilities that this thorn requires Requires IOUtil
# Interface definition for thorn SampleIO # $Header$ # name of implementation this thorn provides Implements: SampleIO Inherits: IO # names of alias functions this thorn is using CCTK_INT FUNCTION \ Hyperslab_Get (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle, \ ...
# Parameter definitions for thorn SampleIO # $Header$ ############################################## ### Declare all SampleIO parameters as private ### (not shared by other thorns) ############################################## private: INT out_every "How often to do SampleIO output, overrides IO::out_every" STEERABL...
# Schedule definitions for thorn SampleIO # $Header$ ############################## ### Register SampleIO routines ############################## schedule SampleIO_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine"
Write.c
/*@@ @file Write.c @date Thu 18 April 2002 @author Thomas Radke @desc Function which implements output method. @enddesc @version $Id$ @@*/ #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_Parameters.h" #include "ioSampleIOMethodGH.h" /* the rcs...
CactusExamples/SampleIO
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn SampleIO # $Header$ # names of the capabilities that this thorn requires Requires IOUtil
# Interface definition for thorn SampleIO # $Header$ # name of implementation this thorn provides Implements: SampleIO Inherits: IO # names of alias functions this thorn is using CCTK_INT FUNCTION \ Hyperslab_Get (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle, \ ...
# Parameter definitions for thorn SampleIO # $Header$ ############################################## ### Declare all SampleIO parameters as private ### (not shared by other thorns) ############################################## private: INT out_every "How often to do SampleIO output, overrides IO::out_every" STEERABL...
# Schedule definitions for thorn SampleIO # $Header$ ############################## ### Register SampleIO routines ############################## schedule SampleIO_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine"
Output.c
/*@@ @file Output.c @date Tue 14 May 2002 @author Thomas Radke @desc Functions registered as I/O method "SampleIO" @enddesc @version $Id$ @@*/ #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_Parameters.h" #include "util_String.h" #include "Cact...
CactusExamples/SampleIO
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn SampleIO # $Header$ # names of the capabilities that this thorn requires Requires IOUtil
# Interface definition for thorn SampleIO # $Header$ # name of implementation this thorn provides Implements: SampleIO Inherits: IO # names of alias functions this thorn is using CCTK_INT FUNCTION \ Hyperslab_Get (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle, \ ...
# Parameter definitions for thorn SampleIO # $Header$ ############################################## ### Declare all SampleIO parameters as private ### (not shared by other thorns) ############################################## private: INT out_every "How often to do SampleIO output, overrides IO::out_every" STEERABL...
# Schedule definitions for thorn SampleIO # $Header$ ############################## ### Register SampleIO routines ############################## schedule SampleIO_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine"
Startup.c
/*@@ @file Startup.c @date Tue 14 May 2002 @author Thomas Radke @desc Startup routines for thorn SampleIO @enddesc @version $Id$ @@*/ #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_Parameters.h" #include "ioSampleIOMethodGH.h" /* the rcs ID a...
CactusExamples/TimerInfo
https://bitbucket.org/cactuscode/cactusexamples.git
# Interface definition for thorn TimerInfo # $Header$ implements: timerinfo
# Parameter definitions for thorn TimerInfo # $Header$ private: INT every "How often to print information" STEERABLE=always { 0:* :: "Positive" } 0 STRING clock "Which clock to use" STEERABLE=always { .* :: "Anything" } "all" STRING timer "Which timer to use" STEERABLE=always { .* :: "Anything" } "all"
# Schedule definitions for thorn TimerInfo # $Header$ schedule TimerInfo at CCTK_POSTSTEP { LANG: C } "Print Information from Cactus Timers"
TimerInfo.c
/*@@ @file TimerInfo.c @date Wed Oct 17 2001 @author Gabrielle Allen @desc Scheduled rountines for printing all information from timers @enddesc @version $Header$ @@*/ #include <stddef.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include "cctk_Timer...
CactusExamples/TimerInfo
https://bitbucket.org/cactuscode/cactusexamples.git
# Interface definition for thorn TimerInfo # $Header$ implements: timerinfo
# Parameter definitions for thorn TimerInfo # $Header$ private: INT every "How often to print information" STEERABLE=always { 0:* :: "Positive" } 0 STRING clock "Which clock to use" STEERABLE=always { .* :: "Anything" } "all" STRING timer "Which timer to use" STEERABLE=always { .* :: "Anything" } "all"
# Schedule definitions for thorn TimerInfo # $Header$ schedule TimerInfo at CCTK_POSTSTEP { LANG: C } "Print Information from Cactus Timers"
Custom.c
/*@@ @file Custom.c @date Wed Oct 17 2001 @author Gabrielle Allen @desc Customised output of timer data @enddesc @version $Header$ @@*/ #include <stdio.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" static const char *rcsid = "$Header$"; CCTK_FILEVER...
CactusExamples/TimerInfo
https://bitbucket.org/cactuscode/cactusexamples.git
# Interface definition for thorn TimerInfo # $Header$ implements: timerinfo
# Parameter definitions for thorn TimerInfo # $Header$ private: INT every "How often to print information" STEERABLE=always { 0:* :: "Positive" } 0 STRING clock "Which clock to use" STEERABLE=always { .* :: "Anything" } "all" STRING timer "Which timer to use" STEERABLE=always { .* :: "Anything" } "all"
# Schedule definitions for thorn TimerInfo # $Header$ schedule TimerInfo at CCTK_POSTSTEP { LANG: C } "Print Information from Cactus Timers"
make.code.defn
# Main make.code.defn file for thorn TestTimers # $Header$ # Source files in this directory SRCS = TimerInfo.c Custom.c # Subdirectories containing source files SUBDIRS =
CactusExamples/WaveMoL
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn BSSN_MoL # $Header$ REQUIRES CartGrid3D Boundary
# Interface definition for thorn WaveMoL # $Header$ implements: wavemol USES INCLUDE: Symmetry.h CCTK_INT FUNCTION MoLRegisterEvolvedGroup(CCTK_INT IN EvolvedIndex, \ CCTK_INT IN RHSIndex) CCTK_INT FUNCTION MoLRegisterConstrained(CCTK_INT IN ConstrainedIndex) REQUIRES FUNCT...
# Parameter definitions for thorn WaveMoL # $Header$ shares: MethodOfLines USES CCTK_INT MoL_Num_Evolved_Vars USES CCTK_INT MoL_Num_Constrained_Vars USES CCTK_INT MoL_Num_SaveAndRestore_Vars restricted: CCTK_INT WaveMoL_MaxNumEvolvedVars "The maximum number of evolved variables used by WaveMoL" ACCUMULATOR-BASE=Met...
# Schedule definitions for thorn WaveMoL # $Header$ STORAGE: scalarevolvemol_scalar[3], scalarevolvemol_vector[3] STORAGE: scalarrhsmol_scalar, scalarrhsmol_vector STORAGE: energy schedule WaveMoL_Startup at STARTUP { LANG: C } "Register Banner" schedule WaveMoL_InitSymBound at BASEGRID { LANG: C OPTIONS: META...
WaveMoLRegister.c
/*@@ @file WaveMoLRegister.c @date Fri Nov 9 13:47:07 2001 @author Ian Hawke @desc Routine to register the variables with the MoL thorn. @enddesc @@*/ #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" static const char *rcsid = "$Header$"; CCTK_FILEVERSION...
CactusExamples/WaveMoL
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn BSSN_MoL # $Header$ REQUIRES CartGrid3D Boundary
# Interface definition for thorn WaveMoL # $Header$ implements: wavemol USES INCLUDE: Symmetry.h CCTK_INT FUNCTION MoLRegisterEvolvedGroup(CCTK_INT IN EvolvedIndex, \ CCTK_INT IN RHSIndex) CCTK_INT FUNCTION MoLRegisterConstrained(CCTK_INT IN ConstrainedIndex) REQUIRES FUNCT...
# Parameter definitions for thorn WaveMoL # $Header$ shares: MethodOfLines USES CCTK_INT MoL_Num_Evolved_Vars USES CCTK_INT MoL_Num_Constrained_Vars USES CCTK_INT MoL_Num_SaveAndRestore_Vars restricted: CCTK_INT WaveMoL_MaxNumEvolvedVars "The maximum number of evolved variables used by WaveMoL" ACCUMULATOR-BASE=Met...
# Schedule definitions for thorn WaveMoL # $Header$ STORAGE: scalarevolvemol_scalar[3], scalarevolvemol_vector[3] STORAGE: scalarrhsmol_scalar, scalarrhsmol_vector STORAGE: energy schedule WaveMoL_Startup at STARTUP { LANG: C } "Register Banner" schedule WaveMoL_InitSymBound at BASEGRID { LANG: C OPTIONS: META...
WaveMoL.c
/*@@ @file WaveMoL.c @date Fri Nov 9 13:33:25 2001 @author Ian Hawke @desc The equivalent of WaveToy.c @enddesc @@*/ #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" /* #ifndef DEBUG_MOL #define DEBUG_MOL #endif */ static const char *rcsid = "$Header$...
CactusExamples/WaveMoL
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn BSSN_MoL # $Header$ REQUIRES CartGrid3D Boundary
# Interface definition for thorn WaveMoL # $Header$ implements: wavemol USES INCLUDE: Symmetry.h CCTK_INT FUNCTION MoLRegisterEvolvedGroup(CCTK_INT IN EvolvedIndex, \ CCTK_INT IN RHSIndex) CCTK_INT FUNCTION MoLRegisterConstrained(CCTK_INT IN ConstrainedIndex) REQUIRES FUNCT...
# Parameter definitions for thorn WaveMoL # $Header$ shares: MethodOfLines USES CCTK_INT MoL_Num_Evolved_Vars USES CCTK_INT MoL_Num_Constrained_Vars USES CCTK_INT MoL_Num_SaveAndRestore_Vars restricted: CCTK_INT WaveMoL_MaxNumEvolvedVars "The maximum number of evolved variables used by WaveMoL" ACCUMULATOR-BASE=Met...
# Schedule definitions for thorn WaveMoL # $Header$ STORAGE: scalarevolvemol_scalar[3], scalarevolvemol_vector[3] STORAGE: scalarrhsmol_scalar, scalarrhsmol_vector STORAGE: energy schedule WaveMoL_Startup at STARTUP { LANG: C } "Register Banner" schedule WaveMoL_InitSymBound at BASEGRID { LANG: C OPTIONS: META...
make.code.defn
# Main make.code.defn file for thorn WaveMoL # $Header$ # Source files in this directory SRCS = WaveMoL.c InitSymBound.c Startup.c WaveMoLRegister.c # Subdirectories containing source files SUBDIRS =
CactusExamples/WaveMoL
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn BSSN_MoL # $Header$ REQUIRES CartGrid3D Boundary
# Interface definition for thorn WaveMoL # $Header$ implements: wavemol USES INCLUDE: Symmetry.h CCTK_INT FUNCTION MoLRegisterEvolvedGroup(CCTK_INT IN EvolvedIndex, \ CCTK_INT IN RHSIndex) CCTK_INT FUNCTION MoLRegisterConstrained(CCTK_INT IN ConstrainedIndex) REQUIRES FUNCT...
# Parameter definitions for thorn WaveMoL # $Header$ shares: MethodOfLines USES CCTK_INT MoL_Num_Evolved_Vars USES CCTK_INT MoL_Num_Constrained_Vars USES CCTK_INT MoL_Num_SaveAndRestore_Vars restricted: CCTK_INT WaveMoL_MaxNumEvolvedVars "The maximum number of evolved variables used by WaveMoL" ACCUMULATOR-BASE=Met...
# Schedule definitions for thorn WaveMoL # $Header$ STORAGE: scalarevolvemol_scalar[3], scalarevolvemol_vector[3] STORAGE: scalarrhsmol_scalar, scalarrhsmol_vector STORAGE: energy schedule WaveMoL_Startup at STARTUP { LANG: C } "Register Banner" schedule WaveMoL_InitSymBound at BASEGRID { LANG: C OPTIONS: META...
InitSymBound.c
/*@@ @file InitSymBound.c @date Fri Nov 9 13:29:53 2001 @author Ian Hawke @desc Sets the symmetries for Wave Toy - again copies the standard. @enddesc @@*/ #include "cctk.h" #include "cctk_Arguments.h" #include "Symmetry.h" static const char *rcsid = "$Header$"; CCTK_FILEVERSION(...
CactusExamples/WaveMoL
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn BSSN_MoL # $Header$ REQUIRES CartGrid3D Boundary
# Interface definition for thorn WaveMoL # $Header$ implements: wavemol USES INCLUDE: Symmetry.h CCTK_INT FUNCTION MoLRegisterEvolvedGroup(CCTK_INT IN EvolvedIndex, \ CCTK_INT IN RHSIndex) CCTK_INT FUNCTION MoLRegisterConstrained(CCTK_INT IN ConstrainedIndex) REQUIRES FUNCT...
# Parameter definitions for thorn WaveMoL # $Header$ shares: MethodOfLines USES CCTK_INT MoL_Num_Evolved_Vars USES CCTK_INT MoL_Num_Constrained_Vars USES CCTK_INT MoL_Num_SaveAndRestore_Vars restricted: CCTK_INT WaveMoL_MaxNumEvolvedVars "The maximum number of evolved variables used by WaveMoL" ACCUMULATOR-BASE=Met...
# Schedule definitions for thorn WaveMoL # $Header$ STORAGE: scalarevolvemol_scalar[3], scalarevolvemol_vector[3] STORAGE: scalarrhsmol_scalar, scalarrhsmol_vector STORAGE: energy schedule WaveMoL_Startup at STARTUP { LANG: C } "Register Banner" schedule WaveMoL_InitSymBound at BASEGRID { LANG: C OPTIONS: META...
Startup.c
/*@@ @file Startup.c @date Fri Nov 9 13:27:48 2001 @author Ian Hawke @desc Register banner - a straight copy of WaveToy. @enddesc @@*/ #include "cctk.h" static const char *rcsid = "$Header$"; CCTK_FILEVERSION(CactusExamples_WaveMoL_Startup_c) int WaveMoL_Startup(void); /*@@ ...
CactusExamples/WaveToy1DF77
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn WaveToy1DF77 # $Header$ REQUIRES Boundary
# Interface definition for thorn WaveToy1DF77 # $Header$ implements: wavetoy1d inherits: boundary private: cctk_real evolve1d dim=1 type=GF Timelevels=3 { phi } "The evolved scalar field" cctk_real initial dim=1 type=GF { timederiv } "For initial data" cctk_real dummy dim=1 type=GF { phi_temp } "Just for cr...
# Parameter definitions for thorn WaveToy1DF77 # $Header$ private: # Initial data real amplitude "Amplitude of initial Gaussian wave" { 0:* :: "" } 1.0 real center "x-position of center of Gaussian wave" { *:* :: "Anywhere" } 0.5 real sigma "Width of Gaussian wave" { *:* :: "Anything" } 0.02 # Boundary ke...
# Schedule definitions for thorn WaveToy1DF77 # $Header$ STORAGE: evolve1d[3],coords1d schedule WaveToy1DF77_Startup at STARTUP { LANG: Fortran } "Register WaveToy1DF77 banner" schedule WaveToy1DF77_RegisterCoords at WRAGH { LANG: Fortran } "Register WaveToy1DF77 coordinates" schedule WaveToy1DF77_Coord as Spat...
Evolve.F77
/*@@ @file Evolve.F77 @date June 13 2000 @author Gabrielle Allen @desc Evolution routines for the 1d wave equation solver @enddesc @@*/ #include "cctk.h" #include "cctk_Arguments.h" /*@@ @routine WaveToy1DF77_Evolve @date June 13 2000 @author Ga...
CactusExamples/WaveToy1DF77
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn WaveToy1DF77 # $Header$ REQUIRES Boundary
# Interface definition for thorn WaveToy1DF77 # $Header$ implements: wavetoy1d inherits: boundary private: cctk_real evolve1d dim=1 type=GF Timelevels=3 { phi } "The evolved scalar field" cctk_real initial dim=1 type=GF { timederiv } "For initial data" cctk_real dummy dim=1 type=GF { phi_temp } "Just for cr...
# Parameter definitions for thorn WaveToy1DF77 # $Header$ private: # Initial data real amplitude "Amplitude of initial Gaussian wave" { 0:* :: "" } 1.0 real center "x-position of center of Gaussian wave" { *:* :: "Anywhere" } 0.5 real sigma "Width of Gaussian wave" { *:* :: "Anything" } 0.02 # Boundary ke...
# Schedule definitions for thorn WaveToy1DF77 # $Header$ STORAGE: evolve1d[3],coords1d schedule WaveToy1DF77_Startup at STARTUP { LANG: Fortran } "Register WaveToy1DF77 banner" schedule WaveToy1DF77_RegisterCoords at WRAGH { LANG: Fortran } "Register WaveToy1DF77 coordinates" schedule WaveToy1DF77_Coord as Spat...
Startup.F77
/*@@ @file Startup.F77 @date June 13 2000 @author Gabrielle Allen @desc Register banner for WaveToy1DF77 @enddesc @version $Header$ @@*/ #include "cctk.h" integer function WaveToy1DF77_Startup() implicit none integer ierr call CCTK_Registe...
CactusExamples/WaveToy1DF77
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn WaveToy1DF77 # $Header$ REQUIRES Boundary
# Interface definition for thorn WaveToy1DF77 # $Header$ implements: wavetoy1d inherits: boundary private: cctk_real evolve1d dim=1 type=GF Timelevels=3 { phi } "The evolved scalar field" cctk_real initial dim=1 type=GF { timederiv } "For initial data" cctk_real dummy dim=1 type=GF { phi_temp } "Just for cr...
# Parameter definitions for thorn WaveToy1DF77 # $Header$ private: # Initial data real amplitude "Amplitude of initial Gaussian wave" { 0:* :: "" } 1.0 real center "x-position of center of Gaussian wave" { *:* :: "Anywhere" } 0.5 real sigma "Width of Gaussian wave" { *:* :: "Anything" } 0.02 # Boundary ke...
# Schedule definitions for thorn WaveToy1DF77 # $Header$ STORAGE: evolve1d[3],coords1d schedule WaveToy1DF77_Startup at STARTUP { LANG: Fortran } "Register WaveToy1DF77 banner" schedule WaveToy1DF77_RegisterCoords at WRAGH { LANG: Fortran } "Register WaveToy1DF77 coordinates" schedule WaveToy1DF77_Coord as Spat...
Initial.F77
/*@@ @file Initial.F77 @date June 13 2000 @author Gabrielle Allen @desc Initial data for the 1d wave equation solver @enddesc @@*/ #include "cctk.h" #include "cctk_Parameters.h" #include "cctk_Arguments.h" /*@@ @routine WaveToy1DF77_Initial @date June ...
CactusExamples/WaveToy1DF77
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn WaveToy1DF77 # $Header$ REQUIRES Boundary
# Interface definition for thorn WaveToy1DF77 # $Header$ implements: wavetoy1d inherits: boundary private: cctk_real evolve1d dim=1 type=GF Timelevels=3 { phi } "The evolved scalar field" cctk_real initial dim=1 type=GF { timederiv } "For initial data" cctk_real dummy dim=1 type=GF { phi_temp } "Just for cr...
# Parameter definitions for thorn WaveToy1DF77 # $Header$ private: # Initial data real amplitude "Amplitude of initial Gaussian wave" { 0:* :: "" } 1.0 real center "x-position of center of Gaussian wave" { *:* :: "Anywhere" } 0.5 real sigma "Width of Gaussian wave" { *:* :: "Anything" } 0.02 # Boundary ke...
# Schedule definitions for thorn WaveToy1DF77 # $Header$ STORAGE: evolve1d[3],coords1d schedule WaveToy1DF77_Startup at STARTUP { LANG: Fortran } "Register WaveToy1DF77 banner" schedule WaveToy1DF77_RegisterCoords at WRAGH { LANG: Fortran } "Register WaveToy1DF77 coordinates" schedule WaveToy1DF77_Coord as Spat...
Coord.F77
/*@@ @file Coord.F77 @date June 13 2000 @author Gabrielle Allen @desc Coordinates for the 1d wave equation solver @enddesc @@*/ #include "cctk.h" #include "cctk_Parameters.h" #include "cctk_Arguments.h" #include "cctk_Functions.h" /*@@ @routine WaveToy1DF77_Reg...
CactusExamples/WaveToy1DF77
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn WaveToy1DF77 # $Header$ REQUIRES Boundary
# Interface definition for thorn WaveToy1DF77 # $Header$ implements: wavetoy1d inherits: boundary private: cctk_real evolve1d dim=1 type=GF Timelevels=3 { phi } "The evolved scalar field" cctk_real initial dim=1 type=GF { timederiv } "For initial data" cctk_real dummy dim=1 type=GF { phi_temp } "Just for cr...
# Parameter definitions for thorn WaveToy1DF77 # $Header$ private: # Initial data real amplitude "Amplitude of initial Gaussian wave" { 0:* :: "" } 1.0 real center "x-position of center of Gaussian wave" { *:* :: "Anywhere" } 0.5 real sigma "Width of Gaussian wave" { *:* :: "Anything" } 0.02 # Boundary ke...
# Schedule definitions for thorn WaveToy1DF77 # $Header$ STORAGE: evolve1d[3],coords1d schedule WaveToy1DF77_Startup at STARTUP { LANG: Fortran } "Register WaveToy1DF77 banner" schedule WaveToy1DF77_RegisterCoords at WRAGH { LANG: Fortran } "Register WaveToy1DF77 coordinates" schedule WaveToy1DF77_Coord as Spat...
make.code.defn
# Main make.code.defn file for thorn WaveToy1DF77 # $Header$ # Source files in this directory SRCS = Evolve.F77\ Startup.F77\ Initial.F77\ Coord.F77\ Boundary.F77 # Subdirectories containing source files SUBDIRS =
CactusExamples/WaveToy1DF77
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn WaveToy1DF77 # $Header$ REQUIRES Boundary
# Interface definition for thorn WaveToy1DF77 # $Header$ implements: wavetoy1d inherits: boundary private: cctk_real evolve1d dim=1 type=GF Timelevels=3 { phi } "The evolved scalar field" cctk_real initial dim=1 type=GF { timederiv } "For initial data" cctk_real dummy dim=1 type=GF { phi_temp } "Just for cr...
# Parameter definitions for thorn WaveToy1DF77 # $Header$ private: # Initial data real amplitude "Amplitude of initial Gaussian wave" { 0:* :: "" } 1.0 real center "x-position of center of Gaussian wave" { *:* :: "Anywhere" } 0.5 real sigma "Width of Gaussian wave" { *:* :: "Anything" } 0.02 # Boundary ke...
# Schedule definitions for thorn WaveToy1DF77 # $Header$ STORAGE: evolve1d[3],coords1d schedule WaveToy1DF77_Startup at STARTUP { LANG: Fortran } "Register WaveToy1DF77 banner" schedule WaveToy1DF77_RegisterCoords at WRAGH { LANG: Fortran } "Register WaveToy1DF77 coordinates" schedule WaveToy1DF77_Coord as Spat...
Boundary.F77
/*@@ @file Boundary.F77 @date July 15th 2000 @author Gabrielle Allen @desc Apply boundary conditions for 1D Wave Equation @enddesc @@*/ #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Functions.h" #include "cctk_Parameters.h" subroutine WaveToy1DF77_Boundary(CCTK_...
CactusExamples/WaveToy2DF77
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn WaveToy2DF77 # $Header$ REQUIRES Boundary
# Interface definition for thorn WaveToy2DF77 # $Header$ implements: wavetoy2d inherits: boundary private: cctk_real evolve2d dim=2 type=GF Timelevels=3 { phi } "The evolved scalar field" cctk_real initial dim=2 type=GF { timederiv } "For initial data" cctk_real coords2d dim=2 type=GF { x, y } "The 2D x a...
# Parameter definitions for thorn WaveToy2DF77 # $Header$ private: # Initial data real amplitude "Amplitude of initial Gaussian wave" { 0:* :: "" } 1.0 real xcenter "x-position of center of Gaussian wave" { *:* :: "Anywhere" } 0.5 real ycenter "y-position of center of Gaussian wave" { *:* :: "Anywhere" } 0.5...
# Schedule definitions for thorn WaveToy2DF77 # $Header$ STORAGE: evolve2d[3],coords2d schedule WaveToy2DF77_Startup at STARTUP { LANG: Fortran } "Register WaveToy2DF77 banner" schedule WaveToy2DF77_RegisterCoords at WRAGH { LANG: Fortran } "Register WaveToy2DF77 coordinates" schedule WaveToy2DF77_Coord as Spat...
Evolve.F77
/*@@ @file Evolve.F77 @date July 2 2000 @author Gabrielle Allen @desc Evolution routines for the 2d wave equation solver @enddesc @@*/ #include "cctk.h" #include "cctk_Arguments.h" /*@@ @routine WaveToy2DF77_Evolve @date July 2 2000 @author Gabr...
CactusExamples/WaveToy2DF77
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn WaveToy2DF77 # $Header$ REQUIRES Boundary
# Interface definition for thorn WaveToy2DF77 # $Header$ implements: wavetoy2d inherits: boundary private: cctk_real evolve2d dim=2 type=GF Timelevels=3 { phi } "The evolved scalar field" cctk_real initial dim=2 type=GF { timederiv } "For initial data" cctk_real coords2d dim=2 type=GF { x, y } "The 2D x a...
# Parameter definitions for thorn WaveToy2DF77 # $Header$ private: # Initial data real amplitude "Amplitude of initial Gaussian wave" { 0:* :: "" } 1.0 real xcenter "x-position of center of Gaussian wave" { *:* :: "Anywhere" } 0.5 real ycenter "y-position of center of Gaussian wave" { *:* :: "Anywhere" } 0.5...
# Schedule definitions for thorn WaveToy2DF77 # $Header$ STORAGE: evolve2d[3],coords2d schedule WaveToy2DF77_Startup at STARTUP { LANG: Fortran } "Register WaveToy2DF77 banner" schedule WaveToy2DF77_RegisterCoords at WRAGH { LANG: Fortran } "Register WaveToy2DF77 coordinates" schedule WaveToy2DF77_Coord as Spat...
Startup.F77
/*@@ @file Startup.F77 @date July 2 2000 @author Gabrielle Allen @desc Register banner for WaveToy2DF77 @enddesc @version $Header$ @@*/ #include "cctk.h" integer function WaveToy2DF77_Startup() implicit none integer ierr call CCTK_Register...
CactusExamples/WaveToy2DF77
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn WaveToy2DF77 # $Header$ REQUIRES Boundary
# Interface definition for thorn WaveToy2DF77 # $Header$ implements: wavetoy2d inherits: boundary private: cctk_real evolve2d dim=2 type=GF Timelevels=3 { phi } "The evolved scalar field" cctk_real initial dim=2 type=GF { timederiv } "For initial data" cctk_real coords2d dim=2 type=GF { x, y } "The 2D x a...
# Parameter definitions for thorn WaveToy2DF77 # $Header$ private: # Initial data real amplitude "Amplitude of initial Gaussian wave" { 0:* :: "" } 1.0 real xcenter "x-position of center of Gaussian wave" { *:* :: "Anywhere" } 0.5 real ycenter "y-position of center of Gaussian wave" { *:* :: "Anywhere" } 0.5...
# Schedule definitions for thorn WaveToy2DF77 # $Header$ STORAGE: evolve2d[3],coords2d schedule WaveToy2DF77_Startup at STARTUP { LANG: Fortran } "Register WaveToy2DF77 banner" schedule WaveToy2DF77_RegisterCoords at WRAGH { LANG: Fortran } "Register WaveToy2DF77 coordinates" schedule WaveToy2DF77_Coord as Spat...
Initial.F77
/*@@ @file Initial.F77 @date June 13 2000 @author Gabrielle Allen @desc Initial data for the 2d wave equation solver @enddesc @@*/ #include "cctk.h" #include "cctk_Parameters.h" #include "cctk_Arguments.h" /*@@ @routine WaveToy2DF77_Initial @date June ...
CactusExamples/WaveToy2DF77
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn WaveToy2DF77 # $Header$ REQUIRES Boundary
# Interface definition for thorn WaveToy2DF77 # $Header$ implements: wavetoy2d inherits: boundary private: cctk_real evolve2d dim=2 type=GF Timelevels=3 { phi } "The evolved scalar field" cctk_real initial dim=2 type=GF { timederiv } "For initial data" cctk_real coords2d dim=2 type=GF { x, y } "The 2D x a...
# Parameter definitions for thorn WaveToy2DF77 # $Header$ private: # Initial data real amplitude "Amplitude of initial Gaussian wave" { 0:* :: "" } 1.0 real xcenter "x-position of center of Gaussian wave" { *:* :: "Anywhere" } 0.5 real ycenter "y-position of center of Gaussian wave" { *:* :: "Anywhere" } 0.5...
# Schedule definitions for thorn WaveToy2DF77 # $Header$ STORAGE: evolve2d[3],coords2d schedule WaveToy2DF77_Startup at STARTUP { LANG: Fortran } "Register WaveToy2DF77 banner" schedule WaveToy2DF77_RegisterCoords at WRAGH { LANG: Fortran } "Register WaveToy2DF77 coordinates" schedule WaveToy2DF77_Coord as Spat...
Coord.F77
/*@@ @file Coord.F77 @date July 2 2000 @author Gabrielle Allen @desc Coordinates for the 2d wave equation solver @enddesc @@*/ #include "cctk.h" #include "cctk_Parameters.h" #include "cctk_Arguments.h" #include "cctk_Functions.h" /*@@ @routine WaveToy2DF77_Regi...
CactusExamples/WaveToy2DF77
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn WaveToy2DF77 # $Header$ REQUIRES Boundary
# Interface definition for thorn WaveToy2DF77 # $Header$ implements: wavetoy2d inherits: boundary private: cctk_real evolve2d dim=2 type=GF Timelevels=3 { phi } "The evolved scalar field" cctk_real initial dim=2 type=GF { timederiv } "For initial data" cctk_real coords2d dim=2 type=GF { x, y } "The 2D x a...
# Parameter definitions for thorn WaveToy2DF77 # $Header$ private: # Initial data real amplitude "Amplitude of initial Gaussian wave" { 0:* :: "" } 1.0 real xcenter "x-position of center of Gaussian wave" { *:* :: "Anywhere" } 0.5 real ycenter "y-position of center of Gaussian wave" { *:* :: "Anywhere" } 0.5...
# Schedule definitions for thorn WaveToy2DF77 # $Header$ STORAGE: evolve2d[3],coords2d schedule WaveToy2DF77_Startup at STARTUP { LANG: Fortran } "Register WaveToy2DF77 banner" schedule WaveToy2DF77_RegisterCoords at WRAGH { LANG: Fortran } "Register WaveToy2DF77 coordinates" schedule WaveToy2DF77_Coord as Spat...
make.code.defn
# Main make.code.defn file for thorn WaveToy2DF77 # $Header$ # Source files in this directory SRCS = Evolve.F77\ Startup.F77\ Initial.F77\ Coord.F77\ Boundary.F77 # Subdirectories containing source files SUBDIRS =
CactusExamples/WaveToy2DF77
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn WaveToy2DF77 # $Header$ REQUIRES Boundary
# Interface definition for thorn WaveToy2DF77 # $Header$ implements: wavetoy2d inherits: boundary private: cctk_real evolve2d dim=2 type=GF Timelevels=3 { phi } "The evolved scalar field" cctk_real initial dim=2 type=GF { timederiv } "For initial data" cctk_real coords2d dim=2 type=GF { x, y } "The 2D x a...
# Parameter definitions for thorn WaveToy2DF77 # $Header$ private: # Initial data real amplitude "Amplitude of initial Gaussian wave" { 0:* :: "" } 1.0 real xcenter "x-position of center of Gaussian wave" { *:* :: "Anywhere" } 0.5 real ycenter "y-position of center of Gaussian wave" { *:* :: "Anywhere" } 0.5...
# Schedule definitions for thorn WaveToy2DF77 # $Header$ STORAGE: evolve2d[3],coords2d schedule WaveToy2DF77_Startup at STARTUP { LANG: Fortran } "Register WaveToy2DF77 banner" schedule WaveToy2DF77_RegisterCoords at WRAGH { LANG: Fortran } "Register WaveToy2DF77 coordinates" schedule WaveToy2DF77_Coord as Spat...
Boundary.F77
#include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Functions.h" #include "cctk_Parameters.h" subroutine WaveToy2DF77_Boundary(CCTK_ARGUMENTS) implicit none DECLARE_CCTK_ARGUMENTS DECLARE_CCTK_PARAMETERS DECLARE_CCTK_FUNCTIONS integer ierr integer sw(2) CCTK_...
CactusIO/IOJpeg
https://bitbucket.org/cactuscode/cactusio.git
# Configuration definitions for thorn IOJpeg REQUIRES libjpeg
# Interface definition for thorn IOJpeg # $Header$ implements: IOJpeg inherits: IO CCTK_INT FUNCTION \ Hyperslab_Get (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle, \ CCTK_INT IN proc, \ CCTK_INT IN vindex, \ CCTK_INT IN timelevel...
# Parameter definitions for thorn IOJpeg # $Header$ ############################################################################# ### declare IOJpeg parameters ############################################################################# private: ######################## # The basic parameters: # how often to do outp...
# Schedule definitions for thorn IOJpeg # $Header$ ######################################################################## ### register IOJpeg routines ######################################################################## schedule IOJpeg_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" sched...
JPEG.c
#include "cctk.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "ioJpegGH.h" #include "jconfig.h" #include "jpeglib.h" static const char *rcsid = "$Header$"; CCTK_FILEVERSION(CactusIO_IOJpeg_JPEG_c) typedef struct jpeg_compress_struct JpgComp; #ifndef JpgErr typedef struc...
CactusIO/IOJpeg
https://bitbucket.org/cactuscode/cactusio.git
# Configuration definitions for thorn IOJpeg REQUIRES libjpeg
# Interface definition for thorn IOJpeg # $Header$ implements: IOJpeg inherits: IO CCTK_INT FUNCTION \ Hyperslab_Get (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle, \ CCTK_INT IN proc, \ CCTK_INT IN vindex, \ CCTK_INT IN timelevel...
# Parameter definitions for thorn IOJpeg # $Header$ ############################################################################# ### declare IOJpeg parameters ############################################################################# private: ######################## # The basic parameters: # how often to do outp...
# Schedule definitions for thorn IOJpeg # $Header$ ######################################################################## ### register IOJpeg routines ######################################################################## schedule IOJpeg_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" sched...
ioJpegGH.h
/*@@ @header ioJpegGH.h @date Thu 18 April 2002 @author Thomas Radke @desc The extensions to the GH structure from IOJpeg. @enddesc @version $Header$ @@*/ #ifndef IOJPEG_IOJPEGGH_H_ #define IOJPEG_IOJPEGGH_H_ 1 #include <stdio.h> #ifdef __cplusplus extern "C" { #endif ...
CactusIO/IOJpeg
https://bitbucket.org/cactuscode/cactusio.git
# Configuration definitions for thorn IOJpeg REQUIRES libjpeg
# Interface definition for thorn IOJpeg # $Header$ implements: IOJpeg inherits: IO CCTK_INT FUNCTION \ Hyperslab_Get (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle, \ CCTK_INT IN proc, \ CCTK_INT IN vindex, \ CCTK_INT IN timelevel...
# Parameter definitions for thorn IOJpeg # $Header$ ############################################################################# ### declare IOJpeg parameters ############################################################################# private: ######################## # The basic parameters: # how often to do outp...
# Schedule definitions for thorn IOJpeg # $Header$ ######################################################################## ### register IOJpeg routines ######################################################################## schedule IOJpeg_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" sched...
make.code.defn
# Main make.code.defn file for thorn IOJpeg # $Header$ # Source files in this directory SRCS = Startup.c Output.c Write.c ChooseOutput.c JPEG.c
CactusIO/IOJpeg
https://bitbucket.org/cactuscode/cactusio.git
# Configuration definitions for thorn IOJpeg REQUIRES libjpeg
# Interface definition for thorn IOJpeg # $Header$ implements: IOJpeg inherits: IO CCTK_INT FUNCTION \ Hyperslab_Get (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle, \ CCTK_INT IN proc, \ CCTK_INT IN vindex, \ CCTK_INT IN timelevel...
# Parameter definitions for thorn IOJpeg # $Header$ ############################################################################# ### declare IOJpeg parameters ############################################################################# private: ######################## # The basic parameters: # how often to do outp...
# Schedule definitions for thorn IOJpeg # $Header$ ######################################################################## ### register IOJpeg routines ######################################################################## schedule IOJpeg_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" sched...
Write.c
/*@@ @file Write.c @date Thu 18 April 2002 @author Thomas Radke @desc Output two-dimensional slices in Jpeg image format. @enddesc @version $Id$ @@*/ #include <assert.h> #include <limits.h> #include <math.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #in...
CactusIO/IOJpeg
https://bitbucket.org/cactuscode/cactusio.git
# Configuration definitions for thorn IOJpeg REQUIRES libjpeg
# Interface definition for thorn IOJpeg # $Header$ implements: IOJpeg inherits: IO CCTK_INT FUNCTION \ Hyperslab_Get (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle, \ CCTK_INT IN proc, \ CCTK_INT IN vindex, \ CCTK_INT IN timelevel...
# Parameter definitions for thorn IOJpeg # $Header$ ############################################################################# ### declare IOJpeg parameters ############################################################################# private: ######################## # The basic parameters: # how often to do outp...
# Schedule definitions for thorn IOJpeg # $Header$ ######################################################################## ### register IOJpeg routines ######################################################################## schedule IOJpeg_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" sched...
Output.c
/*@@ @file Output.c @date Thu May 11 2000 @author Thomas Radke @desc Functions to deal with Jpeg output of variables. @enddesc @version $Id$ @@*/ #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_Parameters.h" #include "util_String.h" #include "C...
CactusIO/IOJpeg
https://bitbucket.org/cactuscode/cactusio.git
# Configuration definitions for thorn IOJpeg REQUIRES libjpeg
# Interface definition for thorn IOJpeg # $Header$ implements: IOJpeg inherits: IO CCTK_INT FUNCTION \ Hyperslab_Get (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle, \ CCTK_INT IN proc, \ CCTK_INT IN vindex, \ CCTK_INT IN timelevel...
# Parameter definitions for thorn IOJpeg # $Header$ ############################################################################# ### declare IOJpeg parameters ############################################################################# private: ######################## # The basic parameters: # how often to do outp...
# Schedule definitions for thorn IOJpeg # $Header$ ######################################################################## ### register IOJpeg routines ######################################################################## schedule IOJpeg_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" sched...
Startup.c
/*@@ @file Startup.c @date Thu 18 April 2002 @author Thomas Radke @desc Startup routines for IOJpeg. @enddesc @version $Id$ @@*/ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_IOMethods.h" #include "cctk_Parameters.h" #incl...
CactusIO/IOJpeg
https://bitbucket.org/cactuscode/cactusio.git
# Configuration definitions for thorn IOJpeg REQUIRES libjpeg
# Interface definition for thorn IOJpeg # $Header$ implements: IOJpeg inherits: IO CCTK_INT FUNCTION \ Hyperslab_Get (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN mapping_handle, \ CCTK_INT IN proc, \ CCTK_INT IN vindex, \ CCTK_INT IN timelevel...
# Parameter definitions for thorn IOJpeg # $Header$ ############################################################################# ### declare IOJpeg parameters ############################################################################# private: ######################## # The basic parameters: # how often to do outp...
# Schedule definitions for thorn IOJpeg # $Header$ ######################################################################## ### register IOJpeg routines ######################################################################## schedule IOJpeg_Startup at STARTUP after IOUtil_Startup { LANG:C } "Startup routine" sched...
ChooseOutput.c
/*@@ @file ChooseOutput.c @date Thu 18 April 2002 @author Thomas Radke @desc Choose what 2D planes to output by IOJpeg. @enddesc @version $Id$ @@*/ #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include "Cac...
CactusNumerical/Cartoon2D
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Cartoon2D # $Header$ REQUIRES SpaceMask
# Interface definition for thorn Cartoon2D # $Header$ implements: cartoon2d INCLUDES HEADER: Cartoon2D_tensors.h in Cartoon2D_tensors.h INCLUDES HEADER: Cartoon2D.h in Cartoon2D.h USES INCLUDE: SpaceMask.h # Function aliases: CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRe...
# Parameter definitions for thorn Cartoon2D # $Header$ private: BOOLEAN cartoon_active "Activate cartoon boundary condition" { } "no" BOOLEAN verbose "Verbose information" { } "no" BOOLEAN stencil "Use custom 2D stencil if available" { } "yes" INT order "Cartoon's interpolation order" { 1:5 :: "From linear to fi...
# Schedule definitions for thorn Cartoon2D # $Header$ if (cartoon_active) { STORAGE: excision_variables schedule Cartoon2D_CheckTensorTypes at CCTK_PARAMCHECK { LANG: C OPTIONS: meta } "Check tensor type definitions for consistency" schedule Cartoon2D_InitExcisionVars at CCTK_BASEGRID { LANG:...
SymInterp.c
/* $Header$ */ #include <assert.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_Arguments.h" #include "util_ErrorCodes.h" #include "util_Table.h" #include "Cartoon2D.h" /* * NOTE: * * The contents of this file have been largely copied from the th...
CactusNumerical/Cartoon2D
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Cartoon2D # $Header$ REQUIRES SpaceMask
# Interface definition for thorn Cartoon2D # $Header$ implements: cartoon2d INCLUDES HEADER: Cartoon2D_tensors.h in Cartoon2D_tensors.h INCLUDES HEADER: Cartoon2D.h in Cartoon2D.h USES INCLUDE: SpaceMask.h # Function aliases: CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRe...
# Parameter definitions for thorn Cartoon2D # $Header$ private: BOOLEAN cartoon_active "Activate cartoon boundary condition" { } "no" BOOLEAN verbose "Verbose information" { } "no" BOOLEAN stencil "Use custom 2D stencil if available" { } "yes" INT order "Cartoon's interpolation order" { 1:5 :: "From linear to fi...
# Schedule definitions for thorn Cartoon2D # $Header$ if (cartoon_active) { STORAGE: excision_variables schedule Cartoon2D_CheckTensorTypes at CCTK_PARAMCHECK { LANG: C OPTIONS: meta } "Check tensor type definitions for consistency" schedule Cartoon2D_InitExcisionVars at CCTK_BASEGRID { LANG:...
Cartoon2D.h
/* $Header$ */ #include "cctk.h" /* Function prototypes */ #ifdef __cplusplus extern "C" { #endif int BndCartoon2DVI(const cGH *GH, int tensortype, int prolongtype, int vi); CCTK_INT Cartoon2D_SymmetryInterpolate (CCTK_POINTER_TO_CONST const cctkGH_, CCTK_INT const N_dims, ...
CactusNumerical/Cartoon2D
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Cartoon2D # $Header$ REQUIRES SpaceMask
# Interface definition for thorn Cartoon2D # $Header$ implements: cartoon2d INCLUDES HEADER: Cartoon2D_tensors.h in Cartoon2D_tensors.h INCLUDES HEADER: Cartoon2D.h in Cartoon2D.h USES INCLUDE: SpaceMask.h # Function aliases: CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRe...
# Parameter definitions for thorn Cartoon2D # $Header$ private: BOOLEAN cartoon_active "Activate cartoon boundary condition" { } "no" BOOLEAN verbose "Verbose information" { } "no" BOOLEAN stencil "Use custom 2D stencil if available" { } "yes" INT order "Cartoon's interpolation order" { 1:5 :: "From linear to fi...
# Schedule definitions for thorn Cartoon2D # $Header$ if (cartoon_active) { STORAGE: excision_variables schedule Cartoon2D_CheckTensorTypes at CCTK_PARAMCHECK { LANG: C OPTIONS: meta } "Check tensor type definitions for consistency" schedule Cartoon2D_InitExcisionVars at CCTK_BASEGRID { LANG:...
interpolate.c
/* interpolate.c -- interpolation functions */ /* $Header$ */ /* * interpolate_local - ... (local) * interpolate_local_order1 - ... (order 1) (linear) (2-point) * interpolate_local_order2 - ... (order 2) (3-point) * interpolate_local_order3 - ... (order 3) (4-point) * interpolate_local_order4 - ... (order 4) (5-p...
CactusNumerical/Cartoon2D
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Cartoon2D # $Header$ REQUIRES SpaceMask
# Interface definition for thorn Cartoon2D # $Header$ implements: cartoon2d INCLUDES HEADER: Cartoon2D_tensors.h in Cartoon2D_tensors.h INCLUDES HEADER: Cartoon2D.h in Cartoon2D.h USES INCLUDE: SpaceMask.h # Function aliases: CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRe...
# Parameter definitions for thorn Cartoon2D # $Header$ private: BOOLEAN cartoon_active "Activate cartoon boundary condition" { } "no" BOOLEAN verbose "Verbose information" { } "no" BOOLEAN stencil "Use custom 2D stencil if available" { } "yes" INT order "Cartoon's interpolation order" { 1:5 :: "From linear to fi...
# Schedule definitions for thorn Cartoon2D # $Header$ if (cartoon_active) { STORAGE: excision_variables schedule Cartoon2D_CheckTensorTypes at CCTK_PARAMCHECK { LANG: C OPTIONS: meta } "Check tensor type definitions for consistency" schedule Cartoon2D_InitExcisionVars at CCTK_BASEGRID { LANG:...
Cartoon2DBC.c
/*@@ @file Cartoon2DBC.c @date Thu Nov 4 13:35:00 MET 1999 @author Sai Iyer @desc Apply Cartoon2D boundary conditions An implementation of Steve Brandt's idea for doing axisymmetry with 3d stencils. Cactus 4 version of Bernd Bruegmann's ...
CactusNumerical/Cartoon2D
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Cartoon2D # $Header$ REQUIRES SpaceMask
# Interface definition for thorn Cartoon2D # $Header$ implements: cartoon2d INCLUDES HEADER: Cartoon2D_tensors.h in Cartoon2D_tensors.h INCLUDES HEADER: Cartoon2D.h in Cartoon2D.h USES INCLUDE: SpaceMask.h # Function aliases: CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRe...
# Parameter definitions for thorn Cartoon2D # $Header$ private: BOOLEAN cartoon_active "Activate cartoon boundary condition" { } "no" BOOLEAN verbose "Verbose information" { } "no" BOOLEAN stencil "Use custom 2D stencil if available" { } "yes" INT order "Cartoon's interpolation order" { 1:5 :: "From linear to fi...
# Schedule definitions for thorn Cartoon2D # $Header$ if (cartoon_active) { STORAGE: excision_variables schedule Cartoon2D_CheckTensorTypes at CCTK_PARAMCHECK { LANG: C OPTIONS: meta } "Check tensor type definitions for consistency" schedule Cartoon2D_InitExcisionVars at CCTK_BASEGRID { LANG:...
SetGrid.c
/*@@ @file SetGrid.c @date April 2002 @author Denis Pollney @desc Reset the grid sizes before they are set by CartGrid3D, so that they have sensible cartoon-compatible values. @enddesc @version $Id$ @@*/ #include <stdio.h> #include <string.h> #include "cct...
CactusNumerical/Cartoon2D
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Cartoon2D # $Header$ REQUIRES SpaceMask
# Interface definition for thorn Cartoon2D # $Header$ implements: cartoon2d INCLUDES HEADER: Cartoon2D_tensors.h in Cartoon2D_tensors.h INCLUDES HEADER: Cartoon2D.h in Cartoon2D.h USES INCLUDE: SpaceMask.h # Function aliases: CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRe...
# Parameter definitions for thorn Cartoon2D # $Header$ private: BOOLEAN cartoon_active "Activate cartoon boundary condition" { } "no" BOOLEAN verbose "Verbose information" { } "no" BOOLEAN stencil "Use custom 2D stencil if available" { } "yes" INT order "Cartoon's interpolation order" { 1:5 :: "From linear to fi...
# Schedule definitions for thorn Cartoon2D # $Header$ if (cartoon_active) { STORAGE: excision_variables schedule Cartoon2D_CheckTensorTypes at CCTK_PARAMCHECK { LANG: C OPTIONS: meta } "Check tensor type definitions for consistency" schedule Cartoon2D_InitExcisionVars at CCTK_BASEGRID { LANG:...
make.code.defn
# Main make.code.defn file for thorn Cartoon2D # $Header$ # Source files in this directory SRCS = ApplyCartoon.c CheckParameters.c Cartoon2DBC.c interpolate.c RegisterSym.c SymInterp.c SetGrid.c # Subdirectories containing source files SUBDIRS =
CactusNumerical/Cartoon2D
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Cartoon2D # $Header$ REQUIRES SpaceMask
# Interface definition for thorn Cartoon2D # $Header$ implements: cartoon2d INCLUDES HEADER: Cartoon2D_tensors.h in Cartoon2D_tensors.h INCLUDES HEADER: Cartoon2D.h in Cartoon2D.h USES INCLUDE: SpaceMask.h # Function aliases: CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRe...
# Parameter definitions for thorn Cartoon2D # $Header$ private: BOOLEAN cartoon_active "Activate cartoon boundary condition" { } "no" BOOLEAN verbose "Verbose information" { } "no" BOOLEAN stencil "Use custom 2D stencil if available" { } "yes" INT order "Cartoon's interpolation order" { 1:5 :: "From linear to fi...
# Schedule definitions for thorn Cartoon2D # $Header$ if (cartoon_active) { STORAGE: excision_variables schedule Cartoon2D_CheckTensorTypes at CCTK_PARAMCHECK { LANG: C OPTIONS: meta } "Check tensor type definitions for consistency" schedule Cartoon2D_InitExcisionVars at CCTK_BASEGRID { LANG:...
CheckParameters.c
/*@@ @file CheckParameters.c @date Wed Nov 3 10:17:46 MET 1999 @author Sai Iyer @desc Check Cartoon2D parameters @enddesc @@*/ #include "cctk.h" #include "cctk_Parameters.h" #include "cctk_Arguments.h" static const char *rcsid = "$Id$"; CCTK_FILEVERSION(Development_Cart...
CactusNumerical/Cartoon2D
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Cartoon2D # $Header$ REQUIRES SpaceMask
# Interface definition for thorn Cartoon2D # $Header$ implements: cartoon2d INCLUDES HEADER: Cartoon2D_tensors.h in Cartoon2D_tensors.h INCLUDES HEADER: Cartoon2D.h in Cartoon2D.h USES INCLUDE: SpaceMask.h # Function aliases: CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRe...
# Parameter definitions for thorn Cartoon2D # $Header$ private: BOOLEAN cartoon_active "Activate cartoon boundary condition" { } "no" BOOLEAN verbose "Verbose information" { } "no" BOOLEAN stencil "Use custom 2D stencil if available" { } "yes" INT order "Cartoon's interpolation order" { 1:5 :: "From linear to fi...
# Schedule definitions for thorn Cartoon2D # $Header$ if (cartoon_active) { STORAGE: excision_variables schedule Cartoon2D_CheckTensorTypes at CCTK_PARAMCHECK { LANG: C OPTIONS: meta } "Check tensor type definitions for consistency" schedule Cartoon2D_InitExcisionVars at CCTK_BASEGRID { LANG:...
ApplyCartoon.c
/*@@ @file ApplyCartoon.c @date 6 Jan 2003 @author David Rideout @desc Applies the Cartoon boundary condition to all variables selected for a bc. @enddesc @version $Header$ @@*/ #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include "util_Table.h" #inclu...
CactusNumerical/Cartoon2D
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Cartoon2D # $Header$ REQUIRES SpaceMask
# Interface definition for thorn Cartoon2D # $Header$ implements: cartoon2d INCLUDES HEADER: Cartoon2D_tensors.h in Cartoon2D_tensors.h INCLUDES HEADER: Cartoon2D.h in Cartoon2D.h USES INCLUDE: SpaceMask.h # Function aliases: CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRe...
# Parameter definitions for thorn Cartoon2D # $Header$ private: BOOLEAN cartoon_active "Activate cartoon boundary condition" { } "no" BOOLEAN verbose "Verbose information" { } "no" BOOLEAN stencil "Use custom 2D stencil if available" { } "yes" INT order "Cartoon's interpolation order" { 1:5 :: "From linear to fi...
# Schedule definitions for thorn Cartoon2D # $Header$ if (cartoon_active) { STORAGE: excision_variables schedule Cartoon2D_CheckTensorTypes at CCTK_PARAMCHECK { LANG: C OPTIONS: meta } "Check tensor type definitions for consistency" schedule Cartoon2D_InitExcisionVars at CCTK_BASEGRID { LANG:...
Cartoon2D_tensors.h
/* Number of tensor types defined */ #define N_TENSORTYPES 3 /* Tensor types */ #define TENSORTYPE_SCALAR 0 #define TENSORTYPE_U 1 #define TENSORTYPE_DDSYM 2 /* Prolongation methods */ #define PROLONG_LAGRANGE 1 #define PROLONG_ENO 2 #define PROLONG_NONE 3
CactusNumerical/Cartoon2D
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Cartoon2D # $Header$ REQUIRES SpaceMask
# Interface definition for thorn Cartoon2D # $Header$ implements: cartoon2d INCLUDES HEADER: Cartoon2D_tensors.h in Cartoon2D_tensors.h INCLUDES HEADER: Cartoon2D.h in Cartoon2D.h USES INCLUDE: SpaceMask.h # Function aliases: CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRe...
# Parameter definitions for thorn Cartoon2D # $Header$ private: BOOLEAN cartoon_active "Activate cartoon boundary condition" { } "no" BOOLEAN verbose "Verbose information" { } "no" BOOLEAN stencil "Use custom 2D stencil if available" { } "yes" INT order "Cartoon's interpolation order" { 1:5 :: "From linear to fi...
# Schedule definitions for thorn Cartoon2D # $Header$ if (cartoon_active) { STORAGE: excision_variables schedule Cartoon2D_CheckTensorTypes at CCTK_PARAMCHECK { LANG: C OPTIONS: meta } "Check tensor type definitions for consistency" schedule Cartoon2D_InitExcisionVars at CCTK_BASEGRID { LANG:...
RegisterSym.c
/*@@ @file RegisterSym.c @date February 2004 @author Erik Schnetter @desc Register the symmetry boundary faces. @enddesc @@*/ #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include "Cartoon2D.h" void Cartoon2D_RegisterSymmetries (CCTK_ARGUMEN...
CactusNumerical/Dissipation
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Dissipation # $Header$ REQUIRES THORNS: SphericalSurface
# Interface definition for thorn Dissipation # $Header$ IMPLEMENTS: Dissipation INHERITS: grid SphericalSurface SpaceMask CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex) REQUIRES FUNCTION MoLQueryEvolvedRHS CCTK_INT FUNCTION \ SymmetryTableHandleForGrid (CCTK_POINTER_TO_CONST IN cctkGH) USES FUN...
# Parameter definitions for thorn Dissipation # $Header$ restricted: BOOLEAN verbose "produce log output" STEERABLE=always { } "no" INT order "Dissipation order" STEERABLE=always { 1 :: "first order accurate dissipation (using a second derivative)" 3 :: "third order accurate dissipation (using a fourth derivativ...
# Schedule definitions for thorn Dissipation # $Header$ STORAGE: epsdisA_group SCHEDULE dissipation_paramcheck AT paramcheck { LANG: C } "Check dissipation parameters for consistency" SCHEDULE dissipation_basegrid AT basegrid { LANG: C } "Ensure that there are enough ghost zones" SCHEDULE setup_epsdis AT cctk_p...
paramcheck.c
/* $Header$ */ #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" void dissipation_paramcheck (CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; int i; int want_horizon; if (extra_dissipation_in_horizons) { want_horizon = 0; for (i=0; i<100; ++i) ...
CactusNumerical/Dissipation
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Dissipation # $Header$ REQUIRES THORNS: SphericalSurface
# Interface definition for thorn Dissipation # $Header$ IMPLEMENTS: Dissipation INHERITS: grid SphericalSurface SpaceMask CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex) REQUIRES FUNCTION MoLQueryEvolvedRHS CCTK_INT FUNCTION \ SymmetryTableHandleForGrid (CCTK_POINTER_TO_CONST IN cctkGH) USES FUN...
# Parameter definitions for thorn Dissipation # $Header$ restricted: BOOLEAN verbose "produce log output" STEERABLE=always { } "no" INT order "Dissipation order" STEERABLE=always { 1 :: "first order accurate dissipation (using a second derivative)" 3 :: "third order accurate dissipation (using a fourth derivativ...
# Schedule definitions for thorn Dissipation # $Header$ STORAGE: epsdisA_group SCHEDULE dissipation_paramcheck AT paramcheck { LANG: C } "Check dissipation parameters for consistency" SCHEDULE dissipation_basegrid AT basegrid { LANG: C } "Ensure that there are enough ghost zones" SCHEDULE setup_epsdis AT cctk_p...
basegrid.c
/* $Header$ */ #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" void dissipation_basegrid (CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; int d; if (cctk_dim != 3) { CCTK_WARN (0, "This thorn supports only dim=3"); } for (d=0; d<cctk_dim; ++d) { ...
CactusNumerical/Dissipation
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Dissipation # $Header$ REQUIRES THORNS: SphericalSurface
# Interface definition for thorn Dissipation # $Header$ IMPLEMENTS: Dissipation INHERITS: grid SphericalSurface SpaceMask CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex) REQUIRES FUNCTION MoLQueryEvolvedRHS CCTK_INT FUNCTION \ SymmetryTableHandleForGrid (CCTK_POINTER_TO_CONST IN cctkGH) USES FUN...
# Parameter definitions for thorn Dissipation # $Header$ restricted: BOOLEAN verbose "produce log output" STEERABLE=always { } "no" INT order "Dissipation order" STEERABLE=always { 1 :: "first order accurate dissipation (using a second derivative)" 3 :: "third order accurate dissipation (using a fourth derivativ...
# Schedule definitions for thorn Dissipation # $Header$ STORAGE: epsdisA_group SCHEDULE dissipation_paramcheck AT paramcheck { LANG: C } "Check dissipation parameters for consistency" SCHEDULE dissipation_basegrid AT basegrid { LANG: C } "Ensure that there are enough ghost zones" SCHEDULE setup_epsdis AT cctk_p...
apply_dissipation.F77
c $Header$ #include "cctk.h" subroutine apply_dissipation (var, rhs, ni, nj, nk, dx, order, epsdis) implicit none integer ni, nj, nk CCTK_REAL var(ni,nj,nk), rhs(ni,nj,nk) CCTK_REAL dx(3), idx(3) CCTK_INT order CCTK_REAL epsdis(ni,nj,nk) integer i...
CactusNumerical/Dissipation
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Dissipation # $Header$ REQUIRES THORNS: SphericalSurface
# Interface definition for thorn Dissipation # $Header$ IMPLEMENTS: Dissipation INHERITS: grid SphericalSurface SpaceMask CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex) REQUIRES FUNCTION MoLQueryEvolvedRHS CCTK_INT FUNCTION \ SymmetryTableHandleForGrid (CCTK_POINTER_TO_CONST IN cctkGH) USES FUN...
# Parameter definitions for thorn Dissipation # $Header$ restricted: BOOLEAN verbose "produce log output" STEERABLE=always { } "no" INT order "Dissipation order" STEERABLE=always { 1 :: "first order accurate dissipation (using a second derivative)" 3 :: "third order accurate dissipation (using a fourth derivativ...
# Schedule definitions for thorn Dissipation # $Header$ STORAGE: epsdisA_group SCHEDULE dissipation_paramcheck AT paramcheck { LANG: C } "Check dissipation parameters for consistency" SCHEDULE dissipation_basegrid AT basegrid { LANG: C } "Ensure that there are enough ghost zones" SCHEDULE setup_epsdis AT cctk_p...
make.code.defn
# Main make.code.defn file for thorn Dissipation # $Header$ # Source files in this directory SRCS = apply_dissipation.F77 basegrid.c dissipation.c paramcheck.c setup_epsdis.c # Subdirectories containing source files SUBDIRS =
CactusNumerical/Dissipation
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Dissipation # $Header$ REQUIRES THORNS: SphericalSurface
# Interface definition for thorn Dissipation # $Header$ IMPLEMENTS: Dissipation INHERITS: grid SphericalSurface SpaceMask CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex) REQUIRES FUNCTION MoLQueryEvolvedRHS CCTK_INT FUNCTION \ SymmetryTableHandleForGrid (CCTK_POINTER_TO_CONST IN cctkGH) USES FUN...
# Parameter definitions for thorn Dissipation # $Header$ restricted: BOOLEAN verbose "produce log output" STEERABLE=always { } "no" INT order "Dissipation order" STEERABLE=always { 1 :: "first order accurate dissipation (using a second derivative)" 3 :: "third order accurate dissipation (using a fourth derivativ...
# Schedule definitions for thorn Dissipation # $Header$ STORAGE: epsdisA_group SCHEDULE dissipation_paramcheck AT paramcheck { LANG: C } "Check dissipation parameters for consistency" SCHEDULE dissipation_basegrid AT basegrid { LANG: C } "Ensure that there are enough ghost zones" SCHEDULE setup_epsdis AT cctk_p...
dissipation.c
/* $Header$ */ #include <assert.h> #include <stdlib.h> #include <stdio.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" void CCTK_FCALL CCTK_FNAME(apply_dissipation) (CCTK_REAL const * const var, CCTK_REAL * const rhs, i...
CactusNumerical/Dissipation
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Dissipation # $Header$ REQUIRES THORNS: SphericalSurface
# Interface definition for thorn Dissipation # $Header$ IMPLEMENTS: Dissipation INHERITS: grid SphericalSurface SpaceMask CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex) REQUIRES FUNCTION MoLQueryEvolvedRHS CCTK_INT FUNCTION \ SymmetryTableHandleForGrid (CCTK_POINTER_TO_CONST IN cctkGH) USES FUN...
# Parameter definitions for thorn Dissipation # $Header$ restricted: BOOLEAN verbose "produce log output" STEERABLE=always { } "no" INT order "Dissipation order" STEERABLE=always { 1 :: "first order accurate dissipation (using a second derivative)" 3 :: "third order accurate dissipation (using a fourth derivativ...
# Schedule definitions for thorn Dissipation # $Header$ STORAGE: epsdisA_group SCHEDULE dissipation_paramcheck AT paramcheck { LANG: C } "Check dissipation parameters for consistency" SCHEDULE dissipation_basegrid AT basegrid { LANG: C } "Ensure that there are enough ghost zones" SCHEDULE setup_epsdis AT cctk_p...
setup_epsdis.c
/* $Header$ */ #include <assert.h> #include <math.h> #include <stdlib.h> #include <stdio.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include "cctk_Functions.h" #include "util_ErrorCodes.h" #include "util_Table.h" #define MAXDIM 3 #define REFLEVEL (ilogb(cctk_levfac[0])) void setu...
CactusNumerical/InterpToArray
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn InterpToArray IMPLEMENTS: InterpToArray CCTK_INT FUNCTION \ InterpGridArrays \ (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN N_dims, \ CCTK_INT...
# Parameter definitions for thorn InterpToArray RESTRICTED: # CCTK_InterpGridArrays parameters STRING interpolator_name "Name of the interpolator" STEERABLE=always { ".*" :: "must be a registered interpolator" } "Lagrange polynomial interpolation" STRING interpolator_options "Options for the interpolator" STEERAB...
# Schedule definitions for thorn InterpToArray SCHEDULE InterpToArray AT analysis { LANG: C OPTIONS: global STORAGE: scalars arrays1d arrays2d arrays3d parrays1d parrays2d parrays3d TRIGGERS: scalars arrays1d arrays2d arrays3d parrays1d parrays2d parrays3d } "Interpolate to grid arrays"
interp.c
#include <assert.h> #include <stdlib.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include "util_Table.h" void InterpToArray (CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; int interpolator = -1; if (!use_carpetinterp2) { interpolator = CCTK...
CactusNumerical/InterpToArray
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn InterpToArray IMPLEMENTS: InterpToArray CCTK_INT FUNCTION \ InterpGridArrays \ (CCTK_POINTER_TO_CONST IN cctkGH, \ CCTK_INT IN N_dims, \ CCTK_INT...
# Parameter definitions for thorn InterpToArray RESTRICTED: # CCTK_InterpGridArrays parameters STRING interpolator_name "Name of the interpolator" STEERABLE=always { ".*" :: "must be a registered interpolator" } "Lagrange polynomial interpolation" STRING interpolator_options "Options for the interpolator" STEERAB...
# Schedule definitions for thorn InterpToArray SCHEDULE InterpToArray AT analysis { LANG: C OPTIONS: global STORAGE: scalars arrays1d arrays2d arrays3d parrays1d parrays2d parrays3d TRIGGERS: scalars arrays1d arrays2d arrays3d parrays1d parrays2d parrays3d } "Interpolate to grid arrays"
make.code.defn
# Main make.code.defn file for thorn InterpToArray # Source files in this directory SRCS = interp.c # Subdirectories containing source files SUBDIRS =
CactusNumerical/LocalInterp
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalInterp # $Header$ implements: LocalInterp # this thorn doesn't define or use any Cactus grid variables
# Parameter definitions for thorn LocalInterp # $Header$ # there are no parameters for this thorn
# Schedule definitions for thorn LocalInterp # $Header$ Schedule LocalInterp_Startup at STARTUP after Driver_Startup { LANG:C } "register LocalInterp's interpolation operators"
Interpolate.c
/*@@ @file Interpolate.c @date Wed 17 Jan 2001 @author Thomas Radke @desc Interpolation of arrays to arbitrary points This interpolator is based on the Cactus 3.x Fortran version written by Paul Walker. It also contains some nice optimization fe...
CactusNumerical/LocalInterp
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalInterp # $Header$ implements: LocalInterp # this thorn doesn't define or use any Cactus grid variables
# Parameter definitions for thorn LocalInterp # $Header$ # there are no parameters for this thorn
# Schedule definitions for thorn LocalInterp # $Header$ Schedule LocalInterp_Startup at STARTUP after Driver_Startup { LANG:C } "register LocalInterp's interpolation operators"
README
This directory contains the interpolation functions registered for CCTK_InterpLocal() under the names "first-order uniform cartesian" "second-order uniform cartesian" "third-order uniform cartesian" and for CCTK_InterpLocalUniform() under the name "uniform cartesian" Implementation Notes ===========...
CactusNumerical/LocalInterp
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalInterp # $Header$ implements: LocalInterp # this thorn doesn't define or use any Cactus grid variables
# Parameter definitions for thorn LocalInterp # $Header$ # there are no parameters for this thorn
# Schedule definitions for thorn LocalInterp # $Header$ Schedule LocalInterp_Startup at STARTUP after Driver_Startup { LANG:C } "register LocalInterp's interpolation operators"
Interpolate.h
/*@@ @file Interpolate.h @date 22 Jan 2002 @author Jonathan Thornburg @desc function prototypes @enddesc @version $Header$ @history @date 22 Jan 2002 @author Jonathan Thornburg @hdesc created by editing down LocalInterp::pughInterpGH.h (originally dated 4...
CactusNumerical/LocalInterp
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalInterp # $Header$ implements: LocalInterp # this thorn doesn't define or use any Cactus grid variables
# Parameter definitions for thorn LocalInterp # $Header$ # there are no parameters for this thorn
# Schedule definitions for thorn LocalInterp # $Header$ Schedule LocalInterp_Startup at STARTUP after Driver_Startup { LANG:C } "register LocalInterp's interpolation operators"
make.code.defn
# Main make.code.defn file for thorn LocalInterp # $Header$ # Source files in this directory SRCS = Startup.c Operator.c Interpolate.c
CactusNumerical/LocalInterp
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalInterp # $Header$ implements: LocalInterp # this thorn doesn't define or use any Cactus grid variables
# Parameter definitions for thorn LocalInterp # $Header$ # there are no parameters for this thorn
# Schedule definitions for thorn LocalInterp # $Header$ Schedule LocalInterp_Startup at STARTUP after Driver_Startup { LANG:C } "register LocalInterp's interpolation operators"
Operator.c
/*@@ @file Operator.c @date Tue Apr 15 18:22:45 1997 @author Paul Walker @desc Definition of interpolation operators for regular uniform grids. @enddesc @history @date Sun Jul 04 1999 @author Thomas Radke @hdesc conversion to Cactus 4.0 (copied from pughGetPoints...
CactusNumerical/LocalInterp
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalInterp # $Header$ implements: LocalInterp # this thorn doesn't define or use any Cactus grid variables
# Parameter definitions for thorn LocalInterp # $Header$ # there are no parameters for this thorn
# Schedule definitions for thorn LocalInterp # $Header$ Schedule LocalInterp_Startup at STARTUP after Driver_Startup { LANG:C } "register LocalInterp's interpolation operators"
Startup.c
/*@@ @file Startup.c @date Sun Jul 04 1999 @author Thomas Radke @desc Startup routines for LocalInterp/UniformCartesian @enddesc @history @date 22 Jan 2002 @author Jonathan Thornburg @hdesc Move all local-interpolation code from LocalInterp to here @endhistory ...
CactusNumerical/LocalInterp2
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalInterp2 # $Header$ implements: LocalInterp INCLUDE HEADER: LagrangeInterp.hh IN LagrangeInterp.hh # this thorn doesn't define or use any Cactus grid variables
# Parameter definitions for thorn LocalInterp2 # $Header$ # there are no parameters for this thorn
# Schedule definitions for thorn LocalInterp2 # $Header$ Schedule LocalInterp2_Startup at STARTUP after Driver_Startup { LANG:C } "register LocalInterp2's interpolation operators"
LagrangeInterp.hh
#ifndef LOCALINTERP_LAGRANGEINTERP_HH #define LOCALINTERP_LAGRANGEINTERP_HH #include <cassert> #include <cmath> #include <cstring> #include "cctk.h" // If this is uncommented always use symmetric operators #ifndef LOCALINTERP_SYMMETRIC #define LOCALINTERP_SYMMETRIC #endif template<int order> class LagrangeInterp1D ...
CactusNumerical/LocalInterp2
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalInterp2 # $Header$ implements: LocalInterp INCLUDE HEADER: LagrangeInterp.hh IN LagrangeInterp.hh # this thorn doesn't define or use any Cactus grid variables
# Parameter definitions for thorn LocalInterp2 # $Header$ # there are no parameters for this thorn
# Schedule definitions for thorn LocalInterp2 # $Header$ Schedule LocalInterp2_Startup at STARTUP after Driver_Startup { LANG:C } "register LocalInterp2's interpolation operators"
Interpolate.cc
#include "cctk.h" #include "cctk_Interp.h" /* defines error codes */ #include "util_ErrorCodes.h" /* defines error codes */ #include "cctk_Parameters.h" #include "Interpolate.h" #include "LagrangeInterp.hh" /* the highest order of interpolation we support so far */ #define MAXORDER 3 /* the highest dimension for v...
CactusNumerical/LocalInterp2
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalInterp2 # $Header$ implements: LocalInterp INCLUDE HEADER: LagrangeInterp.hh IN LagrangeInterp.hh # this thorn doesn't define or use any Cactus grid variables
# Parameter definitions for thorn LocalInterp2 # $Header$ # there are no parameters for this thorn
# Schedule definitions for thorn LocalInterp2 # $Header$ Schedule LocalInterp2_Startup at STARTUP after Driver_Startup { LANG:C } "register LocalInterp2's interpolation operators"
README
This directory contains the interpolation functions registered for CCTK_InterpLocal() under the names "first-order uniform cartesian" "second-order uniform cartesian" "third-order uniform cartesian" and for CCTK_InterpLocalUniform() under the name "uniform cartesian" Implementation Notes ===========...
CactusNumerical/LocalInterp2
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalInterp2 # $Header$ implements: LocalInterp INCLUDE HEADER: LagrangeInterp.hh IN LagrangeInterp.hh # this thorn doesn't define or use any Cactus grid variables
# Parameter definitions for thorn LocalInterp2 # $Header$ # there are no parameters for this thorn
# Schedule definitions for thorn LocalInterp2 # $Header$ Schedule LocalInterp2_Startup at STARTUP after Driver_Startup { LANG:C } "register LocalInterp2's interpolation operators"
Interpolate.h
/*@@ @file Interpolate.h @date 22 Jan 2002 @author Jonathan Thornburg @desc function prototypes @enddesc @version $Header$ @history @date 22 Jan 2002 @author Jonathan Thornburg @hdesc created by editing down LocalInterp::pughInterpGH.h (originally dated 4...
CactusNumerical/LocalInterp2
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalInterp2 # $Header$ implements: LocalInterp INCLUDE HEADER: LagrangeInterp.hh IN LagrangeInterp.hh # this thorn doesn't define or use any Cactus grid variables
# Parameter definitions for thorn LocalInterp2 # $Header$ # there are no parameters for this thorn
# Schedule definitions for thorn LocalInterp2 # $Header$ Schedule LocalInterp2_Startup at STARTUP after Driver_Startup { LANG:C } "register LocalInterp2's interpolation operators"
make.code.defn
# Main make.code.defn file for thorn LocalInterp # $Header$ # Source files in this directory SRCS = Startup.c Operator.c Interpolate.cc
CactusNumerical/LocalInterp2
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalInterp2 # $Header$ implements: LocalInterp INCLUDE HEADER: LagrangeInterp.hh IN LagrangeInterp.hh # this thorn doesn't define or use any Cactus grid variables
# Parameter definitions for thorn LocalInterp2 # $Header$ # there are no parameters for this thorn
# Schedule definitions for thorn LocalInterp2 # $Header$ Schedule LocalInterp2_Startup at STARTUP after Driver_Startup { LANG:C } "register LocalInterp2's interpolation operators"
Operator.c
/*@@ @file Operator.c @date Tue Apr 15 18:22:45 1997 @author Paul Walker @desc Definition of interpolation operators for regular uniform grids. @enddesc @history @date Sun Jul 04 1999 @author Thomas Radke @hdesc conversion to Cactus 4.0 (copied from pughGetPoints...
CactusNumerical/LocalInterp2
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalInterp2 # $Header$ implements: LocalInterp INCLUDE HEADER: LagrangeInterp.hh IN LagrangeInterp.hh # this thorn doesn't define or use any Cactus grid variables
# Parameter definitions for thorn LocalInterp2 # $Header$ # there are no parameters for this thorn
# Schedule definitions for thorn LocalInterp2 # $Header$ Schedule LocalInterp2_Startup at STARTUP after Driver_Startup { LANG:C } "register LocalInterp2's interpolation operators"
Startup.c
/*@@ @file Startup.c @date Sun Jul 04 1999 @author Thomas Radke @desc Startup routines for LocalInterp/UniformCartesian @enddesc @history @date 22 Jan 2002 @author Jonathan Thornburg @hdesc Move all local-interpolation code from LocalInterp to here @endhistory ...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
Norm1Functions.c
/*@@ @file Norm1Functions.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc The functions responsible for performing the actual iteration. Having cascaded switch statements broke some compilers. @enddesc @version $Id$ @@*/ #include "cctk.h" #include ...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
ReductionNorm1.c
/*@@ @file ReductionNorm1.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc Defines the reduction operator to get the average of an arbitrary array. @enddesc @version $Id$ @@*/ #include <stdlib.h> #include <string.h> #include "local_reductions.h" #i...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
Norm4_Functions.h
/*@@ @header Norm4_Functions.h @date @author Tom Goodale, Yaakoub Y El Khamra @desc Prototypes for Norm4 reduction operators @enddesc @version $Header$ @@*/ #ifndef _Norm4_FUNCTIONS_H_ #define _Norm4_FUNCTIONS_H_ #include "cctk.h" #ifdef __cplusplus extern "C" { #endif...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
Sum_Functions.h
/*@@ @header Sum_Functions.h @date @author Tom Goodale, Yaakoub Y El Khamra @desc Prototypes for sum reduction operators @enddesc @version $Header$ @@*/ #ifndef _SUM_FUNCTIONS_H_ #define _SUM_FUNCTIONS_H_ #include "cctk.h" #ifdef __cplusplus extern "C" { #endif /* Sum...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
ReductionMin.c
/*@@ @file ReductionMin.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc Defines the reduction operator to get the average of an arbitrary array. @enddesc @version $Id$ @@*/ #include <stdlib.h> #include <string.h> #include "local_reductions.h" #inc...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
CountFunctions.c
/*@@ @file CountFunctions.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc The functions responsible for performing the actual iteration. Having cascaded switch statements broke some compilers. @enddesc @version $Id$ @@*/ #include "cctk.h" #include ...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
ReductionCount.c
/*@@ @file ReductionCount.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc Defines the reduction operator to get the average of an arbitrary array. @enddesc @version $Id$ @@*/ #include <stdlib.h> #include <string.h> #include "local_reductions.h" #i...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
Min_Functions.h
/*@@ @header Min_Functions.h @date @author Tom Goodale, Yaakoub Y El Khamra @desc Prototypes for Min reduction operators @enddesc @version $Header$ @@*/ #ifndef _Min_FUNCTIONS_H_ #define _Min_FUNCTIONS_H_ #include "cctk.h" #ifdef __cplusplus extern "C" { #endif /* Min...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
Norm4Functions.c
/*@@ @file Norm4Functions.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc The functions responsible for performing the actual iteration. Having cascaded switch statements broke some compilers. @enddesc @version $Id$ @@*/ #include "cctk.h" #include ...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
Norm1_Functions.h
/*@@ @header Norm1_Functions.h @date @author Tom Goodale, Yaakoub Y El Khamra @desc Prototypes for Norm1 reduction operators @enddesc @version $Header$ @@*/ #ifndef _Norm1_FUNCTIONS_H_ #define _Norm1_FUNCTIONS_H_ #include "cctk.h" #ifdef __cplusplus extern "C" { #endif...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
Norm2_Functions.h
/*@@ @header Norm2_Functions.h @date @author Tom Goodale, Yaakoub Y El Khamra @desc Prototypes for Norm2 reduction operators @enddesc @version $Header$ @@*/ #ifndef _Norm2_FUNCTIONS_H_ #define _Norm2_FUNCTIONS_H_ #include "cctk.h" #ifdef __cplusplus extern "C" { #endif...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
ReductionNorm2.c
/*@@ @file ReductionNorm2.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc Defines the reduction operator to get the average of an arbitrary array. @enddesc @version $Id$ @@*/ #include <math.h> #include <stdlib.h> #include <string.h> #include "loca...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
Norm3Functions.c
/*@@ @file Norm3Functions.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc The functions responsible for performing the actual iteration. Having cascaded switch statements broke some compilers. @enddesc @version $Id$ @@*/ #include "cctk.h" #include ...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
MinFunctions.c
/*@@ @file MinFunctions.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc The functions responsible for performing the actual iteration. Having cascaded switch statements broke some compilers. @enddesc @version $Id$ @@*/ #include "cctk.h" #include "l...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
NormInf_Functions.h
/*@@ @header NormInf_Functions.h @date @author Tom Goodale, Yaakoub Y El Khamra @desc Prototypes for NormInf reduction operators @enddesc @version $Header$ @@*/ #ifndef _NormInf_FUNCTIONS_H_ #define _NormInf_FUNCTIONS_H_ #include "cctk.h" #ifdef __cplusplus extern "C" ...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
ReductionAvg.c
/*@@ @file ReductionAvg.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc Defines the reduction operator to get the average of an arbitrary array. @enddesc @version $Id$ @@*/ #include <stdlib.h> #include <string.h> #include "local_reductions.h" #inc...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
Reduction.c
/*@@ @file Reduction.c @date Thu Apr 3 11:54:53 1997 @author Thomas Radke, Paul Walker, Yaakoub Y El Khamra @desc Local Reduction operator @enddesc @version $Id$ @@*/ #include <stdlib.h> #include "local_reductions.h" static const char *rcsid = "$Header$"; CCTK_FILEV...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
ReductionMax.c
/*@@ @file ReductionMax.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc Defines the reduction operator to get the average of an arbitrary array. @enddesc @version $Id$ @@*/ #include <stdlib.h> #include <string.h> #include "local_reductions.h" #inc...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
ReductionNorm3.c
/*@@ @file ReductionNorm3.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc Defines the reduction operator to get the average of an arbitrary array. @enddesc @version $Id$ @@*/ #include <math.h> #include <stdlib.h> #include <string.h> #include "loca...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
AvgFunctions.c
/*@@ @file AvgFunctions.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc The functions responsible for performing the actual iteration. Having cascaded switch statements broke some compilers. @enddesc @version $Id$ @@*/ #include "cctk.h" #include "l...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
Avg_Functions.h
/*@@ @header Avg_Functions.h @date @author Tom Goodale, Yaakoub Y El Khamra @desc Prototypes for Avg reduction operators @enddesc @version $Header$ @@*/ #ifndef _Avg_FUNCTIONS_H_ #define _Avg_FUNCTIONS_H_ #include "cctk.h" #ifdef __cplusplus extern "C" { #endif /* Avg...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
make.code.defn
# Main make.code.defn file for thorn LocalReduce # $Header$ # Source files in this directory SRCS = Startup.c Reduction.c ReductionAvg.c AvgFunctions.c ReductionMax.c MaxFunctions.c ReductionMin.c MinFunctions.c ReductionCount.c CountFunctions.c ReductionSum.c SumFunctions.c ReductionNorm1.c Norm1Functions.c Reduc...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
ReductionNormInf.c
/*@@ @file ReductionNormInf.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc Defines the reduction operator to get the infinite norm of an arbitrary array. @enddesc @version $Id$ @@*/ #include <stdlib.h> #include <string.h> #include "local_reductio...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
Max_Functions.h
/*@@ @header Max_Functions.h @date @author Tom Goodale, Yaakoub Y El Khamra @desc Prototypes for Max reduction operators @enddesc @version $Header$ @@*/ #ifndef _Max_FUNCTIONS_H_ #define _Max_FUNCTIONS_H_ #include "cctk.h" #ifdef __cplusplus extern "C" { #endif /* Max...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
ReductionSum.c
/*@@ @file ReductionSum.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc Defines the reduction operator to get the average of an arbitrary array. @enddesc @version $Id$ @@*/ #include <stdlib.h> #include <string.h> #include "local_reductions.h" #inc...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
local_reductions.h
/*@@ @header local_reductions.h @date @author Tom Goodale, Yaakoub Y El Khamra @desc Prototypes for local reduction operators @enddesc @version $Header$ @@*/ #ifndef _LOCAL_REDUCTIONS_H_ #define _LOCAL_REDUCTIONS_H_ #include "cctk.h" #include "util_Table.h" #include "c...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
MaxFunctions.c
/*@@ @file MaxFunctions.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc The functions responsible for performing the actual iteration. Having cascaded switch statements broke some compilers. @enddesc @version $Id$ @@*/ #include "cctk.h" #include "l...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
ReductionNorm4.c
/*@@ @file ReductionNorm4.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc Defines the reduction operator to get the average of an arbitrary array. @enddesc @version $Id$ @@*/ #include <math.h> #include <stdlib.h> #include <string.h> #include "loca...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
Count_Functions.h
/*@@ @header Count_Functions.h @date @author Tom Goodale, Yaakoub Y El Khamra @desc Prototypes for Count reduction operators @enddesc @version $Header$ @@*/ #ifndef _Count_FUNCTIONS_H_ #define _Count_FUNCTIONS_H_ #include "cctk.h" #ifdef __cplusplus extern "C" { #endif...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
Norm2Functions.c
/*@@ @file Norm2Functions.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc The functions responsible for performing the actual iteration. Having cascaded switch statements broke some compilers. @enddesc @version $Id$ @@*/ #include "cctk.h" #include ...
CactusNumerical/LocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn LocalReduce # $Header$ Implements: LocalReduce
# Parameter definitions for thorn LocalReduce # $Header$
# Schedule definitions for thorn LocalReduce # $Header$ schedule LocalReduce_Startup at STARTUP { LANG:C } "Startup routine"
NormInfFunctions.c
/*@@ @file NormInfFunctions.c @date @author Tom Goodale, Yaakoub Y El Khamra @desc The functions responsible for performing the actual iteration. Having cascaded switch statements broke some compilers. @enddesc @version $Id$ @@*/ #include "cctk.h" #includ...