thorn_name
stringclasses
66 values
url
stringclasses
12 values
configuration
stringclasses
40 values
interface
stringclasses
66 values
param
stringclasses
66 values
schedule
stringclasses
66 values
src_filename
stringlengths
5
52
src_code
stringlengths
0
349k
context_filenames
stringlengths
8
3.24k
context
stringlengths
118
2M
doc_tex_content
stringclasses
40 values
doc_tex_filenames
stringclasses
5 values
readme_content
stringclasses
58 values
readme_filename
stringclasses
2 values
combined_doc_context
stringclasses
58 values
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 ...
uniform_charge.c
#include <assert.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <util_ErrorCodes.h> #include <util_Table.h> #include <carpet.h> #include <TATelliptic.h> static int calc_residual (const cGH * const cctkGH, ...
make.code.defn
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 = ```
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Poisson Author(s) : Erik Schnetter <schnetter@gmail.com> Maintainer(s): Erik Schnetter <schnetter@gmail.com> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Solve the Poisson equation with the TATelliptic framework.
README
## README (README): ``` Cactus Code Thorn Poisson Author(s) : Erik Schnetter <schnetter@gmail.com> Maintainer(s): Erik Schnetter <schnetter@gmail.com> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Solve the Poisson equation with the TATelliptic framework. ...
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 =
uniform_charge.c
uniform_charge.c: ``` #include <assert.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <util_ErrorCodes.h> #include <util_Table.h> #include <carpet.h> #include <TATelliptic.h> static int calc_residual (const cGH * con...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Poisson Author(s) : Erik Schnetter <schnetter@gmail.com> Maintainer(s): Erik Schnetter <schnetter@gmail.com> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Solve the Poisson equation with the TATelliptic framework.
README
## README (README): ``` Cactus Code Thorn Poisson Author(s) : Erik Schnetter <schnetter@gmail.com> Maintainer(s): Erik Schnetter <schnetter@gmail.com> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Solve the Poisson equation with the TATelliptic framework. ...
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(...
SampleBnd.h LinearExtrapBnd.c make.code.defn LinearExtrapBnd.F
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 ...
=== documentation.tex === \documentclass{article} % Use the Cactus ThornGuide style file % (Automatically used from Cactus distribution, if you have a % thorn without the Cactus Flesh download this from the Cactus % homepage at www.cactuscode.org) \usepackage{../../../../doc/latex/cactus} \begin{document} \title{...
documentation.tex
Cactus Code Thorn SampleBoundary Author(s) : Carsten Gundlach David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn provides a simple example of how to create and register a physical boundary cond...
README
## README (README): ``` Cactus Code Thorn SampleBoundary Author(s) : Carsten Gundlach David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn provides a simple example of how to create and register ...
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...
Register.c LinearExtrapBnd.c make.code.defn LinearExtrapBnd.F
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$"; C...
=== documentation.tex === \documentclass{article} % Use the Cactus ThornGuide style file % (Automatically used from Cactus distribution, if you have a % thorn without the Cactus Flesh download this from the Cactus % homepage at www.cactuscode.org) \usepackage{../../../../doc/latex/cactus} \begin{document} \title{...
documentation.tex
Cactus Code Thorn SampleBoundary Author(s) : Carsten Gundlach David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn provides a simple example of how to create and register a physical boundary cond...
README
## README (README): ``` Cactus Code Thorn SampleBoundary Author(s) : Carsten Gundlach David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn provides a simple example of how to create and register ...
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 ...
Register.c SampleBnd.h make.code.defn LinearExtrapBnd.F
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$"; C...
=== documentation.tex === \documentclass{article} % Use the Cactus ThornGuide style file % (Automatically used from Cactus distribution, if you have a % thorn without the Cactus Flesh download this from the Cactus % homepage at www.cactuscode.org) \usepackage{../../../../doc/latex/cactus} \begin{document} \title{...
documentation.tex
Cactus Code Thorn SampleBoundary Author(s) : Carsten Gundlach David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn provides a simple example of how to create and register a physical boundary cond...
README
## README (README): ``` Cactus Code Thorn SampleBoundary Author(s) : Carsten Gundlach David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn provides a simple example of how to create and register ...
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 =
Register.c SampleBnd.h LinearExtrapBnd.c LinearExtrapBnd.F
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$"; C...
=== documentation.tex === \documentclass{article} % Use the Cactus ThornGuide style file % (Automatically used from Cactus distribution, if you have a % thorn without the Cactus Flesh download this from the Cactus % homepage at www.cactuscode.org) \usepackage{../../../../doc/latex/cactus} \begin{document} \title{...
documentation.tex
Cactus Code Thorn SampleBoundary Author(s) : Carsten Gundlach David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn provides a simple example of how to create and register a physical boundary cond...
README
## README (README): ``` Cactus Code Thorn SampleBoundary Author(s) : Carsten Gundlach David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn provides a simple example of how to create and register ...
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...
Register.c SampleBnd.h LinearExtrapBnd.c make.code.defn
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$"; C...
=== documentation.tex === \documentclass{article} % Use the Cactus ThornGuide style file % (Automatically used from Cactus distribution, if you have a % thorn without the Cactus Flesh download this from the Cactus % homepage at www.cactuscode.org) \usepackage{../../../../doc/latex/cactus} \begin{document} \title{...
documentation.tex
Cactus Code Thorn SampleBoundary Author(s) : Carsten Gundlach David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn provides a simple example of how to create and register a physical boundary cond...
README
## README (README): ``` Cactus Code Thorn SampleBoundary Author(s) : Carsten Gundlach David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn provides a simple example of how to create and register ...
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...
WaveMoL.c make.code.defn InitSymBound.c Startup.c
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 *rc...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn WaveMoL Author(s) : Ian Hawke Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This implements the wave equation in FOSH form for use with the Method of Lines thorn. Intended as a basic test.
README
## README (README): ``` Cactus Code Thorn WaveMoL Author(s) : Ian Hawke Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This implements the wave equation in FOSH form for use with the Method of Lines thorn. Intended as a basic tes...
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$...
WaveMoLRegister.c make.code.defn InitSymBound.c Startup.c
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 = "$Head...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn WaveMoL Author(s) : Ian Hawke Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This implements the wave equation in FOSH form for use with the Method of Lines thorn. Intended as a basic test.
README
## README (README): ``` Cactus Code Thorn WaveMoL Author(s) : Ian Hawke Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This implements the wave equation in FOSH form for use with the Method of Lines thorn. Intended as a basic tes...
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 =
WaveMoLRegister.c WaveMoL.c InitSymBound.c Startup.c
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 = "$Head...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn WaveMoL Author(s) : Ian Hawke Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This implements the wave equation in FOSH form for use with the Method of Lines thorn. Intended as a basic test.
README
## README (README): ``` Cactus Code Thorn WaveMoL Author(s) : Ian Hawke Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This implements the wave equation in FOSH form for use with the Method of Lines thorn. Intended as a basic tes...
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(...
WaveMoLRegister.c WaveMoL.c make.code.defn Startup.c
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 = "$Head...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn WaveMoL Author(s) : Ian Hawke Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This implements the wave equation in FOSH form for use with the Method of Lines thorn. Intended as a basic test.
README
## README (README): ``` Cactus Code Thorn WaveMoL Author(s) : Ian Hawke Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This implements the wave equation in FOSH form for use with the Method of Lines thorn. Intended as a basic tes...
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); /*@@ ...
WaveMoLRegister.c WaveMoL.c make.code.defn InitSymBound.c
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 = "$Head...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn WaveMoL Author(s) : Ian Hawke Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This implements the wave equation in FOSH form for use with the Method of Lines thorn. Intended as a basic test.
README
## README (README): ``` Cactus Code Thorn WaveMoL Author(s) : Ian Hawke Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This implements the wave equation in FOSH form for use with the Method of Lines thorn. Intended as a basic tes...
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...
Startup.F77 Initial.F77 Coord.F77 make.code.defn Boundary.F77
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 ...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn WaveToy1DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 1D using centered explicit finite differencing. Included...
README
## README (README): ``` Cactus Code Thorn WaveToy1DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 1D using centered explicit finit...
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...
Evolve.F77 Initial.F77 Coord.F77 make.code.defn Boundary.F77
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 ...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn WaveToy1DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 1D using centered explicit finite differencing. Included...
README
## README (README): ``` Cactus Code Thorn WaveToy1DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 1D using centered explicit finit...
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 ...
Evolve.F77 Startup.F77 Coord.F77 make.code.defn Boundary.F77
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 ...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn WaveToy1DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 1D using centered explicit finite differencing. Included...
README
## README (README): ``` Cactus Code Thorn WaveToy1DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 1D using centered explicit finit...
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...
Evolve.F77 Startup.F77 Initial.F77 make.code.defn Boundary.F77
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 ...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn WaveToy1DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 1D using centered explicit finite differencing. Included...
README
## README (README): ``` Cactus Code Thorn WaveToy1DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 1D using centered explicit finit...
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 =
Evolve.F77 Startup.F77 Initial.F77 Coord.F77 Boundary.F77
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 ...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn WaveToy1DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 1D using centered explicit finite differencing. Included...
README
## README (README): ``` Cactus Code Thorn WaveToy1DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 1D using centered explicit finit...
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_...
Evolve.F77 Startup.F77 Initial.F77 Coord.F77 make.code.defn
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 ...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn WaveToy1DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 1D using centered explicit finite differencing. Included...
README
## README (README): ``` Cactus Code Thorn WaveToy1DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 1D using centered explicit finit...
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...
Startup.F77 Initial.F77 Coord.F77 make.code.defn Boundary.F77
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 c...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn WaveToy2DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 2D using centered explicit finite differencing. Included...
README
## README (README): ``` Cactus Code Thorn WaveToy2DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 2D using centered explicit finit...
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...
Evolve.F77 Initial.F77 Coord.F77 make.code.defn Boundary.F77
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 ...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn WaveToy2DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 2D using centered explicit finite differencing. Included...
README
## README (README): ``` Cactus Code Thorn WaveToy2DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 2D using centered explicit finit...
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 ...
Evolve.F77 Startup.F77 Coord.F77 make.code.defn Boundary.F77
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 ...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn WaveToy2DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 2D using centered explicit finite differencing. Included...
README
## README (README): ``` Cactus Code Thorn WaveToy2DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 2D using centered explicit finit...
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...
Evolve.F77 Startup.F77 Initial.F77 make.code.defn Boundary.F77
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 ...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn WaveToy2DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 2D using centered explicit finite differencing. Included...
README
## README (README): ``` Cactus Code Thorn WaveToy2DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 2D using centered explicit finit...
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 =
Evolve.F77 Startup.F77 Initial.F77 Coord.F77 Boundary.F77
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 ...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn WaveToy2DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 2D using centered explicit finite differencing. Included...
README
## README (README): ``` Cactus Code Thorn WaveToy2DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 2D using centered explicit finit...
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_...
Evolve.F77 Startup.F77 Initial.F77 Coord.F77 make.code.defn
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 ...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn WaveToy2DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 2D using centered explicit finite differencing. Included...
README
## README (README): ``` Cactus Code Thorn WaveToy2DF77 Author(s) : Gabrielle Allen Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn illustrates the solution of the scalar wave equation in 2D using centered explicit finit...
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...
Cartoon2D.h interpolate.c Cartoon2DBC.c SetGrid.c make.code.defn CheckParameters.c ApplyCartoon.c Cartoon2D_tensors.h RegisterSym.c
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...
=== documentation.tex === % /*@@ % @file documentation.tex % @date 16 April 2002 % @author Denis Pollney % @desc % Cartoon2D user/maintainer guide. % @enddesc % @version $Header$ % @@*/ \documentclass{article} % Use the Cactus ThornGuide style file % (Automatically used ...
documentation.tex
Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" axisymmetric evolution a...
README
## README (README): ``` Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" ...
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, ...
SymInterp.c interpolate.c Cartoon2DBC.c SetGrid.c make.code.defn CheckParameters.c ApplyCartoon.c Cartoon2D_tensors.h RegisterSym.c
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 c...
=== documentation.tex === % /*@@ % @file documentation.tex % @date 16 April 2002 % @author Denis Pollney % @desc % Cartoon2D user/maintainer guide. % @enddesc % @version $Header$ % @@*/ \documentclass{article} % Use the Cactus ThornGuide style file % (Automatically used ...
documentation.tex
Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" axisymmetric evolution a...
README
## README (README): ``` Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" ...
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...
SymInterp.c Cartoon2D.h Cartoon2DBC.c SetGrid.c make.code.defn CheckParameters.c ApplyCartoon.c Cartoon2D_tensors.h RegisterSym.c
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 c...
=== documentation.tex === % /*@@ % @file documentation.tex % @date 16 April 2002 % @author Denis Pollney % @desc % Cartoon2D user/maintainer guide. % @enddesc % @version $Header$ % @@*/ \documentclass{article} % Use the Cactus ThornGuide style file % (Automatically used ...
documentation.tex
Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" axisymmetric evolution a...
README
## README (README): ``` Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" ...
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 ...
SymInterp.c Cartoon2D.h interpolate.c SetGrid.c make.code.defn CheckParameters.c ApplyCartoon.c Cartoon2D_tensors.h RegisterSym.c
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 c...
=== documentation.tex === % /*@@ % @file documentation.tex % @date 16 April 2002 % @author Denis Pollney % @desc % Cartoon2D user/maintainer guide. % @enddesc % @version $Header$ % @@*/ \documentclass{article} % Use the Cactus ThornGuide style file % (Automatically used ...
documentation.tex
Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" axisymmetric evolution a...
README
## README (README): ``` Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" ...
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...
SymInterp.c Cartoon2D.h interpolate.c Cartoon2DBC.c make.code.defn CheckParameters.c ApplyCartoon.c Cartoon2D_tensors.h RegisterSym.c
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 c...
=== documentation.tex === % /*@@ % @file documentation.tex % @date 16 April 2002 % @author Denis Pollney % @desc % Cartoon2D user/maintainer guide. % @enddesc % @version $Header$ % @@*/ \documentclass{article} % Use the Cactus ThornGuide style file % (Automatically used ...
documentation.tex
Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" axisymmetric evolution a...
README
## README (README): ``` Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" ...
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 =
SymInterp.c Cartoon2D.h interpolate.c Cartoon2DBC.c SetGrid.c CheckParameters.c ApplyCartoon.c Cartoon2D_tensors.h RegisterSym.c
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 c...
=== documentation.tex === % /*@@ % @file documentation.tex % @date 16 April 2002 % @author Denis Pollney % @desc % Cartoon2D user/maintainer guide. % @enddesc % @version $Header$ % @@*/ \documentclass{article} % Use the Cactus ThornGuide style file % (Automatically used ...
documentation.tex
Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" axisymmetric evolution a...
README
## README (README): ``` Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" ...
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...
SymInterp.c Cartoon2D.h interpolate.c Cartoon2DBC.c SetGrid.c make.code.defn ApplyCartoon.c Cartoon2D_tensors.h RegisterSym.c
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 c...
=== documentation.tex === % /*@@ % @file documentation.tex % @date 16 April 2002 % @author Denis Pollney % @desc % Cartoon2D user/maintainer guide. % @enddesc % @version $Header$ % @@*/ \documentclass{article} % Use the Cactus ThornGuide style file % (Automatically used ...
documentation.tex
Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" axisymmetric evolution a...
README
## README (README): ``` Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" ...
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...
SymInterp.c Cartoon2D.h interpolate.c Cartoon2DBC.c SetGrid.c make.code.defn CheckParameters.c Cartoon2D_tensors.h RegisterSym.c
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 c...
=== documentation.tex === % /*@@ % @file documentation.tex % @date 16 April 2002 % @author Denis Pollney % @desc % Cartoon2D user/maintainer guide. % @enddesc % @version $Header$ % @@*/ \documentclass{article} % Use the Cactus ThornGuide style file % (Automatically used ...
documentation.tex
Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" axisymmetric evolution a...
README
## README (README): ``` Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" ...
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
SymInterp.c Cartoon2D.h interpolate.c Cartoon2DBC.c SetGrid.c make.code.defn CheckParameters.c ApplyCartoon.c RegisterSym.c
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 c...
=== documentation.tex === % /*@@ % @file documentation.tex % @date 16 April 2002 % @author Denis Pollney % @desc % Cartoon2D user/maintainer guide. % @enddesc % @version $Header$ % @@*/ \documentclass{article} % Use the Cactus ThornGuide style file % (Automatically used ...
documentation.tex
Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" axisymmetric evolution a...
README
## README (README): ``` Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" ...
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...
SymInterp.c Cartoon2D.h interpolate.c Cartoon2DBC.c SetGrid.c make.code.defn CheckParameters.c ApplyCartoon.c Cartoon2D_tensors.h
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 c...
=== documentation.tex === % /*@@ % @file documentation.tex % @date 16 April 2002 % @author Denis Pollney % @desc % Cartoon2D user/maintainer guide. % @enddesc % @version $Header$ % @@*/ \documentclass{article} % Use the Cactus ThornGuide style file % (Automatically used ...
documentation.tex
Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" axisymmetric evolution a...
README
## README (README): ``` Cactus Code Thorn Cartoon2D Author(s) : Sai Iyer Denis Pollney Thomas Radke David Rideout Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Implements a "cartoon" ...
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) ...
basegrid.c apply_dissipation.F77 make.code.defn dissipation.c setup_epsdis.c
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_...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
CVS info : $Header$ Cactus Code Thorn Dissipation Thorn Author(s) : Erik Schnetter <schnetter@aei.mpg.de> Thorn Maintainer(s) : Erik Schnetter <schnetter@aei.mpg.de> -------------------------------------------------------------------------- Purpose of the thorn: Add fourth order Kreiss-Oliger dissipation to th...
README
## README (README): ``` CVS info : $Header$ Cactus Code Thorn Dissipation Thorn Author(s) : Erik Schnetter <schnetter@aei.mpg.de> Thorn Maintainer(s) : Erik Schnetter <schnetter@aei.mpg.de> -------------------------------------------------------------------------- Purpose of the thorn: Add fourth order Kreiss-...
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) { ...
paramcheck.c apply_dissipation.F77 make.code.defn dissipation.c setup_epsdis.c
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...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
CVS info : $Header$ Cactus Code Thorn Dissipation Thorn Author(s) : Erik Schnetter <schnetter@aei.mpg.de> Thorn Maintainer(s) : Erik Schnetter <schnetter@aei.mpg.de> -------------------------------------------------------------------------- Purpose of the thorn: Add fourth order Kreiss-Oliger dissipation to th...
README
## README (README): ``` CVS info : $Header$ Cactus Code Thorn Dissipation Thorn Author(s) : Erik Schnetter <schnetter@aei.mpg.de> Thorn Maintainer(s) : Erik Schnetter <schnetter@aei.mpg.de> -------------------------------------------------------------------------- Purpose of the thorn: Add fourth order Kreiss-...
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...
paramcheck.c basegrid.c make.code.defn dissipation.c setup_epsdis.c
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...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
CVS info : $Header$ Cactus Code Thorn Dissipation Thorn Author(s) : Erik Schnetter <schnetter@aei.mpg.de> Thorn Maintainer(s) : Erik Schnetter <schnetter@aei.mpg.de> -------------------------------------------------------------------------- Purpose of the thorn: Add fourth order Kreiss-Oliger dissipation to th...
README
## README (README): ``` CVS info : $Header$ Cactus Code Thorn Dissipation Thorn Author(s) : Erik Schnetter <schnetter@aei.mpg.de> Thorn Maintainer(s) : Erik Schnetter <schnetter@aei.mpg.de> -------------------------------------------------------------------------- Purpose of the thorn: Add fourth order Kreiss-...
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 =
paramcheck.c basegrid.c apply_dissipation.F77 dissipation.c setup_epsdis.c
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...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
CVS info : $Header$ Cactus Code Thorn Dissipation Thorn Author(s) : Erik Schnetter <schnetter@aei.mpg.de> Thorn Maintainer(s) : Erik Schnetter <schnetter@aei.mpg.de> -------------------------------------------------------------------------- Purpose of the thorn: Add fourth order Kreiss-Oliger dissipation to th...
README
## README (README): ``` CVS info : $Header$ Cactus Code Thorn Dissipation Thorn Author(s) : Erik Schnetter <schnetter@aei.mpg.de> Thorn Maintainer(s) : Erik Schnetter <schnetter@aei.mpg.de> -------------------------------------------------------------------------- Purpose of the thorn: Add fourth order Kreiss-...
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...
paramcheck.c basegrid.c apply_dissipation.F77 make.code.defn setup_epsdis.c
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...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
CVS info : $Header$ Cactus Code Thorn Dissipation Thorn Author(s) : Erik Schnetter <schnetter@aei.mpg.de> Thorn Maintainer(s) : Erik Schnetter <schnetter@aei.mpg.de> -------------------------------------------------------------------------- Purpose of the thorn: Add fourth order Kreiss-Oliger dissipation to th...
README
## README (README): ``` CVS info : $Header$ Cactus Code Thorn Dissipation Thorn Author(s) : Erik Schnetter <schnetter@aei.mpg.de> Thorn Maintainer(s) : Erik Schnetter <schnetter@aei.mpg.de> -------------------------------------------------------------------------- Purpose of the thorn: Add fourth order Kreiss-...
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...
paramcheck.c basegrid.c apply_dissipation.F77 make.code.defn dissipation.c
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...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
CVS info : $Header$ Cactus Code Thorn Dissipation Thorn Author(s) : Erik Schnetter <schnetter@aei.mpg.de> Thorn Maintainer(s) : Erik Schnetter <schnetter@aei.mpg.de> -------------------------------------------------------------------------- Purpose of the thorn: Add fourth order Kreiss-Oliger dissipation to th...
README
## README (README): ``` CVS info : $Header$ Cactus Code Thorn Dissipation Thorn Author(s) : Erik Schnetter <schnetter@aei.mpg.de> Thorn Maintainer(s) : Erik Schnetter <schnetter@aei.mpg.de> -------------------------------------------------------------------------- Purpose of the thorn: Add fourth order Kreiss-...
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...
make.code.defn
make.code.defn: ``` # Main make.code.defn file for thorn InterpToArray # Source files in this directory SRCS = interp.c # Subdirectories containing source files SUBDIRS = ```
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built with the Ca...
documentation.tex
Cactus Code Thorn InterpToArray Thorn Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Thorn Maintainer(s) : Erik Schnetter <schnetter@cct.lsu.edu> -------------------------------------------------------------------------- Purpose of the thorn: Interpolate grid functions to grid arrays on a regular grid of loca...
README
## README (README): ``` Cactus Code Thorn InterpToArray Thorn Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Thorn Maintainer(s) : Erik Schnetter <schnetter@cct.lsu.edu> -------------------------------------------------------------------------- Purpose of the thorn: Interpolate grid functions to grid arrays o...
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 =
interp.c
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) { inter...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built with the Ca...
documentation.tex
Cactus Code Thorn InterpToArray Thorn Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Thorn Maintainer(s) : Erik Schnetter <schnetter@cct.lsu.edu> -------------------------------------------------------------------------- Purpose of the thorn: Interpolate grid functions to grid arrays on a regular grid of loca...
README
## README (README): ``` Cactus Code Thorn InterpToArray Thorn Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Thorn Maintainer(s) : Erik Schnetter <schnetter@cct.lsu.edu> -------------------------------------------------------------------------- Purpose of the thorn: Interpolate grid functions to grid arrays o...
CactusNumerical/RotatingSymmetry180
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn RotatingSymmetry180 REQUIRES THORNS: Slab
# Interface definition for thorn RotatingSymmetry180 IMPLEMENTS: RotatingSymmetry180 USES INCLUDE HEADER: Slab.h CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRegister # which_faces : array [N_FACES] # symmetry_zone_width: array [N_FACES] CCTK_INT FUNCTION ...
# Parameter definitions for thorn RotatingSymmetry180 BOOLEAN verbose "Produce screen output while applying boundary conditions" STEERABLE=always { } "no" KEYWORD hyperslabber "Hyperslabbing mechanism" STEERABLE=always { "TAT/Slab" :: "" "GetHyperslab" :: "" } "TAT/Slab" BOOLEAN use_coordbase "Get symmet...
# Schedule definitions for thorn RotatingSymmetry180 SCHEDULE Rot180_CheckTensorTypes AT paramcheck { LANG: C } "Check tensor type definitions for consistency" SCHEDULE Rot180_RegisterSymmetry IN SymmetryRegister { LANG: C } "Register symmetry boundaries" SCHEDULE Rot180_ComputeLevelExtent IN BoundaryConditions ...
interpolate.c
#include <assert.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "util_ErrorCodes.h" #include "util_Table.h" #include "rotatingsymmetry180.h" void Rot180_CheckTensorTypes (CCTK_ARGUMENTS) { int gi; /* Check tensor types of all groups */ for (gi=0;...
rotatingsymmetry180.c make.code.defn registersymmetry.c rotatingsymmetry180.h
rotatingsymmetry180.c: ``` #include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <util_ErrorCodes.h> #include <util_Table.h> #include <Slab.h> #include "rotatingsymmetry180.h" #include <assert.h> #include <math.h> #include <stdlib.h> #include <string.h> /* bbox, lbnd and ubnd of combi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built with the Ca...
documentation.tex
Cactus Code Thorn RotatingSymmetry180 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 180 degree rotational symmetry boundary condition. This ...
README
## README (README): ``` Cactus Code Thorn RotatingSymmetry180 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 180 degree rotational symmetry bo...
CactusNumerical/RotatingSymmetry180
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn RotatingSymmetry180 REQUIRES THORNS: Slab
# Interface definition for thorn RotatingSymmetry180 IMPLEMENTS: RotatingSymmetry180 USES INCLUDE HEADER: Slab.h CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRegister # which_faces : array [N_FACES] # symmetry_zone_width: array [N_FACES] CCTK_INT FUNCTION ...
# Parameter definitions for thorn RotatingSymmetry180 BOOLEAN verbose "Produce screen output while applying boundary conditions" STEERABLE=always { } "no" KEYWORD hyperslabber "Hyperslabbing mechanism" STEERABLE=always { "TAT/Slab" :: "" "GetHyperslab" :: "" } "TAT/Slab" BOOLEAN use_coordbase "Get symmet...
# Schedule definitions for thorn RotatingSymmetry180 SCHEDULE Rot180_CheckTensorTypes AT paramcheck { LANG: C } "Check tensor type definitions for consistency" SCHEDULE Rot180_RegisterSymmetry IN SymmetryRegister { LANG: C } "Register symmetry boundaries" SCHEDULE Rot180_ComputeLevelExtent IN BoundaryConditions ...
rotatingsymmetry180.c
#include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <util_ErrorCodes.h> #include <util_Table.h> #include <Slab.h> #include "rotatingsymmetry180.h" #include <assert.h> #include <math.h> #include <stdlib.h> #include <string.h> /* bbox, lbnd and ubnd of combined level box */ static int...
interpolate.c make.code.defn registersymmetry.c rotatingsymmetry180.h
interpolate.c: ``` #include <assert.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "util_ErrorCodes.h" #include "util_Table.h" #include "rotatingsymmetry180.h" void Rot180_CheckTensorTypes (CCTK_ARGUMENTS) { int gi; /* Check tensor types of all gro...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built with the Ca...
documentation.tex
Cactus Code Thorn RotatingSymmetry180 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 180 degree rotational symmetry boundary condition. This ...
README
## README (README): ``` Cactus Code Thorn RotatingSymmetry180 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 180 degree rotational symmetry bo...
CactusNumerical/RotatingSymmetry180
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn RotatingSymmetry180 REQUIRES THORNS: Slab
# Interface definition for thorn RotatingSymmetry180 IMPLEMENTS: RotatingSymmetry180 USES INCLUDE HEADER: Slab.h CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRegister # which_faces : array [N_FACES] # symmetry_zone_width: array [N_FACES] CCTK_INT FUNCTION ...
# Parameter definitions for thorn RotatingSymmetry180 BOOLEAN verbose "Produce screen output while applying boundary conditions" STEERABLE=always { } "no" KEYWORD hyperslabber "Hyperslabbing mechanism" STEERABLE=always { "TAT/Slab" :: "" "GetHyperslab" :: "" } "TAT/Slab" BOOLEAN use_coordbase "Get symmet...
# Schedule definitions for thorn RotatingSymmetry180 SCHEDULE Rot180_CheckTensorTypes AT paramcheck { LANG: C } "Check tensor type definitions for consistency" SCHEDULE Rot180_RegisterSymmetry IN SymmetryRegister { LANG: C } "Register symmetry boundaries" SCHEDULE Rot180_ComputeLevelExtent IN BoundaryConditions ...
make.code.defn
# Main make.code.defn file for thorn RotatingSymmetry180 # Source files in this directory SRCS = interpolate.c rotatingsymmetry180.c registersymmetry.c # Subdirectories containing source files SUBDIRS =
interpolate.c rotatingsymmetry180.c registersymmetry.c rotatingsymmetry180.h
interpolate.c: ``` #include <assert.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "util_ErrorCodes.h" #include "util_Table.h" #include "rotatingsymmetry180.h" void Rot180_CheckTensorTypes (CCTK_ARGUMENTS) { int gi; /* Check tensor types of all gro...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built with the Ca...
documentation.tex
Cactus Code Thorn RotatingSymmetry180 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 180 degree rotational symmetry boundary condition. This ...
README
## README (README): ``` Cactus Code Thorn RotatingSymmetry180 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 180 degree rotational symmetry bo...
CactusNumerical/RotatingSymmetry180
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn RotatingSymmetry180 REQUIRES THORNS: Slab
# Interface definition for thorn RotatingSymmetry180 IMPLEMENTS: RotatingSymmetry180 USES INCLUDE HEADER: Slab.h CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRegister # which_faces : array [N_FACES] # symmetry_zone_width: array [N_FACES] CCTK_INT FUNCTION ...
# Parameter definitions for thorn RotatingSymmetry180 BOOLEAN verbose "Produce screen output while applying boundary conditions" STEERABLE=always { } "no" KEYWORD hyperslabber "Hyperslabbing mechanism" STEERABLE=always { "TAT/Slab" :: "" "GetHyperslab" :: "" } "TAT/Slab" BOOLEAN use_coordbase "Get symmet...
# Schedule definitions for thorn RotatingSymmetry180 SCHEDULE Rot180_CheckTensorTypes AT paramcheck { LANG: C } "Check tensor type definitions for consistency" SCHEDULE Rot180_RegisterSymmetry IN SymmetryRegister { LANG: C } "Register symmetry boundaries" SCHEDULE Rot180_ComputeLevelExtent IN BoundaryConditions ...
registersymmetry.c
#include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include "rotatingsymmetry180.h" void Rot180_RegisterSymmetry (CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; CCTK_INT nboundaryzones[6]; CCTK_INT is_internal[6]; CCTK_INT is_staggered[6]; CCTK_INT shiftout...
interpolate.c rotatingsymmetry180.c make.code.defn rotatingsymmetry180.h
interpolate.c: ``` #include <assert.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "util_ErrorCodes.h" #include "util_Table.h" #include "rotatingsymmetry180.h" void Rot180_CheckTensorTypes (CCTK_ARGUMENTS) { int gi; /* Check tensor types of all gro...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built with the Ca...
documentation.tex
Cactus Code Thorn RotatingSymmetry180 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 180 degree rotational symmetry boundary condition. This ...
README
## README (README): ``` Cactus Code Thorn RotatingSymmetry180 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 180 degree rotational symmetry bo...
CactusNumerical/RotatingSymmetry180
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn RotatingSymmetry180 REQUIRES THORNS: Slab
# Interface definition for thorn RotatingSymmetry180 IMPLEMENTS: RotatingSymmetry180 USES INCLUDE HEADER: Slab.h CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRegister # which_faces : array [N_FACES] # symmetry_zone_width: array [N_FACES] CCTK_INT FUNCTION ...
# Parameter definitions for thorn RotatingSymmetry180 BOOLEAN verbose "Produce screen output while applying boundary conditions" STEERABLE=always { } "no" KEYWORD hyperslabber "Hyperslabbing mechanism" STEERABLE=always { "TAT/Slab" :: "" "GetHyperslab" :: "" } "TAT/Slab" BOOLEAN use_coordbase "Get symmet...
# Schedule definitions for thorn RotatingSymmetry180 SCHEDULE Rot180_CheckTensorTypes AT paramcheck { LANG: C } "Check tensor type definitions for consistency" SCHEDULE Rot180_RegisterSymmetry IN SymmetryRegister { LANG: C } "Register symmetry boundaries" SCHEDULE Rot180_ComputeLevelExtent IN BoundaryConditions ...
rotatingsymmetry180.h
#ifndef ROTATINGSYMMETRY180_H #define ROTATINGSYMMETRY180_H #include "cctk.h" #include "cctk_Arguments.h" void Rot180_RegisterSymmetry (CCTK_ARGUMENTS); int BndRot180VI (cGH const * restrict const cctkGH, int const nvars, CCTK_INT const * restrict const vis); void Rot180_ApplyBC (C...
interpolate.c rotatingsymmetry180.c make.code.defn registersymmetry.c
interpolate.c: ``` #include <assert.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "util_ErrorCodes.h" #include "util_Table.h" #include "rotatingsymmetry180.h" void Rot180_CheckTensorTypes (CCTK_ARGUMENTS) { int gi; /* Check tensor types of all gro...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built with the Ca...
documentation.tex
Cactus Code Thorn RotatingSymmetry180 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 180 degree rotational symmetry boundary condition. This ...
README
## README (README): ``` Cactus Code Thorn RotatingSymmetry180 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 180 degree rotational symmetry bo...
CactusNumerical/RotatingSymmetry90
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn RotatingSymmetry90 REQUIRES THORNS: Slab
# Interface definition for thorn RotatingSymmetry90 IMPLEMENTS: RotatingSymmetry90 USES INCLUDE HEADER: Slab.h CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRegister # which_faces : array [N_FACES] # symmetry_zone_width: array [N_FACES] CCTK_INT FUNCTION ...
# Parameter definitions for thorn RotatingSymmetry90 BOOLEAN verbose "Produce screen output while applying boundary conditions" { } "no" BOOLEAN poison_boundaries "Fill the symmetry boundary with a poison value before the symmetry is applied" STEERABLE=always { } "no" CCTK_INT poison_value "Integer value (0..255) ...
# Schedule definitions for thorn RotatingSymmetry90 SCHEDULE Rot90_CheckTensorTypes AT paramcheck { LANG: C } "Check tensor type definitions for consistency" SCHEDULE Rot90_RegisterSymmetry IN SymmetryRegister { LANG: C } "Register symmetry boundaries" SCHEDULE Rot90_ComputeLevelExtent IN BoundaryConditions BEFO...
interpolate.c
#include <assert.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "util_ErrorCodes.h" #include "util_Table.h" #include "rotatingsymmetry90.h" /* This is pretty hard coded into all the tensor types and cannot be changed easily. */ #define DIM 3 /* spatial dimension */ ...
rotatingsymmetry90.h make.code.defn registersymmetry.c rotatingsymmetry90.c
rotatingsymmetry90.h: ``` #ifndef ROTATINGSYMMETRY90_H #define ROTATINGSYMMETRY90_H #include "cctk.h" #include "cctk_Arguments.h" void Rot90_RegisterSymmetry (CCTK_ARGUMENTS); int BndRot90VI (cGH const * restrict const cctkGH, int const nvars, CCTK_INT const * restrict const vis); vo...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built with the Ca...
documentation.tex
Cactus Code Thorn RotatingSymmetry90 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 90 degree rotational symmetry boundary condition. This is...
README
## README (README): ``` Cactus Code Thorn RotatingSymmetry90 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 90 degree rotational symmetry boun...
CactusNumerical/RotatingSymmetry90
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn RotatingSymmetry90 REQUIRES THORNS: Slab
# Interface definition for thorn RotatingSymmetry90 IMPLEMENTS: RotatingSymmetry90 USES INCLUDE HEADER: Slab.h CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRegister # which_faces : array [N_FACES] # symmetry_zone_width: array [N_FACES] CCTK_INT FUNCTION ...
# Parameter definitions for thorn RotatingSymmetry90 BOOLEAN verbose "Produce screen output while applying boundary conditions" { } "no" BOOLEAN poison_boundaries "Fill the symmetry boundary with a poison value before the symmetry is applied" STEERABLE=always { } "no" CCTK_INT poison_value "Integer value (0..255) ...
# Schedule definitions for thorn RotatingSymmetry90 SCHEDULE Rot90_CheckTensorTypes AT paramcheck { LANG: C } "Check tensor type definitions for consistency" SCHEDULE Rot90_RegisterSymmetry IN SymmetryRegister { LANG: C } "Register symmetry boundaries" SCHEDULE Rot90_ComputeLevelExtent IN BoundaryConditions BEFO...
rotatingsymmetry90.h
#ifndef ROTATINGSYMMETRY90_H #define ROTATINGSYMMETRY90_H #include "cctk.h" #include "cctk_Arguments.h" void Rot90_RegisterSymmetry (CCTK_ARGUMENTS); int BndRot90VI (cGH const * restrict const cctkGH, int const nvars, CCTK_INT const * restrict const vis); void Rot90_ApplyBC (CCTK_ARG...
interpolate.c make.code.defn registersymmetry.c rotatingsymmetry90.c
interpolate.c: ``` #include <assert.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "util_ErrorCodes.h" #include "util_Table.h" #include "rotatingsymmetry90.h" /* This is pretty hard coded into all the tensor types and cannot be changed easily. */ #define DIM 3 /* spati...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built with the Ca...
documentation.tex
Cactus Code Thorn RotatingSymmetry90 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 90 degree rotational symmetry boundary condition. This is...
README
## README (README): ``` Cactus Code Thorn RotatingSymmetry90 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 90 degree rotational symmetry boun...
CactusNumerical/RotatingSymmetry90
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn RotatingSymmetry90 REQUIRES THORNS: Slab
# Interface definition for thorn RotatingSymmetry90 IMPLEMENTS: RotatingSymmetry90 USES INCLUDE HEADER: Slab.h CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRegister # which_faces : array [N_FACES] # symmetry_zone_width: array [N_FACES] CCTK_INT FUNCTION ...
# Parameter definitions for thorn RotatingSymmetry90 BOOLEAN verbose "Produce screen output while applying boundary conditions" { } "no" BOOLEAN poison_boundaries "Fill the symmetry boundary with a poison value before the symmetry is applied" STEERABLE=always { } "no" CCTK_INT poison_value "Integer value (0..255) ...
# Schedule definitions for thorn RotatingSymmetry90 SCHEDULE Rot90_CheckTensorTypes AT paramcheck { LANG: C } "Check tensor type definitions for consistency" SCHEDULE Rot90_RegisterSymmetry IN SymmetryRegister { LANG: C } "Register symmetry boundaries" SCHEDULE Rot90_ComputeLevelExtent IN BoundaryConditions BEFO...
make.code.defn
# Main make.code.defn file for thorn RotatingSymmetry90 # Source files in this directory SRCS = interpolate.c rotatingsymmetry90.c registersymmetry.c # Subdirectories containing source files SUBDIRS =
interpolate.c rotatingsymmetry90.h registersymmetry.c rotatingsymmetry90.c
interpolate.c: ``` #include <assert.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "util_ErrorCodes.h" #include "util_Table.h" #include "rotatingsymmetry90.h" /* This is pretty hard coded into all the tensor types and cannot be changed easily. */ #define DIM 3 /* spati...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built with the Ca...
documentation.tex
Cactus Code Thorn RotatingSymmetry90 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 90 degree rotational symmetry boundary condition. This is...
README
## README (README): ``` Cactus Code Thorn RotatingSymmetry90 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 90 degree rotational symmetry boun...
CactusNumerical/RotatingSymmetry90
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn RotatingSymmetry90 REQUIRES THORNS: Slab
# Interface definition for thorn RotatingSymmetry90 IMPLEMENTS: RotatingSymmetry90 USES INCLUDE HEADER: Slab.h CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRegister # which_faces : array [N_FACES] # symmetry_zone_width: array [N_FACES] CCTK_INT FUNCTION ...
# Parameter definitions for thorn RotatingSymmetry90 BOOLEAN verbose "Produce screen output while applying boundary conditions" { } "no" BOOLEAN poison_boundaries "Fill the symmetry boundary with a poison value before the symmetry is applied" STEERABLE=always { } "no" CCTK_INT poison_value "Integer value (0..255) ...
# Schedule definitions for thorn RotatingSymmetry90 SCHEDULE Rot90_CheckTensorTypes AT paramcheck { LANG: C } "Check tensor type definitions for consistency" SCHEDULE Rot90_RegisterSymmetry IN SymmetryRegister { LANG: C } "Register symmetry boundaries" SCHEDULE Rot90_ComputeLevelExtent IN BoundaryConditions BEFO...
registersymmetry.c
#include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include "rotatingsymmetry90.h" void Rot90_RegisterSymmetry (CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; CCTK_INT nboundaryzones[6]; CCTK_INT is_internal[6]; CCTK_INT is_staggered[6]; CCTK_INT shiftout[6]...
interpolate.c rotatingsymmetry90.h make.code.defn rotatingsymmetry90.c
interpolate.c: ``` #include <assert.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "util_ErrorCodes.h" #include "util_Table.h" #include "rotatingsymmetry90.h" /* This is pretty hard coded into all the tensor types and cannot be changed easily. */ #define DIM 3 /* spati...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built with the Ca...
documentation.tex
Cactus Code Thorn RotatingSymmetry90 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 90 degree rotational symmetry boundary condition. This is...
README
## README (README): ``` Cactus Code Thorn RotatingSymmetry90 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 90 degree rotational symmetry boun...
CactusNumerical/RotatingSymmetry90
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn RotatingSymmetry90 REQUIRES THORNS: Slab
# Interface definition for thorn RotatingSymmetry90 IMPLEMENTS: RotatingSymmetry90 USES INCLUDE HEADER: Slab.h CCTK_INT FUNCTION SymmetryRegister (CCTK_STRING IN sym_name) REQUIRES FUNCTION SymmetryRegister # which_faces : array [N_FACES] # symmetry_zone_width: array [N_FACES] CCTK_INT FUNCTION ...
# Parameter definitions for thorn RotatingSymmetry90 BOOLEAN verbose "Produce screen output while applying boundary conditions" { } "no" BOOLEAN poison_boundaries "Fill the symmetry boundary with a poison value before the symmetry is applied" STEERABLE=always { } "no" CCTK_INT poison_value "Integer value (0..255) ...
# Schedule definitions for thorn RotatingSymmetry90 SCHEDULE Rot90_CheckTensorTypes AT paramcheck { LANG: C } "Check tensor type definitions for consistency" SCHEDULE Rot90_RegisterSymmetry IN SymmetryRegister { LANG: C } "Register symmetry boundaries" SCHEDULE Rot90_ComputeLevelExtent IN BoundaryConditions BEFO...
rotatingsymmetry90.c
#include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <util_ErrorCodes.h> #include <util_Table.h> #include <Slab.h> #include "rotatingsymmetry90.h" #include <assert.h> #include <math.h> #include <stdlib.h> #include <string.h> /* This is pretty hard coded into all the tensor types an...
interpolate.c rotatingsymmetry90.h make.code.defn registersymmetry.c
interpolate.c: ``` #include <assert.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "util_ErrorCodes.h" #include "util_Table.h" #include "rotatingsymmetry90.h" /* This is pretty hard coded into all the tensor types and cannot be changed easily. */ #define DIM 3 /* spati...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built with the Ca...
documentation.tex
Cactus Code Thorn RotatingSymmetry90 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 90 degree rotational symmetry boundary condition. This is...
README
## README (README): ``` Cactus Code Thorn RotatingSymmetry90 Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : GPL -------------------------------------------------------------------------- 1. Purpose Provide a 90 degree rotational symmetry boun...
CactusNumerical/Slab
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Slab PROVIDES Slab { } OPTIONAL LoopControl MPI { }
# Interface definition for thorn Slab IMPLEMENTS: Slab INCLUDES HEADER: slab.h IN Slab.h INCLUDES HEADER: slab.inc IN Slab.inc USES INCLUDE HEADER: loopcontrol.h CCTK_POINTER_TO_CONST \ FUNCTION GetMPICommWorld (CCTK_POINTER_TO_CONST IN cctkGH) USES FUNCTION GetMPICommWorld
# Parameter definitions for thorn Slab BOOLEAN timer_output "Print slabbing timings at shutdown time" STEERABLE=always { } "no" BOOLEAN use_alltoallv "Use MPI_Alltoallv for communication?" STEERABLE=always { } "no"
# Schedule definitions for thorn Slab SCHEDULE Slab_InitMPIDatatypes AT startup after Driver_Startup { LANG: C } "Create MPI datatypes for complex variables in C" SCHEDULE Slab_InitTimers AT wragh { LANG: C } "Initialise timers" if (timer_output) { SCHEDULE Slab_PrintTimers AT shutdown { LANG: C } "Pri...
slab.cc
// TODO: // Provide facilities for dim > 3 // Set up the slab exchange information in advance // Slab in several stages // Test slabbing without MPI // Allow not setting the ghost zones // Allow not using / not setting the boundaries // Allow different numbers of ghost zones at the lower and upper boundary // Print ...
slab.h make.code.defn slab.inc
slab.h: ``` #ifndef SLAB_H #define SLAB_H #ifdef __cplusplus extern "C" { #endif #include <stdio.h> #include <cctk.h> /* * Slab_Transfer copies a slab from one array into a slab of another * array. * * The src and dst variables describe the source and the destination * slab, respectively. * * The variabl...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built with the C...
documentation.tex
Cactus Code Thorn Slab Thorn Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Thorn Maintainer(s) : Erik Schnetter <schnetter@cct.lsu.edu> -------------------------------------------------------------------------- Purpose of the thorn: This thorn provides routines that use MPI to transfer slabs of arrays betwee...
README
## README (README): ``` Cactus Code Thorn Slab Thorn Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Thorn Maintainer(s) : Erik Schnetter <schnetter@cct.lsu.edu> -------------------------------------------------------------------------- Purpose of the thorn: This thorn provides routines that use MPI to transfe...
CactusNumerical/Slab
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Slab PROVIDES Slab { } OPTIONAL LoopControl MPI { }
# Interface definition for thorn Slab IMPLEMENTS: Slab INCLUDES HEADER: slab.h IN Slab.h INCLUDES HEADER: slab.inc IN Slab.inc USES INCLUDE HEADER: loopcontrol.h CCTK_POINTER_TO_CONST \ FUNCTION GetMPICommWorld (CCTK_POINTER_TO_CONST IN cctkGH) USES FUNCTION GetMPICommWorld
# Parameter definitions for thorn Slab BOOLEAN timer_output "Print slabbing timings at shutdown time" STEERABLE=always { } "no" BOOLEAN use_alltoallv "Use MPI_Alltoallv for communication?" STEERABLE=always { } "no"
# Schedule definitions for thorn Slab SCHEDULE Slab_InitMPIDatatypes AT startup after Driver_Startup { LANG: C } "Create MPI datatypes for complex variables in C" SCHEDULE Slab_InitTimers AT wragh { LANG: C } "Initialise timers" if (timer_output) { SCHEDULE Slab_PrintTimers AT shutdown { LANG: C } "Pri...
slab.h
#ifndef SLAB_H #define SLAB_H #ifdef __cplusplus extern "C" { #endif #include <stdio.h> #include <cctk.h> /* * Slab_Transfer copies a slab from one array into a slab of another * array. * * The src and dst variables describe the source and the destination * slab, respectively. * * The variables gsh, lbnd...
slab.cc make.code.defn slab.inc
slab.cc: ``` // TODO: // Provide facilities for dim > 3 // Set up the slab exchange information in advance // Slab in several stages // Test slabbing without MPI // Allow not setting the ghost zones // Allow not using / not setting the boundaries // Allow different numbers of ghost zones at the lower and upper boundary...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built with the C...
documentation.tex
Cactus Code Thorn Slab Thorn Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Thorn Maintainer(s) : Erik Schnetter <schnetter@cct.lsu.edu> -------------------------------------------------------------------------- Purpose of the thorn: This thorn provides routines that use MPI to transfer slabs of arrays betwee...
README
## README (README): ``` Cactus Code Thorn Slab Thorn Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Thorn Maintainer(s) : Erik Schnetter <schnetter@cct.lsu.edu> -------------------------------------------------------------------------- Purpose of the thorn: This thorn provides routines that use MPI to transfe...
CactusNumerical/Slab
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Slab PROVIDES Slab { } OPTIONAL LoopControl MPI { }
# Interface definition for thorn Slab IMPLEMENTS: Slab INCLUDES HEADER: slab.h IN Slab.h INCLUDES HEADER: slab.inc IN Slab.inc USES INCLUDE HEADER: loopcontrol.h CCTK_POINTER_TO_CONST \ FUNCTION GetMPICommWorld (CCTK_POINTER_TO_CONST IN cctkGH) USES FUNCTION GetMPICommWorld
# Parameter definitions for thorn Slab BOOLEAN timer_output "Print slabbing timings at shutdown time" STEERABLE=always { } "no" BOOLEAN use_alltoallv "Use MPI_Alltoallv for communication?" STEERABLE=always { } "no"
# Schedule definitions for thorn Slab SCHEDULE Slab_InitMPIDatatypes AT startup after Driver_Startup { LANG: C } "Create MPI datatypes for complex variables in C" SCHEDULE Slab_InitTimers AT wragh { LANG: C } "Initialise timers" if (timer_output) { SCHEDULE Slab_PrintTimers AT shutdown { LANG: C } "Pri...
make.code.defn
# Main make.code.defn file for thorn Slab # Source files in this directory SRCS = slab.cc # Subdirectories containing source files SUBDIRS =
slab.cc slab.h slab.inc
slab.cc: ``` // TODO: // Provide facilities for dim > 3 // Set up the slab exchange information in advance // Slab in several stages // Test slabbing without MPI // Allow not setting the ghost zones // Allow not using / not setting the boundaries // Allow different numbers of ghost zones at the lower and upper boundary...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built with the C...
documentation.tex
Cactus Code Thorn Slab Thorn Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Thorn Maintainer(s) : Erik Schnetter <schnetter@cct.lsu.edu> -------------------------------------------------------------------------- Purpose of the thorn: This thorn provides routines that use MPI to transfer slabs of arrays betwee...
README
## README (README): ``` Cactus Code Thorn Slab Thorn Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Thorn Maintainer(s) : Erik Schnetter <schnetter@cct.lsu.edu> -------------------------------------------------------------------------- Purpose of the thorn: This thorn provides routines that use MPI to transfe...
CactusNumerical/Slab
https://bitbucket.org/cactuscode/cactusnumerical.git
# Configuration definition for thorn Slab PROVIDES Slab { } OPTIONAL LoopControl MPI { }
# Interface definition for thorn Slab IMPLEMENTS: Slab INCLUDES HEADER: slab.h IN Slab.h INCLUDES HEADER: slab.inc IN Slab.inc USES INCLUDE HEADER: loopcontrol.h CCTK_POINTER_TO_CONST \ FUNCTION GetMPICommWorld (CCTK_POINTER_TO_CONST IN cctkGH) USES FUNCTION GetMPICommWorld
# Parameter definitions for thorn Slab BOOLEAN timer_output "Print slabbing timings at shutdown time" STEERABLE=always { } "no" BOOLEAN use_alltoallv "Use MPI_Alltoallv for communication?" STEERABLE=always { } "no"
# Schedule definitions for thorn Slab SCHEDULE Slab_InitMPIDatatypes AT startup after Driver_Startup { LANG: C } "Create MPI datatypes for complex variables in C" SCHEDULE Slab_InitTimers AT wragh { LANG: C } "Initialise timers" if (timer_output) { SCHEDULE Slab_PrintTimers AT shutdown { LANG: C } "Pri...
slab.inc
! -*-F90-*- interface subroutine Slab_Transfer (ierr, cctkGH, dim, & src_gsh, src_lbnd, src_lsh, src_ash, & src_lbbox, src_ubbox, src_nghostzones, & src_off, src_str, src_len, & dst_gsh, dst_lbnd, dst_lsh, dst_ash, & dst_lbbox, dst_ubbox, dst_nghostzones, & dst_off, d...
slab.cc slab.h make.code.defn
slab.cc: ``` // TODO: // Provide facilities for dim > 3 // Set up the slab exchange information in advance // Slab in several stages // Test slabbing without MPI // Allow not setting the ghost zones // Allow not using / not setting the boundaries // Allow different numbers of ghost zones at the lower and upper boundary...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built with the C...
documentation.tex
Cactus Code Thorn Slab Thorn Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Thorn Maintainer(s) : Erik Schnetter <schnetter@cct.lsu.edu> -------------------------------------------------------------------------- Purpose of the thorn: This thorn provides routines that use MPI to transfer slabs of arrays betwee...
README
## README (README): ``` Cactus Code Thorn Slab Thorn Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Thorn Maintainer(s) : Erik Schnetter <schnetter@cct.lsu.edu> -------------------------------------------------------------------------- Purpose of the thorn: This thorn provides routines that use MPI to transfe...
CactusNumerical/TestLocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn TestLocalReduce # $Header$ implements: TestLocalReduce public: real real_vals type=scalar { real_max_3D real_max_2D real_max_1D real_sum_3D real_sum_2D real_sum_1D real_avg_3D real_avg_2D real_avg_1D } "results from real reduction" int int_vals type=scalar { ...
# Parameter definitions for thorn TestLocalReduce # $Header$ INT array_nx "Size of arrays in x direction" { 0:* :: "" } 4 INT array_ny "Size of arrays in y direction" { 0:* :: "" } 5 INT array_nz "Size of arrays in z direction" { 0:* :: "" } 10
# Schedule definitions for thorn TestLocalReduce # $Header$ STORAGE: real_vals int_vals schedule TestLocalReduceC_Maximum at CCTK_POSTINITIAL { LANG: C } "Test out maximum reductions from C" schedule TestLocalReduceC_Sum at CCTK_POSTINITIAL { LANG: C } "Test out sum reductions from C" schedule TestLocalReduceC...
Reduce_Maximum.c
/*@@ @file Reduce_Maximum.c @date Tues Sep 7 16:00:29 2004 @author Yaakoub El Khamra @desc Test the new local maximum reduction implementation @enddesc @version $Id$ @@*/ #include <stdlib.h> #include "cctk.h" #include "util_Table.h" #include "cctk_Arguments.h" #inclu...
Reduce_Avg.c make.code.defn Reduce_Sum.c
Reduce_Avg.c: ``` /*@@ @file Reduce_Avg.c @date Tue Aug 31 12:48:07 2004 @author Yaakoub Y El-Khamra @desc Test the local reduction interface and operators. @enddesc @version $Header$ @@*/ #include <stdlib.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn TestLocalReduce Author(s) : unknown Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented
README
## README (README): ``` Cactus Code Thorn TestLocalReduce Author(s) : unknown Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented ``` ## Documentation (.tex files): Files: documentation.tex ```tex === documentation.t...
CactusNumerical/TestLocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn TestLocalReduce # $Header$ implements: TestLocalReduce public: real real_vals type=scalar { real_max_3D real_max_2D real_max_1D real_sum_3D real_sum_2D real_sum_1D real_avg_3D real_avg_2D real_avg_1D } "results from real reduction" int int_vals type=scalar { ...
# Parameter definitions for thorn TestLocalReduce # $Header$ INT array_nx "Size of arrays in x direction" { 0:* :: "" } 4 INT array_ny "Size of arrays in y direction" { 0:* :: "" } 5 INT array_nz "Size of arrays in z direction" { 0:* :: "" } 10
# Schedule definitions for thorn TestLocalReduce # $Header$ STORAGE: real_vals int_vals schedule TestLocalReduceC_Maximum at CCTK_POSTINITIAL { LANG: C } "Test out maximum reductions from C" schedule TestLocalReduceC_Sum at CCTK_POSTINITIAL { LANG: C } "Test out sum reductions from C" schedule TestLocalReduceC...
Reduce_Avg.c
/*@@ @file Reduce_Avg.c @date Tue Aug 31 12:48:07 2004 @author Yaakoub Y El-Khamra @desc Test the local reduction interface and operators. @enddesc @version $Header$ @@*/ #include <stdlib.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" static const ...
Reduce_Maximum.c make.code.defn Reduce_Sum.c
Reduce_Maximum.c: ``` /*@@ @file Reduce_Maximum.c @date Tues Sep 7 16:00:29 2004 @author Yaakoub El Khamra @desc Test the new local maximum reduction implementation @enddesc @version $Id$ @@*/ #include <stdlib.h> #include "cctk.h" #include "util_Table.h" #include "cc...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn TestLocalReduce Author(s) : unknown Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented
README
## README (README): ``` Cactus Code Thorn TestLocalReduce Author(s) : unknown Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented ``` ## Documentation (.tex files): Files: documentation.tex ```tex === documentation.t...
CactusNumerical/TestLocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn TestLocalReduce # $Header$ implements: TestLocalReduce public: real real_vals type=scalar { real_max_3D real_max_2D real_max_1D real_sum_3D real_sum_2D real_sum_1D real_avg_3D real_avg_2D real_avg_1D } "results from real reduction" int int_vals type=scalar { ...
# Parameter definitions for thorn TestLocalReduce # $Header$ INT array_nx "Size of arrays in x direction" { 0:* :: "" } 4 INT array_ny "Size of arrays in y direction" { 0:* :: "" } 5 INT array_nz "Size of arrays in z direction" { 0:* :: "" } 10
# Schedule definitions for thorn TestLocalReduce # $Header$ STORAGE: real_vals int_vals schedule TestLocalReduceC_Maximum at CCTK_POSTINITIAL { LANG: C } "Test out maximum reductions from C" schedule TestLocalReduceC_Sum at CCTK_POSTINITIAL { LANG: C } "Test out sum reductions from C" schedule TestLocalReduceC...
make.code.defn
# Main make.code.defn file for thorn TestReduce # $Header$ # Source files in this directory SRCS = Reduce_Maximum.c Reduce_Sum.c Reduce_Avg.c # Subdirectories containing source files SUBDIRS =
Reduce_Maximum.c Reduce_Avg.c Reduce_Sum.c
Reduce_Maximum.c: ``` /*@@ @file Reduce_Maximum.c @date Tues Sep 7 16:00:29 2004 @author Yaakoub El Khamra @desc Test the new local maximum reduction implementation @enddesc @version $Id$ @@*/ #include <stdlib.h> #include "cctk.h" #include "util_Table.h" #include "cc...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn TestLocalReduce Author(s) : unknown Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented
README
## README (README): ``` Cactus Code Thorn TestLocalReduce Author(s) : unknown Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented ``` ## Documentation (.tex files): Files: documentation.tex ```tex === documentation.t...
CactusNumerical/TestLocalReduce
https://bitbucket.org/cactuscode/cactusnumerical.git
# Interface definition for thorn TestLocalReduce # $Header$ implements: TestLocalReduce public: real real_vals type=scalar { real_max_3D real_max_2D real_max_1D real_sum_3D real_sum_2D real_sum_1D real_avg_3D real_avg_2D real_avg_1D } "results from real reduction" int int_vals type=scalar { ...
# Parameter definitions for thorn TestLocalReduce # $Header$ INT array_nx "Size of arrays in x direction" { 0:* :: "" } 4 INT array_ny "Size of arrays in y direction" { 0:* :: "" } 5 INT array_nz "Size of arrays in z direction" { 0:* :: "" } 10
# Schedule definitions for thorn TestLocalReduce # $Header$ STORAGE: real_vals int_vals schedule TestLocalReduceC_Maximum at CCTK_POSTINITIAL { LANG: C } "Test out maximum reductions from C" schedule TestLocalReduceC_Sum at CCTK_POSTINITIAL { LANG: C } "Test out sum reductions from C" schedule TestLocalReduceC...
Reduce_Sum.c
/*@@ @file Reduce_Sum.c @date Tues Sep 7 16:00:29 2004 @author Yaakoub El Khamra @desc Test the new local sum reduction implementation @enddesc @version $Id$ @@*/ #include <stdlib.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" static co...
Reduce_Maximum.c Reduce_Avg.c make.code.defn
Reduce_Maximum.c: ``` /*@@ @file Reduce_Maximum.c @date Tues Sep 7 16:00:29 2004 @author Yaakoub El Khamra @desc Test the new local maximum reduction implementation @enddesc @version $Id$ @@*/ #include <stdlib.h> #include "cctk.h" #include "util_Table.h" #include "cc...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn TestLocalReduce Author(s) : unknown Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented
README
## README (README): ``` Cactus Code Thorn TestLocalReduce Author(s) : unknown Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented ``` ## Documentation (.tex files): Files: documentation.tex ```tex === documentation.t...
CactusTest/TestArrays
https://bitbucket.org/cactuscode/cactustest.git
# Interface definition for thorn Arrays # $Header$ implements: Arrays REAL foo1d TYPE=ARRAY DIM=1 SIZE=xsize1d GHOSTSIZE=xghost1d { gf1d } REAL foo2d TYPE=ARRAY DIM=2 SIZE=xsize2d,ysize2d GHOSTSIZE=xghost2d,yghost2d { gf2d } REAL foo3d TYPE=ARRAY DIM=3 SIZE=xsize3d,ysize3d,zsize3d GHOSTSIZE=xghost3d,yghost3d,zg...
# Parameter definitions for thorn Arrays # $Header$ private: # 4D Arrays INT xghost4d "Ghostzone size in x direction for 4d arrays" { 0:* :: "" } 1 INT yghost4d "Ghostzone size in y direction for 4d arrays" { 0:* :: "" } 1 INT zghost4d "Ghostzone size in z direction for 4d arrays" { 0:* :: "" } 1 INT tghost...
# Schedule definitions for thorn Arrays # $Header$ storage: foo1d,foo2d,foo3d,foo4d storage: bar_a_0d storage: bar_a_1d bar_b_1d bar_c_1d bar_d_1d bar_e_1d bar_f_1d storage: bar_a_2d bar_b_2d bar_c_2d bar_d_2d bar_e_2d bar_f_2d storage: bar_g_2d bar_h_2d bar_i_2d bar_j_2d bar_k_2d bar_l_2d storage: bar_a_3d bar_b_3d b...
make.code.defn
# Main make.code.defn file for thorn Arrays # $Header$ # Source files in this directory SRCS = Array.F # Subdirectories containing source files SUBDIRS =
Array.F
Array.F: ``` /*@@ @file Array.F @date @author Gabrielle Allen @desc Set up and use arrays @enddesc @@*/ #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Functions.h" #include "cctk_Parameters.h" subroutine SetUpFortranArrays(CCTK_ARGUMENTS) im...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn TestArrays Author(s) : unknown Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented
README
## README (README): ``` Cactus Code Thorn TestArrays Author(s) : unknown Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented ``` ## Documentation (.tex files): Files: documentation.tex ```tex === documentation.tex ==...
CactusTest/TestArrays
https://bitbucket.org/cactuscode/cactustest.git
# Interface definition for thorn Arrays # $Header$ implements: Arrays REAL foo1d TYPE=ARRAY DIM=1 SIZE=xsize1d GHOSTSIZE=xghost1d { gf1d } REAL foo2d TYPE=ARRAY DIM=2 SIZE=xsize2d,ysize2d GHOSTSIZE=xghost2d,yghost2d { gf2d } REAL foo3d TYPE=ARRAY DIM=3 SIZE=xsize3d,ysize3d,zsize3d GHOSTSIZE=xghost3d,yghost3d,zg...
# Parameter definitions for thorn Arrays # $Header$ private: # 4D Arrays INT xghost4d "Ghostzone size in x direction for 4d arrays" { 0:* :: "" } 1 INT yghost4d "Ghostzone size in y direction for 4d arrays" { 0:* :: "" } 1 INT zghost4d "Ghostzone size in z direction for 4d arrays" { 0:* :: "" } 1 INT tghost...
# Schedule definitions for thorn Arrays # $Header$ storage: foo1d,foo2d,foo3d,foo4d storage: bar_a_0d storage: bar_a_1d bar_b_1d bar_c_1d bar_d_1d bar_e_1d bar_f_1d storage: bar_a_2d bar_b_2d bar_c_2d bar_d_2d bar_e_2d bar_f_2d storage: bar_g_2d bar_h_2d bar_i_2d bar_j_2d bar_k_2d bar_l_2d storage: bar_a_3d bar_b_3d b...
Array.F
/*@@ @file Array.F @date @author Gabrielle Allen @desc Set up and use arrays @enddesc @@*/ #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Functions.h" #include "cctk_Parameters.h" subroutine SetUpFortranArrays(CCTK_ARGUMENTS) implicit none ...
make.code.defn
make.code.defn: ``` # Main make.code.defn file for thorn Arrays # $Header$ # Source files in this directory SRCS = Array.F # Subdirectories containing source files SUBDIRS = ```
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn TestArrays Author(s) : unknown Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented
README
## README (README): ``` Cactus Code Thorn TestArrays Author(s) : unknown Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented ``` ## Documentation (.tex files): Files: documentation.tex ```tex === documentation.tex ==...
CactusTest/TestComplex
https://bitbucket.org/cactuscode/cactustest.git
# Interface definition for thorn TestComplex # $Header$ implements: testcomplex complex cvars3d dim=3 type=gf timelevels=2 { comp3d } "3D complex grid functions" #complex cvars2d dim=2 type=gf #{ # comp2d #} "2D complex grid functions" #complex cvars1d dim=1 type=gf #{ # comp1d #} "1D complex grid functions" c...
# Parameter definitions for thorn TestComplex # $Header$ REAL power_value "power of the complex number to take" STEERABLE = ALWAYS { 0.0: :: "Some positive value" } 0.5 REAL real_value "power of the complex number to take" STEERABLE = ALWAYS { *:* :: "real part" } 3 REAL imaginary_value "power of the complex numb...
# Schedule definitions for thorn TestComplex # $Header$ STORAGE: cvars3d[2] STORAGE: carrays3d carrays2d carrays1d cscalars STORAGE: cmplx_output schedule InitComplex3D at INITIAL { LANG: Fortran } "Initialise 3D complex grid functions" schedule EvolveComplex3D at EVOL { LANG: Fortran SYNC: cvars3d } "Evolve 3...
Complex.c
#include <math.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" static const char *rcsid = "$Id$"; CCTK_FILEVERSION(CactusTest_TestComplex_Complex_c); void TestComplexPower(CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; CCTK_COMPLEX num, tmp; num = CCTK...
make.code.defn Complex3D.F77
make.code.defn: ``` # Main make.code.defn file for thorn TestComplex # $Header$ # Source files in this directory SRCS = Complex3D.F77 Complex.c # Subdirectories containing source files SUBDIRS = ``` Complex3D.F77: ``` c $Header$ #include "cctk.h" #include "cctk_Arguments.h" subroutine InitComplex3D(CC...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn TestComplex Author(s) : unknown Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented
README
## README (README): ``` Cactus Code Thorn TestComplex Author(s) : unknown Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented ``` ## Documentation (.tex files): Files: documentation.tex ```tex === documentation.tex =...
CactusTest/TestComplex
https://bitbucket.org/cactuscode/cactustest.git
# Interface definition for thorn TestComplex # $Header$ implements: testcomplex complex cvars3d dim=3 type=gf timelevels=2 { comp3d } "3D complex grid functions" #complex cvars2d dim=2 type=gf #{ # comp2d #} "2D complex grid functions" #complex cvars1d dim=1 type=gf #{ # comp1d #} "1D complex grid functions" c...
# Parameter definitions for thorn TestComplex # $Header$ REAL power_value "power of the complex number to take" STEERABLE = ALWAYS { 0.0: :: "Some positive value" } 0.5 REAL real_value "power of the complex number to take" STEERABLE = ALWAYS { *:* :: "real part" } 3 REAL imaginary_value "power of the complex numb...
# Schedule definitions for thorn TestComplex # $Header$ STORAGE: cvars3d[2] STORAGE: carrays3d carrays2d carrays1d cscalars STORAGE: cmplx_output schedule InitComplex3D at INITIAL { LANG: Fortran } "Initialise 3D complex grid functions" schedule EvolveComplex3D at EVOL { LANG: Fortran SYNC: cvars3d } "Evolve 3...
make.code.defn
# Main make.code.defn file for thorn TestComplex # $Header$ # Source files in this directory SRCS = Complex3D.F77 Complex.c # Subdirectories containing source files SUBDIRS =
Complex.c Complex3D.F77
Complex.c: ``` #include <math.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" static const char *rcsid = "$Id$"; CCTK_FILEVERSION(CactusTest_TestComplex_Complex_c); void TestComplexPower(CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; CCTK_COMPLEX num, tmp; ...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn TestComplex Author(s) : unknown Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented
README
## README (README): ``` Cactus Code Thorn TestComplex Author(s) : unknown Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented ``` ## Documentation (.tex files): Files: documentation.tex ```tex === documentation.tex =...
CactusTest/TestComplex
https://bitbucket.org/cactuscode/cactustest.git
# Interface definition for thorn TestComplex # $Header$ implements: testcomplex complex cvars3d dim=3 type=gf timelevels=2 { comp3d } "3D complex grid functions" #complex cvars2d dim=2 type=gf #{ # comp2d #} "2D complex grid functions" #complex cvars1d dim=1 type=gf #{ # comp1d #} "1D complex grid functions" c...
# Parameter definitions for thorn TestComplex # $Header$ REAL power_value "power of the complex number to take" STEERABLE = ALWAYS { 0.0: :: "Some positive value" } 0.5 REAL real_value "power of the complex number to take" STEERABLE = ALWAYS { *:* :: "real part" } 3 REAL imaginary_value "power of the complex numb...
# Schedule definitions for thorn TestComplex # $Header$ STORAGE: cvars3d[2] STORAGE: carrays3d carrays2d carrays1d cscalars STORAGE: cmplx_output schedule InitComplex3D at INITIAL { LANG: Fortran } "Initialise 3D complex grid functions" schedule EvolveComplex3D at EVOL { LANG: Fortran SYNC: cvars3d } "Evolve 3...
Complex3D.F77
c $Header$ #include "cctk.h" #include "cctk_Arguments.h" subroutine InitComplex3D(CCTK_ARGUMENTS) implicit none DECLARE_CCTK_ARGUMENTS integer grouplbnd(3), grouplsh(3) integer i0,j0,k0 integer nx,ny,nz integer i,j,k integer ierr i0 = cctk_lbnd(1) j0...
Complex.c make.code.defn
Complex.c: ``` #include <math.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" static const char *rcsid = "$Id$"; CCTK_FILEVERSION(CactusTest_TestComplex_Complex_c); void TestComplexPower(CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; CCTK_COMPLEX num, tmp; ...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file d...
documentation.tex
Cactus Code Thorn TestComplex Author(s) : unknown Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented
README
## README (README): ``` Cactus Code Thorn TestComplex Author(s) : unknown Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented ``` ## Documentation (.tex files): Files: documentation.tex ```tex === documentation.tex =...
CactusTest/TestFpointerNULL
https://bitbucket.org/cactuscode/cactustest.git
# Interface definition for thorn TestFpointerNULL # $Header$ implements: TestFpointerNULL private: REAL array_group TYPE=ARRAY DIM=2 SIZE=5,10 { array } "CCTK_REAL test array" INT scalar_group TYPE=SCALAR { scalar } "CCTK_INT test scalar"
# Parameter definitions for thorn TestFpointerNULL # $Header$
# Schedule definitions for thorn TestFpointerNULL # $Header$ STORAGE: scalar_group array_group SCHEDULE TestFpointerNULL_Caller AT INITIAL { LANG: C } "Test passing a NULL pointer from a C function into Fortran routine"
make.code.defn
# Main make.code.defn file for thorn PassNULLtoFortran # $Header$ # Source files in this directory SRCS = Caller.c Callee.F77
Caller.c Callee.F77
Caller.c: ``` /*@@ @file Caller.c @date Thu 13 June 2002 @author Thomas Radke @desc C interface of the TestFpointerNULL thorn. @enddesc @version $Id$ @@*/ #include <stdio.h> #include <string.h> #include "cctk.h" #include "cctk_FortranString.h" /* the rcsid and the macr...
Cactus Code Thorn TestFpointerNULL Author(s) : Thomas Radke Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn tests whether a Fortran routine accepts a NULL pointer reference as a function argument when called from a C fu...
README
## README (README): ``` Cactus Code Thorn TestFpointerNULL Author(s) : Thomas Radke Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn tests whether a Fortran routine accepts a NULL pointer reference as a function argument...
CactusTest/TestFpointerNULL
https://bitbucket.org/cactuscode/cactustest.git
# Interface definition for thorn TestFpointerNULL # $Header$ implements: TestFpointerNULL private: REAL array_group TYPE=ARRAY DIM=2 SIZE=5,10 { array } "CCTK_REAL test array" INT scalar_group TYPE=SCALAR { scalar } "CCTK_INT test scalar"
# Parameter definitions for thorn TestFpointerNULL # $Header$
# Schedule definitions for thorn TestFpointerNULL # $Header$ STORAGE: scalar_group array_group SCHEDULE TestFpointerNULL_Caller AT INITIAL { LANG: C } "Test passing a NULL pointer from a C function into Fortran routine"
Caller.c
/*@@ @file Caller.c @date Thu 13 June 2002 @author Thomas Radke @desc C interface of the TestFpointerNULL thorn. @enddesc @version $Id$ @@*/ #include <stdio.h> #include <string.h> #include "cctk.h" #include "cctk_FortranString.h" /* the rcsid and the macro to use it */...
make.code.defn Callee.F77
make.code.defn: ``` # Main make.code.defn file for thorn PassNULLtoFortran # $Header$ # Source files in this directory SRCS = Caller.c Callee.F77 ``` Callee.F77: ``` c @@ c @file Callee.c c @date Thu 13 June 2002 c @author Thomas Radke c @desc c Fortran interface of the TestFpointerNULL ...
Cactus Code Thorn TestFpointerNULL Author(s) : Thomas Radke Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn tests whether a Fortran routine accepts a NULL pointer reference as a function argument when called from a C fu...
README
## README (README): ``` Cactus Code Thorn TestFpointerNULL Author(s) : Thomas Radke Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn tests whether a Fortran routine accepts a NULL pointer reference as a function argument...
CactusTest/TestFpointerNULL
https://bitbucket.org/cactuscode/cactustest.git
# Interface definition for thorn TestFpointerNULL # $Header$ implements: TestFpointerNULL private: REAL array_group TYPE=ARRAY DIM=2 SIZE=5,10 { array } "CCTK_REAL test array" INT scalar_group TYPE=SCALAR { scalar } "CCTK_INT test scalar"
# Parameter definitions for thorn TestFpointerNULL # $Header$
# Schedule definitions for thorn TestFpointerNULL # $Header$ STORAGE: scalar_group array_group SCHEDULE TestFpointerNULL_Caller AT INITIAL { LANG: C } "Test passing a NULL pointer from a C function into Fortran routine"
Callee.F77
c @@ c @file Callee.c c @date Thu 13 June 2002 c @author Thomas Radke c @desc c Fortran interface of the TestFpointerNULL thorn. c @enddesc c @version $Id$ c@@ #include "cctk.h" c @@ c @routine TestFpointerNULL_Callee c @author Thomas Radke c @date Thu 13 June 2002 c...
make.code.defn Caller.c
make.code.defn: ``` # Main make.code.defn file for thorn PassNULLtoFortran # $Header$ # Source files in this directory SRCS = Caller.c Callee.F77 ``` Caller.c: ``` /*@@ @file Caller.c @date Thu 13 June 2002 @author Thomas Radke @desc C interface of the TestFpointerNULL thorn. ...
Cactus Code Thorn TestFpointerNULL Author(s) : Thomas Radke Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn tests whether a Fortran routine accepts a NULL pointer reference as a function argument when called from a C fu...
README
## README (README): ``` Cactus Code Thorn TestFpointerNULL Author(s) : Thomas Radke Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose This thorn tests whether a Fortran routine accepts a NULL pointer reference as a function argument...
CactusTest/TestGlobalReduce
https://bitbucket.org/cactuscode/cactustest.git
# Interface definition for thorn TestGlobalReduce # $Header$ implements:testglobalreduce inherits: grid public: cctk_real real_3d dim=3 type=ARRAY size=array_nx,array_ny,array_nz { grid_real } "grid array to be reduced of type real" cctk_int int_3d dim=3 type=ARRAY size=array_nx,array_ny,array_nz { grid_int } "g...
# Parameter definitions for thorn TestGlobalReduce # $Header$ INT array_nx "Size of arrays in x direction" { 0:* :: "" } 5 INT array_ny "Size of arrays in y direction" { 0:* :: "" } 4 INT array_nz "Size of arrays in z direction" { 0:* :: "" } 10 INT dest_proc "processor to which reduction is to be made" { *:...
# Schedule definitions for thorn TestGlobapdReduce # $Header$ STORAGE: real_3d int_3d real_vals int_vals weighted_real_vals weighted_int_vals real_gf[1] gf_vals[1] scalar_reduction weight_group schedule TestGlobalReduce_Initial at CCTK_INITIAL { LANG:C } "Initialize the input arrays to values" schedule TestGlobalR...
Initial.c
/*@@ @file Initial.c @date Tues Sep 7 16:00:29 2004 @author Yaakoub El Khamra @desc Setup the grid arrays we want to test reduction with @enddesc @version $Id$ @@*/ #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include <math.h> static co...
make.code.defn TestGlobalReduce.c
make.code.defn: ``` # Main make.code.defn file for thorn TestGlobalReduce # $Header$ # Source files in this directory SRCS = Initial.c TestGlobalReduce.c # Subdirectories containing source files SUBDIRS = ``` TestGlobalReduce.c: ``` /*@@ @file TestGlobalReduce.c @date Tues Sep 7 16:00:29 2004 ...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn TestGlobalReduce Author(s) : Yaakoub Y El Khamra Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented
README
## README (README): ``` Cactus Code Thorn TestGlobalReduce Author(s) : Yaakoub Y El Khamra Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented ``` ## Documentation (.tex files): Files: documentation.tex ```tex === do...
CactusTest/TestGlobalReduce
https://bitbucket.org/cactuscode/cactustest.git
# Interface definition for thorn TestGlobalReduce # $Header$ implements:testglobalreduce inherits: grid public: cctk_real real_3d dim=3 type=ARRAY size=array_nx,array_ny,array_nz { grid_real } "grid array to be reduced of type real" cctk_int int_3d dim=3 type=ARRAY size=array_nx,array_ny,array_nz { grid_int } "g...
# Parameter definitions for thorn TestGlobalReduce # $Header$ INT array_nx "Size of arrays in x direction" { 0:* :: "" } 5 INT array_ny "Size of arrays in y direction" { 0:* :: "" } 4 INT array_nz "Size of arrays in z direction" { 0:* :: "" } 10 INT dest_proc "processor to which reduction is to be made" { *:...
# Schedule definitions for thorn TestGlobapdReduce # $Header$ STORAGE: real_3d int_3d real_vals int_vals weighted_real_vals weighted_int_vals real_gf[1] gf_vals[1] scalar_reduction weight_group schedule TestGlobalReduce_Initial at CCTK_INITIAL { LANG:C } "Initialize the input arrays to values" schedule TestGlobalR...
make.code.defn
# Main make.code.defn file for thorn TestGlobalReduce # $Header$ # Source files in this directory SRCS = Initial.c TestGlobalReduce.c # Subdirectories containing source files SUBDIRS =
Initial.c TestGlobalReduce.c
Initial.c: ``` /*@@ @file Initial.c @date Tues Sep 7 16:00:29 2004 @author Yaakoub El Khamra @desc Setup the grid arrays we want to test reduction with @enddesc @version $Id$ @@*/ #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include <mat...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn TestGlobalReduce Author(s) : Yaakoub Y El Khamra Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented
README
## README (README): ``` Cactus Code Thorn TestGlobalReduce Author(s) : Yaakoub Y El Khamra Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented ``` ## Documentation (.tex files): Files: documentation.tex ```tex === do...
CactusTest/TestGlobalReduce
https://bitbucket.org/cactuscode/cactustest.git
# Interface definition for thorn TestGlobalReduce # $Header$ implements:testglobalreduce inherits: grid public: cctk_real real_3d dim=3 type=ARRAY size=array_nx,array_ny,array_nz { grid_real } "grid array to be reduced of type real" cctk_int int_3d dim=3 type=ARRAY size=array_nx,array_ny,array_nz { grid_int } "g...
# Parameter definitions for thorn TestGlobalReduce # $Header$ INT array_nx "Size of arrays in x direction" { 0:* :: "" } 5 INT array_ny "Size of arrays in y direction" { 0:* :: "" } 4 INT array_nz "Size of arrays in z direction" { 0:* :: "" } 10 INT dest_proc "processor to which reduction is to be made" { *:...
# Schedule definitions for thorn TestGlobapdReduce # $Header$ STORAGE: real_3d int_3d real_vals int_vals weighted_real_vals weighted_int_vals real_gf[1] gf_vals[1] scalar_reduction weight_group schedule TestGlobalReduce_Initial at CCTK_INITIAL { LANG:C } "Initialize the input arrays to values" schedule TestGlobalR...
TestGlobalReduce.c
/*@@ @file TestGlobalReduce.c @date Tues Sep 7 16:00:29 2004 @author Yaakoub El Khamra @desc Test the global reduction implementation @enddesc @version $Header$ @@*/ #include <stdio.h> #include "cctk.h" #include "util_Table.h" #include "cctk_Arguments.h" #include "cc...
Initial.c make.code.defn
Initial.c: ``` /*@@ @file Initial.c @date Tues Sep 7 16:00:29 2004 @author Yaakoub El Khamra @desc Setup the grid arrays we want to test reduction with @enddesc @version $Id$ @@*/ #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include <mat...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn TestGlobalReduce Author(s) : Yaakoub Y El Khamra Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented
README
## README (README): ``` Cactus Code Thorn TestGlobalReduce Author(s) : Yaakoub Y El Khamra Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose not documented ``` ## Documentation (.tex files): Files: documentation.tex ```tex === do...
CactusTest/TestMoL
https://bitbucket.org/cactuscode/cactustest.git
# Configuration definitions for thorn TestMoL
implements: TestMoL inherits: MethodOfLines # not really required but useful to make sure MoL is active ################################################################ ### Aliased registration and type changing functions for the ### ### standard (i.e., real) GFs. ### ####################...
private: KEYWORD RHSexpression "expression to use for the right-hand-side of the ODE" { "1" :: "unit rhs" "t" :: "linear in time rhs" "t**2" :: "quadratic in time rhs" "t**3" :: "cubic in time rhs" "t**4" :: "quartic in time rhs" "t**5" :: "quintic in time rhs" "t**6" :: "sixth order in time rhs" "t**7...
STORAGE: evolved_gf[3] evolvedslow_gf[3] constrained_gf[3] sandr_gf[3] STORAGE: rhs_gf[1] rhsslow_gf[1] STORAGE: diff_gf[1] analytic_gf[1] diffslow_gf[1] analyticslow_gf[1] STORAGE: evolved_ga[3] constrained_ga[3] sandr_ga[3] STORAGE: rhs_ga[1] STORAGE: diff_ga[1] analytic_ga[1] schedule TestMoL_RegisterVars in MoL_Re...
Init.c
#include "cctk.h" #include "cctk_Parameters.h" #include "cctk_Arguments.h" #include <assert.h> /***************************************************************************** ************** External routines ******************************************** ****************************************************************...
Register.c RHS.c make.code.defn
Register.c: ``` #include "cctk.h" #include "cctk_Parameters.h" #include "cctk_Arguments.h" #include <assert.h> /***************************************************************************** ************** External routines ******************************************** ************************************************...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn TestMoL Author(s) : Roland Haas <rhaas@caltech.edu> Maintainer(s): Roland Haas <rhaas@caltech.edu> Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Tests the ODE integration methods in MoL by providing a simple right-hand-side and tests tha...
README
## README (README): ``` Cactus Code Thorn TestMoL Author(s) : Roland Haas <rhaas@caltech.edu> Maintainer(s): Roland Haas <rhaas@caltech.edu> Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Tests the ODE integration methods in MoL by providing a simple right...
CactusTest/TestMoL
https://bitbucket.org/cactuscode/cactustest.git
# Configuration definitions for thorn TestMoL
implements: TestMoL inherits: MethodOfLines # not really required but useful to make sure MoL is active ################################################################ ### Aliased registration and type changing functions for the ### ### standard (i.e., real) GFs. ### ####################...
private: KEYWORD RHSexpression "expression to use for the right-hand-side of the ODE" { "1" :: "unit rhs" "t" :: "linear in time rhs" "t**2" :: "quadratic in time rhs" "t**3" :: "cubic in time rhs" "t**4" :: "quartic in time rhs" "t**5" :: "quintic in time rhs" "t**6" :: "sixth order in time rhs" "t**7...
STORAGE: evolved_gf[3] evolvedslow_gf[3] constrained_gf[3] sandr_gf[3] STORAGE: rhs_gf[1] rhsslow_gf[1] STORAGE: diff_gf[1] analytic_gf[1] diffslow_gf[1] analyticslow_gf[1] STORAGE: evolved_ga[3] constrained_ga[3] sandr_ga[3] STORAGE: rhs_ga[1] STORAGE: diff_ga[1] analytic_ga[1] schedule TestMoL_RegisterVars in MoL_Re...
Register.c
#include "cctk.h" #include "cctk_Parameters.h" #include "cctk_Arguments.h" #include <assert.h> /***************************************************************************** ************** External routines ******************************************** ****************************************************************...
Init.c RHS.c make.code.defn
Init.c: ``` #include "cctk.h" #include "cctk_Parameters.h" #include "cctk_Arguments.h" #include <assert.h> /***************************************************************************** ************** External routines ******************************************** ****************************************************...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn TestMoL Author(s) : Roland Haas <rhaas@caltech.edu> Maintainer(s): Roland Haas <rhaas@caltech.edu> Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Tests the ODE integration methods in MoL by providing a simple right-hand-side and tests tha...
README
## README (README): ``` Cactus Code Thorn TestMoL Author(s) : Roland Haas <rhaas@caltech.edu> Maintainer(s): Roland Haas <rhaas@caltech.edu> Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Tests the ODE integration methods in MoL by providing a simple right...
CactusTest/TestMoL
https://bitbucket.org/cactuscode/cactustest.git
# Configuration definitions for thorn TestMoL
implements: TestMoL inherits: MethodOfLines # not really required but useful to make sure MoL is active ################################################################ ### Aliased registration and type changing functions for the ### ### standard (i.e., real) GFs. ### ####################...
private: KEYWORD RHSexpression "expression to use for the right-hand-side of the ODE" { "1" :: "unit rhs" "t" :: "linear in time rhs" "t**2" :: "quadratic in time rhs" "t**3" :: "cubic in time rhs" "t**4" :: "quartic in time rhs" "t**5" :: "quintic in time rhs" "t**6" :: "sixth order in time rhs" "t**7...
STORAGE: evolved_gf[3] evolvedslow_gf[3] constrained_gf[3] sandr_gf[3] STORAGE: rhs_gf[1] rhsslow_gf[1] STORAGE: diff_gf[1] analytic_gf[1] diffslow_gf[1] analyticslow_gf[1] STORAGE: evolved_ga[3] constrained_ga[3] sandr_ga[3] STORAGE: rhs_ga[1] STORAGE: diff_ga[1] analytic_ga[1] schedule TestMoL_RegisterVars in MoL_Re...
RHS.c
#include "cctk.h" #include "cctk_Parameters.h" #include "cctk_Arguments.h" #include <assert.h> #include <math.h> /***************************************************************************** ************** Local types ************************************************** **********************************************...
Init.c Register.c make.code.defn
Init.c: ``` #include "cctk.h" #include "cctk_Parameters.h" #include "cctk_Arguments.h" #include <assert.h> /***************************************************************************** ************** External routines ******************************************** ****************************************************...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn TestMoL Author(s) : Roland Haas <rhaas@caltech.edu> Maintainer(s): Roland Haas <rhaas@caltech.edu> Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Tests the ODE integration methods in MoL by providing a simple right-hand-side and tests tha...
README
## README (README): ``` Cactus Code Thorn TestMoL Author(s) : Roland Haas <rhaas@caltech.edu> Maintainer(s): Roland Haas <rhaas@caltech.edu> Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Tests the ODE integration methods in MoL by providing a simple right...
CactusTest/TestMoL
https://bitbucket.org/cactuscode/cactustest.git
# Configuration definitions for thorn TestMoL
implements: TestMoL inherits: MethodOfLines # not really required but useful to make sure MoL is active ################################################################ ### Aliased registration and type changing functions for the ### ### standard (i.e., real) GFs. ### ####################...
private: KEYWORD RHSexpression "expression to use for the right-hand-side of the ODE" { "1" :: "unit rhs" "t" :: "linear in time rhs" "t**2" :: "quadratic in time rhs" "t**3" :: "cubic in time rhs" "t**4" :: "quartic in time rhs" "t**5" :: "quintic in time rhs" "t**6" :: "sixth order in time rhs" "t**7...
STORAGE: evolved_gf[3] evolvedslow_gf[3] constrained_gf[3] sandr_gf[3] STORAGE: rhs_gf[1] rhsslow_gf[1] STORAGE: diff_gf[1] analytic_gf[1] diffslow_gf[1] analyticslow_gf[1] STORAGE: evolved_ga[3] constrained_ga[3] sandr_ga[3] STORAGE: rhs_ga[1] STORAGE: diff_ga[1] analytic_ga[1] schedule TestMoL_RegisterVars in MoL_Re...
make.code.defn
# Source files in this directory SRCS = Register.c RHS.c Init.c # Subdirectories containing source files SUBDIRS =
Init.c Register.c RHS.c
Init.c: ``` #include "cctk.h" #include "cctk_Parameters.h" #include "cctk_Arguments.h" #include <assert.h> /***************************************************************************** ************** External routines ******************************************** ****************************************************...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn TestMoL Author(s) : Roland Haas <rhaas@caltech.edu> Maintainer(s): Roland Haas <rhaas@caltech.edu> Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Tests the ODE integration methods in MoL by providing a simple right-hand-side and tests tha...
README
## README (README): ``` Cactus Code Thorn TestMoL Author(s) : Roland Haas <rhaas@caltech.edu> Maintainer(s): Roland Haas <rhaas@caltech.edu> Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Tests the ODE integration methods in MoL by providing a simple right...
CactusTest/TestPar
https://bitbucket.org/cactuscode/cactustest.git
# Interface definition for thorn TestPar IMPLEMENTS: TestPar
# Parameter definitions for thorn TestPar STRING string1 "" { ".*" :: "Any string" } "" STRING string2 "" { ".*" :: "Any string" } "" STRING string3 "" { ".*" :: "Any string" } "" STRING string4 "" { ".*" :: "Any string" } "" STRING string5 "" { ".*" :: "Any string" } "" STRING string6 "" { ".*" :: "A...
# Schedule definitions for thorn TestPar SCHEDULE TestPar_PrintStrings AT initial { LANG: C } "Output string parameters" SCHEDULE TestPar_SetValues AT initial { LANG: C } "Set values based on parameters"
SetValues.c
#include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <cctk_File.h> #include <util_String.h> #include <stdio.h> #include <stdlib.h> void TestPar_SetValues (CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; int i; FILE *fh = NULL; char *buf = NULL; if(C...
make.code.defn PrintStrings.c
make.code.defn: ``` # Main make.code.defn file for thorn TestPar # Source files in this directory SRCS = PrintStrings.c SetValues.c # Subdirectories containing source files SUBDIRS = ``` PrintStrings.c: ``` #include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> void TestPar_PrintStrings (CCTK_...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn TestPar Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Test parameter file syntax.
README
## README (README): ``` Cactus Code Thorn TestPar Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Test parameter file syntax. ``` ## Documentation (.tex files): Files: documenta...
CactusTest/TestPar
https://bitbucket.org/cactuscode/cactustest.git
# Interface definition for thorn TestPar IMPLEMENTS: TestPar
# Parameter definitions for thorn TestPar STRING string1 "" { ".*" :: "Any string" } "" STRING string2 "" { ".*" :: "Any string" } "" STRING string3 "" { ".*" :: "Any string" } "" STRING string4 "" { ".*" :: "Any string" } "" STRING string5 "" { ".*" :: "Any string" } "" STRING string6 "" { ".*" :: "A...
# Schedule definitions for thorn TestPar SCHEDULE TestPar_PrintStrings AT initial { LANG: C } "Output string parameters" SCHEDULE TestPar_SetValues AT initial { LANG: C } "Set values based on parameters"
make.code.defn
# Main make.code.defn file for thorn TestPar # Source files in this directory SRCS = PrintStrings.c SetValues.c # Subdirectories containing source files SUBDIRS =
SetValues.c PrintStrings.c
SetValues.c: ``` #include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <cctk_File.h> #include <util_String.h> #include <stdio.h> #include <stdlib.h> void TestPar_SetValues (CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; int i; FILE *fh = NULL; char *buf ...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn TestPar Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Test parameter file syntax.
README
## README (README): ``` Cactus Code Thorn TestPar Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Test parameter file syntax. ``` ## Documentation (.tex files): Files: documenta...
CactusTest/TestPar
https://bitbucket.org/cactuscode/cactustest.git
# Interface definition for thorn TestPar IMPLEMENTS: TestPar
# Parameter definitions for thorn TestPar STRING string1 "" { ".*" :: "Any string" } "" STRING string2 "" { ".*" :: "Any string" } "" STRING string3 "" { ".*" :: "Any string" } "" STRING string4 "" { ".*" :: "Any string" } "" STRING string5 "" { ".*" :: "Any string" } "" STRING string6 "" { ".*" :: "A...
# Schedule definitions for thorn TestPar SCHEDULE TestPar_PrintStrings AT initial { LANG: C } "Output string parameters" SCHEDULE TestPar_SetValues AT initial { LANG: C } "Set values based on parameters"
PrintStrings.c
#include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> void TestPar_PrintStrings (CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; CCTK_VInfo (CCTK_THORNSTRING, "String 1: \"%s\"", string1); CCTK_VInfo (CCTK_THORNSTRING, "String 2: \"%s\"", string2); CCTK_VInfo (CCTK_...
SetValues.c make.code.defn
SetValues.c: ``` #include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <cctk_File.h> #include <util_String.h> #include <stdio.h> #include <stdlib.h> void TestPar_SetValues (CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; int i; FILE *fh = NULL; char *buf ...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn TestPar Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Test parameter file syntax.
README
## README (README): ``` Cactus Code Thorn TestPar Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Cactus team Licence : LGPL -------------------------------------------------------------------------- 1. Purpose Test parameter file syntax. ``` ## Documentation (.tex files): Files: documenta...
CactusUtils/Trigger
https://bitbucket.org/cactuscode/cactusutils.git
# Interface definition for thorn Trigger inherits: IO implements: trigger CCTK_REAL Trigger_Vars DISTRIB=CONSTANT tags='checkpoint="no"' { trigger_cctk_iteration trigger_cctk_time } "Scalars for the triggers"
# Parameter definitions for thorn Nice # parameter values are parsed into a GH extension at startup so cannot be # (meaningfully) steered at runtime CCTK_INT Trigger_Number "Number of triggers" STEERABLE=RECOVER { 0:10 :: "The number of triggers that are defined" } 0 STRING Trigger_Checked_Variable[10] "variable to...
# Schedule definitions for thorn Trigger schedule Trigger_Startup at STARTUP { LANG: C } "Startup Routine" schedule Trigger_ParamCheck AT PARAMCHECK { LANG: C } "Parameter checking" schedule Trigger_Check at ANALYSIS before AHFinderDirect_setupupdate { LANG: C # schedule global-early so that eg. o...
make.code.defn
# Main make.code.defn file for thorn Nice # Source files in this directory SRCS = trigger.c
trigger.c
trigger.c: ``` #include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_WarnLevel.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" /* Trigger GH extension structure */ typedef struct { int number; int *active; int *checked_variable; int *output_variables; int *ou...
=== documentation.tex === % *======================================================================* % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built with the Cactus make system. % The scripts employed by the make system automatically include % pages about vari...
documentation.tex
Cactus Code Thorn SystemStatistics Author(s) : Frank Loeffler <knarf@cct.lsu.edu> Maintainer(s): Frank Loeffler <knarf@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- Purpose of this thorn --------------------- This thorn can be used to define...
README
## README (README): ``` Cactus Code Thorn SystemStatistics Author(s) : Frank Loeffler <knarf@cct.lsu.edu> Maintainer(s): Frank Loeffler <knarf@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- Purpose of this thorn --------------------- This tho...
CactusUtils/Trigger
https://bitbucket.org/cactuscode/cactusutils.git
# Interface definition for thorn Trigger inherits: IO implements: trigger CCTK_REAL Trigger_Vars DISTRIB=CONSTANT tags='checkpoint="no"' { trigger_cctk_iteration trigger_cctk_time } "Scalars for the triggers"
# Parameter definitions for thorn Nice # parameter values are parsed into a GH extension at startup so cannot be # (meaningfully) steered at runtime CCTK_INT Trigger_Number "Number of triggers" STEERABLE=RECOVER { 0:10 :: "The number of triggers that are defined" } 0 STRING Trigger_Checked_Variable[10] "variable to...
# Schedule definitions for thorn Trigger schedule Trigger_Startup at STARTUP { LANG: C } "Startup Routine" schedule Trigger_ParamCheck AT PARAMCHECK { LANG: C } "Parameter checking" schedule Trigger_Check at ANALYSIS before AHFinderDirect_setupupdate { LANG: C # schedule global-early so that eg. o...
trigger.c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "cctk.h" #include "cctk_WarnLevel.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" /* Trigger GH extension structure */ typedef struct { int number; int *active; int *checked_variable; int *output_variables; int *output_variables_...
make.code.defn
make.code.defn: ``` # Main make.code.defn file for thorn Nice # Source files in this directory SRCS = trigger.c ```
=== documentation.tex === % *======================================================================* % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built with the Cactus make system. % The scripts employed by the make system automatically include % pages about vari...
documentation.tex
Cactus Code Thorn SystemStatistics Author(s) : Frank Loeffler <knarf@cct.lsu.edu> Maintainer(s): Frank Loeffler <knarf@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- Purpose of this thorn --------------------- This thorn can be used to define...
README
## README (README): ``` Cactus Code Thorn SystemStatistics Author(s) : Frank Loeffler <knarf@cct.lsu.edu> Maintainer(s): Frank Loeffler <knarf@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- Purpose of this thorn --------------------- This tho...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
vectors-8-VSX.h
// -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #define vec8_architecture ...
vectors-8-DoubleHummer.h vectors-8-AVX.h vectors-4-default.h vectors-4-SSE.h vectors-8-MIC.h vectors.h vectors-8-default.h vectors-4-Altivec.h make.code.defn test.cc vectors-8-QPX.h vectors-4-AVX.h vectors.cc vectors-8-SSE2.h macros/vectors-8-AVX.h macros/vectors-4-default.h macros/vectors-4-SSE.h macros/vectors-8-defa...
vectors-8-DoubleHummer.h: ``` // -*-C++-*- // Vectorise using IBM's Blue Gene/P Double Hummer (Power) // Use the type double _Complex directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://publib.boulder.ibm.com/infocenter/compbgpl/v9v111/index.jsp> #include <assert....
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
vectors-8-DoubleHummer.h
// -*-C++-*- // Vectorise using IBM's Blue Gene/P Double Hummer (Power) // Use the type double _Complex directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://publib.boulder.ibm.com/infocenter/compbgpl/v9v111/index.jsp> #include <assert.h> #ifdef __cplusplus # incl...
vectors-8-VSX.h vectors-8-AVX.h vectors-4-default.h vectors-4-SSE.h vectors-8-MIC.h vectors.h vectors-8-default.h vectors-4-Altivec.h make.code.defn test.cc vectors-8-QPX.h vectors-4-AVX.h vectors.cc vectors-8-SSE2.h macros/vectors-8-AVX.h macros/vectors-4-default.h macros/vectors-4-SSE.h macros/vectors-8-default.h mac...
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
vectors-8-AVX.h
// -*-C++-*- // Vectorise using Intel's or AMD's AVX // Use the type __m256d directly, without introducing a wrapper class #include <cstdlib> #include <cstring> #include <immintrin.h> #ifdef __FMA4__ # include <x86intrin.h> #endif #ifdef __FMA4__ # define vec8_architecture_FMA4 "+FMA4" #else # define vec8_...
vectors-8-VSX.h vectors-8-DoubleHummer.h vectors-4-default.h vectors-4-SSE.h vectors-8-MIC.h vectors.h vectors-8-default.h vectors-4-Altivec.h make.code.defn test.cc vectors-8-QPX.h vectors-4-AVX.h vectors.cc vectors-8-SSE2.h macros/vectors-8-AVX.h macros/vectors-4-default.h macros/vectors-4-SSE.h macros/vectors-8-defa...
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
vectors-4-default.h
// -*-C++-*- // Fallback vectorisation implementation: Do not vectorise // We use macros here, so that we are not surprised by compilers which // don't like to inline functions. This should also make debug builds // (which may not inline) more efficient. #include <assert.h> #include <math.h> #define vec4_archite...
vectors-8-VSX.h vectors-8-DoubleHummer.h vectors-8-AVX.h vectors-4-SSE.h vectors-8-MIC.h vectors.h vectors-8-default.h vectors-4-Altivec.h make.code.defn test.cc vectors-8-QPX.h vectors-4-AVX.h vectors.cc vectors-8-SSE2.h macros/vectors-8-AVX.h macros/vectors-4-default.h macros/vectors-4-SSE.h macros/vectors-8-default....
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
vectors-4-SSE.h
// -*-C++-*- // Vectorise using Intel's or AMD's SSE // Use the type __m128 directly, without introducing a wrapper class #include <algorithm> #include <cassert> #include <cmath> #include <cstring> #include <xmmintrin.h> #ifdef __SSE4_1__ // Intel's SSE 4.1 # include <smmintrin.h> #endif #ifdef __SSE4A__ // AMD's...
vectors-8-VSX.h vectors-8-DoubleHummer.h vectors-8-AVX.h vectors-4-default.h vectors-8-MIC.h vectors.h vectors-8-default.h vectors-4-Altivec.h make.code.defn test.cc vectors-8-QPX.h vectors-4-AVX.h vectors.cc vectors-8-SSE2.h macros/vectors-8-AVX.h macros/vectors-4-default.h macros/vectors-4-SSE.h macros/vectors-8-defa...
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
vectors-8-MIC.h
// -*-C++-*- // Vectorise using Intel's MIC // Use the type __m512d directly, without introducing a wrapper class // See // <http://software.intel.com/sites/products/documentation/doclib/stdxe/2013/composerxe/compiler/cpp-lin/index.htm#GUID-B8DF6000-6872-47B4-AA64-D47A38AF21BD.htm> // and // <http://software.intel.co...
vectors-8-VSX.h vectors-8-DoubleHummer.h vectors-8-AVX.h vectors-4-default.h vectors-4-SSE.h vectors.h vectors-8-default.h vectors-4-Altivec.h make.code.defn test.cc vectors-8-QPX.h vectors-4-AVX.h vectors.cc vectors-8-SSE2.h macros/vectors-8-AVX.h macros/vectors-4-default.h macros/vectors-4-SSE.h macros/vectors-8-defa...
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
vectors.h
// -*-C++-*- #ifndef VECTORS_H #define VECTORS_H #include <cctk.h> #define vec_static_assert(x) namespace { typedef int vsa[(x) ? 1 : -1]; } #if VECTORISE # if defined __AVX__ && !defined DISABLE_AVX // Intel AVX # include "vectors-4-AVX.h" # elif defined __SSE__ // Intel SSE # include "vectors...
vectors-8-VSX.h vectors-8-DoubleHummer.h vectors-8-AVX.h vectors-4-default.h vectors-4-SSE.h vectors-8-MIC.h vectors-8-default.h vectors-4-Altivec.h make.code.defn test.cc vectors-8-QPX.h vectors-4-AVX.h vectors.cc vectors-8-SSE2.h macros/vectors-8-AVX.h macros/vectors-4-default.h macros/vectors-4-SSE.h macros/vectors-...
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
vectors-8-default.h
// -*-C++-*- // Fallback vectorisation implementation: Do not vectorise #include <cassert> #include <cmath> #define vec8_architecture "scalar (no vectorisation, 64-bit precision)" // Use CCTK_REAL8 #define CCTK_REAL8_VEC CCTK_REAL8 // Number of vector elements in a vector #define CCTK_REAL8_VEC_SIZE 1 vec_stat...
vectors-8-VSX.h vectors-8-DoubleHummer.h vectors-8-AVX.h vectors-4-default.h vectors-4-SSE.h vectors-8-MIC.h vectors.h vectors-4-Altivec.h make.code.defn test.cc vectors-8-QPX.h vectors-4-AVX.h vectors.cc vectors-8-SSE2.h macros/vectors-8-AVX.h macros/vectors-4-default.h macros/vectors-4-SSE.h macros/vectors-8-default....
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
vectors-4-Altivec.h
// -*-C++-*- // Vectorise using IBM's Altivec (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions #include <altivec.h> #define vec4_architecture "Altivec" // Vector type corresponding to CCTK_REAL #define CCTK_REAL4_VEC vector float // N...
vectors-8-VSX.h vectors-8-DoubleHummer.h vectors-8-AVX.h vectors-4-default.h vectors-4-SSE.h vectors-8-MIC.h vectors.h vectors-8-default.h make.code.defn test.cc vectors-8-QPX.h vectors-4-AVX.h vectors.cc vectors-8-SSE2.h macros/vectors-8-AVX.h macros/vectors-4-default.h macros/vectors-4-SSE.h macros/vectors-8-default....
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
make.code.defn
# Main make.code.defn file for thorn Vectors # Source files in this directory SRCS = vectors.cc test.cc # Subdirectories containing source files SUBDIRS =
vectors-8-VSX.h vectors-8-DoubleHummer.h vectors-8-AVX.h vectors-4-default.h vectors-4-SSE.h vectors-8-MIC.h vectors.h vectors-8-default.h vectors-4-Altivec.h test.cc vectors-8-QPX.h vectors-4-AVX.h vectors.cc vectors-8-SSE2.h macros/vectors-8-AVX.h macros/vectors-4-default.h macros/vectors-4-SSE.h macros/vectors-8-def...
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
test.cc
#include "vectors.h" #include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <cassert> #include <cmath> #include <cstdio> #include <cstring> #include <limits> using namespace std; inline CCTK_REAL my_sgn(CCTK_REAL const x) { return x == (CCTK_REAL)0.0 ? (CCTK_REAL)0.0 : copysign((CCTK_...
vectors-8-VSX.h vectors-8-DoubleHummer.h vectors-8-AVX.h vectors-4-default.h vectors-4-SSE.h vectors-8-MIC.h vectors.h vectors-8-default.h vectors-4-Altivec.h make.code.defn vectors-8-QPX.h vectors-4-AVX.h vectors.cc vectors-8-SSE2.h macros/vectors-8-AVX.h macros/vectors-4-default.h macros/vectors-4-SSE.h macros/vector...
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
vectors-8-QPX.h
// -*-C++-*- // Vectorise using IBM's Blue Gene/Q QPX (Power) #ifndef __clang__ // Use the type vector4double directly, without introducing a wrapper class // Use macros instead of inline functions // Note: bgxlC_r does not like const declarations, so we need to cast // them away and/or omit them everywhere // See ...
vectors-8-VSX.h vectors-8-DoubleHummer.h vectors-8-AVX.h vectors-4-default.h vectors-4-SSE.h vectors-8-MIC.h vectors.h vectors-8-default.h vectors-4-Altivec.h make.code.defn test.cc vectors-4-AVX.h vectors.cc vectors-8-SSE2.h macros/vectors-8-AVX.h macros/vectors-4-default.h macros/vectors-4-SSE.h macros/vectors-8-defa...
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
vectors-4-AVX.h
// -*-C++-*- // Vectorise using Intel's or AMD's AVX // Use the type __m256 directly, without introducing a wrapper class #include <cstdlib> #include <cstring> #include <immintrin.h> #ifdef __FMA4__ # include <x86intrin.h> #endif #ifdef __FMA4__ # define vec4_architecture_FMA4 "+FMA4" #else # define vec4_a...
vectors-8-VSX.h vectors-8-DoubleHummer.h vectors-8-AVX.h vectors-4-default.h vectors-4-SSE.h vectors-8-MIC.h vectors.h vectors-8-default.h vectors-4-Altivec.h make.code.defn test.cc vectors-8-QPX.h vectors.cc vectors-8-SSE2.h macros/vectors-8-AVX.h macros/vectors-4-default.h macros/vectors-4-SSE.h macros/vectors-8-defa...
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
vectors.cc
#include "vectors.h" #include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> extern "C" int Vectors_Startup(void) { CCTK_VInfo(CCTK_THORNSTRING, "Using vector size %d for architecture %s", CCTK_REAL_VEC_SIZE, vec_architecture); return 0; }
vectors-8-VSX.h vectors-8-DoubleHummer.h vectors-8-AVX.h vectors-4-default.h vectors-4-SSE.h vectors-8-MIC.h vectors.h vectors-8-default.h vectors-4-Altivec.h make.code.defn test.cc vectors-8-QPX.h vectors-4-AVX.h vectors-8-SSE2.h macros/vectors-8-AVX.h macros/vectors-4-default.h macros/vectors-4-SSE.h macros/vectors-8...
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
vectors-8-SSE2.h
// -*-C++-*- // Vectorise using Intel's or AMD's SSE2 // Use the type __m128d directly, without introducing a wrapper class #include <cassert> #include <cmath> #include <emmintrin.h> #ifdef __SSE4_1__ // Intel's SSE 4.1 # include <smmintrin.h> #endif #ifdef __SSE4A__ // AMD's SSE 4a # include <ammintrin.h> // I...
vectors-8-VSX.h vectors-8-DoubleHummer.h vectors-8-AVX.h vectors-4-default.h vectors-4-SSE.h vectors-8-MIC.h vectors.h vectors-8-default.h vectors-4-Altivec.h make.code.defn test.cc vectors-8-QPX.h vectors-4-AVX.h vectors.cc macros/vectors-8-AVX.h macros/vectors-4-default.h macros/vectors-4-SSE.h macros/vectors-8-defau...
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
macros/vectors-8-AVX.h
// Vectorise using Intel's or AMD's AVX // Use the type __m256d directly, without introducing a wrapper class // Use macros instead of inline functions #if VECTORISE_EMULATE_AVX # include "avxintrin_emu.h" #else # include <immintrin.h> #endif #ifdef __FMA4__ # include <fma4intrin.h> #endif #ifdef __FMA4__ # ...
vectors-8-VSX.h vectors-8-DoubleHummer.h vectors-8-AVX.h vectors-4-default.h vectors-4-SSE.h vectors-8-MIC.h vectors.h vectors-8-default.h vectors-4-Altivec.h make.code.defn test.cc vectors-8-QPX.h vectors-4-AVX.h vectors.cc vectors-8-SSE2.h macros/vectors-4-default.h macros/vectors-4-SSE.h macros/vectors-8-default.h m...
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
macros/vectors-4-default.h
// Fallback vectorisation implementation: Do not vectorise // We use macros here, so that we are not surprised by compilers which // don't like to inline functions. This should also make debug builds // (which may not inline) more efficient. #include <assert.h> #include <math.h> #define vec4_architecture "scalar...
vectors-8-VSX.h vectors-8-DoubleHummer.h vectors-8-AVX.h vectors-4-default.h vectors-4-SSE.h vectors-8-MIC.h vectors.h vectors-8-default.h vectors-4-Altivec.h make.code.defn test.cc vectors-8-QPX.h vectors-4-AVX.h vectors.cc vectors-8-SSE2.h macros/vectors-8-AVX.h macros/vectors-4-SSE.h macros/vectors-8-default.h macro...
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
macros/vectors-4-SSE.h
// Vectorise using Intel's or AMD's SSE // Use the type __m128 directly, without introducing a wrapper class // Use macros instead of inline functions #include <assert.h> #include <math.h> #include <xmmintrin.h> #ifdef __SSE4_1__ // Intel's SSE 4.1 # include <smmintrin.h> #endif #ifdef __SSE4A__ // AMD's SSE 4a #...
vectors-8-VSX.h vectors-8-DoubleHummer.h vectors-8-AVX.h vectors-4-default.h vectors-4-SSE.h vectors-8-MIC.h vectors.h vectors-8-default.h vectors-4-Altivec.h make.code.defn test.cc vectors-8-QPX.h vectors-4-AVX.h vectors.cc vectors-8-SSE2.h macros/vectors-8-AVX.h macros/vectors-4-default.h macros/vectors-8-default.h m...
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
macros/vectors-8-default.h
// Fallback vectorisation implementation: Do not vectorise // We use macros here, so that we are not surprised by compilers which // don't like to inline functions. This should also make debug builds // (which may not inline) more efficient. #include <assert.h> #include <math.h> #define vec8_architecture "scalar...
vectors-8-VSX.h vectors-8-DoubleHummer.h vectors-8-AVX.h vectors-4-default.h vectors-4-SSE.h vectors-8-MIC.h vectors.h vectors-8-default.h vectors-4-Altivec.h make.code.defn test.cc vectors-8-QPX.h vectors-4-AVX.h vectors.cc vectors-8-SSE2.h macros/vectors-8-AVX.h macros/vectors-4-default.h macros/vectors-4-SSE.h macro...
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...
CactusUtils/Vectors
https://bitbucket.org/cactuscode/cactusutils.git
# Configuration definitions for thorn Vectors PROVIDES Vectors { SCRIPT configure.sh LANG bash OPTIONS \ VECTORISE \ VECTORISE_ALIGNED_ARRAYS \ VECTORISE_ALWAYS_USE_UNALIGNED_LOADS \ VECTORISE_ALWAYS_USE_ALIGNED_LOADS \ V...
# Interface definition for thorn Vectors IMPLEMENTS: Vectors INCLUDE HEADER: vectors.h IN vectors.h
# Parameter definitions for thorn Vectors BOOLEAN verbose "Verbose output during vector tests" { } "no"
# Schedule definitions for thorn Vectors schedule Vectors_Startup at CCTK_STARTUP { LANG: C } "Print startup message" schedule Vectors_Test at CCTK_PARAMCHECK { LANG: C } "Run correctness tests."
macros/vectors-8-SSE2.h
// Vectorise using Intel's or AMD's SSE2 // Use the type __m128d directly, without introducing a wrapper class // Use macros instead of inline functions #include <assert.h> #include <math.h> #include <emmintrin.h> #ifdef __SSE4_1__ // Intel's SSE 4.1 # include <smmintrin.h> #endif #ifdef __SSE4A__ // AMD's SSE 4a...
vectors-8-VSX.h vectors-8-DoubleHummer.h vectors-8-AVX.h vectors-4-default.h vectors-4-SSE.h vectors-8-MIC.h vectors.h vectors-8-default.h vectors-4-Altivec.h make.code.defn test.cc vectors-8-QPX.h vectors-4-AVX.h vectors.cc vectors-8-SSE2.h macros/vectors-8-AVX.h macros/vectors-4-default.h macros/vectors-4-SSE.h macro...
vectors-8-VSX.h: ``` // -*-C++-*- // Vectorise using IBM's Altivec VSX (Power) // Use the type vector double directly, without introducing a wrapper class // Use macros instead of inline functions // See <http://pic.dhe.ibm.com/infocenter/comphelp/v111v131/index.jsp> #include <altivec.h> #include <math.h> #defi...
=== documentation.tex === % *======================================================================* % Cactus Thorn template for ThornGuide documentation % Author: Ian Kelley % Date: Sun Jun 02, 2002 % $Header$ % % Thorn documentation in the latex file doc/documentation.tex % will be included in ThornGuides built...
documentation.tex
Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ class template that help ve...
README
## README (README): ``` Cactus Code Thorn Vectors Author(s) : Erik Schnetter <schnetter@cct.lsu.edu> Maintainer(s): Erik Schnetter <schnetter@cct.lsu.edu> Licence : LGPLv2.1 or later -------------------------------------------------------------------------- 1. Purpose Provide C macro definitions and a C++ cla...