Dataset Viewer
Auto-converted to Parquet Duplicate
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\n# $Header$\n\nimplements: wavemol\n\nUSES INCLUDE: Symmet(...TRUNCATED)
"# Parameter definitions for thorn WaveMoL\n# $Header$\n\nshares: MethodOfLines\n\nUSES CCTK_INT MoL(...TRUNCATED)
"# Schedule definitions for thorn WaveMoL\n# $Header$\n\nSTORAGE: scalarevolvemol_scalar[3], scalare(...TRUNCATED)
WaveMoL.c
" /*@@\n @file WaveMoL.c\n @date Fri Nov 9 13:33:25 2001\n @author Ian Hawke\n (...TRUNCATED)
WaveMoLRegister.c make.code.defn InitSymBound.c Startup.c
"WaveMoLRegister.c:\n```\n /*@@\n @file WaveMoLRegister.c\n @date Fri Nov 9 13:47:07 (...TRUNCATED)
"=== documentation.tex ===\n% *=====================================================================(...TRUNCATED)
documentation.tex
"Cactus Code Thorn WaveMoL\nAuthor(s) : Ian Hawke\nMaintainer(s): Cactus team\nLicence : LGP(...TRUNCATED)
README
"## README (README):\n```\nCactus Code Thorn WaveMoL\nAuthor(s) : Ian Hawke\nMaintainer(s): Cactu(...TRUNCATED)
CactusExamples/WaveMoL
https://bitbucket.org/cactuscode/cactusexamples.git
# Configuration definition for thorn BSSN_MoL # $Header$ REQUIRES CartGrid3D Boundary
"# Interface definition for thorn WaveMoL\n# $Header$\n\nimplements: wavemol\n\nUSES INCLUDE: Symmet(...TRUNCATED)
"# Parameter definitions for thorn WaveMoL\n# $Header$\n\nshares: MethodOfLines\n\nUSES CCTK_INT MoL(...TRUNCATED)
"# Schedule definitions for thorn WaveMoL\n# $Header$\n\nSTORAGE: scalarevolvemol_scalar[3], scalare(...TRUNCATED)
make.code.defn
"# Main make.code.defn file for thorn WaveMoL\n# $Header$\n\n# Source files in this directory\nSRCS (...TRUNCATED)
WaveMoLRegister.c WaveMoL.c InitSymBound.c Startup.c
"WaveMoLRegister.c:\n```\n /*@@\n @file WaveMoLRegister.c\n @date Fri Nov 9 13:47:07 (...TRUNCATED)
"=== documentation.tex ===\n% *=====================================================================(...TRUNCATED)
documentation.tex
"Cactus Code Thorn WaveMoL\nAuthor(s) : Ian Hawke\nMaintainer(s): Cactus team\nLicence : LGP(...TRUNCATED)
README
"## README (README):\n```\nCactus Code Thorn WaveMoL\nAuthor(s) : Ian Hawke\nMaintainer(s): Cactu(...TRUNCATED)
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
2