thorn_name
stringclasses
227 values
url
stringclasses
26 values
configuration
stringclasses
137 values
interface
stringclasses
225 values
param
stringclasses
220 values
schedule
stringclasses
223 values
src_filename
stringlengths
4
83
src_code
stringlengths
0
579k
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
operators.hh
#ifndef OPERATORS_HH #define OPERATORS_HH // Transport (i.e., prolongation and restriction) operator types enum operator_type { op_error, // illegal operator type op_none, // do not transport op_sync, // transport only on the same level // (error if ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
bboxset2.cc
#include <cctk.h> #ifdef CARPET_ENABLE_BBOXSET2 #include "bboxset2.hh" namespace bboxset2 { template class bboxset<int, 0>; template class bboxset<int, 1>; template void bboxset<int, 1>::serialise(set<bbox> &) const; template class bboxset<int, 2>; template void bboxset<int, 2>::serialise(set<bbox> &) const; tem...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
memstat.cc
#include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <cstdlib> #include <cstring> #include <fstream> #include <iomanip> #include <iostream> #include <sstream> #include <string> #ifdef HAVE_MALLOC_H #include <malloc.h> #endif #include <sys/resourc...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
ggf.cc
#include <cctk.h> #include <cassert> #include <cmath> #include <cstdlib> #include <cstring> #include <iostream> #include <string> #include <Timer.hh> #include "defs.hh" #include "dh.hh" #include "th.hh" #include "timestat.hh" #include "ggf.hh" using namespace std; using namespace CarpetLib; set<ggf *> ggf::allggf...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
coeffs_restrict_3d_stagger.hh
// We are interpolating to point i-1/2 (a coarse gridpoint) using staggered fine // grid _array index_ i. // // Interpolation coefficients are set by solving the following equation for // (a,b,c)=(f11,f12,f13): // THE FOLLOWING DESCRIPTION IS ONLY CORRECT FOR INTERPOLATING TO STAGGERED // GRIDPOINTS. // PLEASE SEE T...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
prolongate_3d_cc_rf2.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; // // Grid point locations and their indices: // // global 0 4 12 20 28 | // local | ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
prolongate_3d_dgfe_rf2.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <hrscc.hh> #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; #ifdef HRSCC_GLL_ELEMENT_HH using namespace hrscc; #endif namespace CarpetLib { #define S...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
operator_prototypes_4d.hh
#ifndef OPERATOR_PROTOTYPES_4D #define OPERATOR_PROTOTYPES_4D #include <cctk.h> #include <cstdlib> #include "defs.hh" #include "bbox.hh" #include "bboxset.hh" #include "vect.hh" #include "operator_prototypes.hh" namespace CarpetLib { using namespace std; static inline size_t index4(size_t const i, size_t const j...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
coeffs_prolongate_3d_stagger.hh
// Ax (the gridfunction we are prolongating) is defined on the semi-staggered // grid (i,j+1/2,k+1/2) // Here we set coefficients for interpolation to point i-1/4 (staggered coarse // grid _array index_ i), using information i-2,i-1,i,i+1. // THE FOLLOWING DESCRIPTION IS ONLY CORRECT FOR INTERPOLATING TO STAGGERED //...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
interpolate_3d_5tl.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <loopcontrol.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND3(i, j, k) ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
restrict_3d_vc_rf2.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <loopcontrol.h> #include <algorithm> #include <cassert> #include <cmath> #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND3(i, j, k) \ ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
dh.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <cassert> #include <cstddef> #include <sstream> #include <Timer.hh> #include "bbox.hh" #include "bboxset.hh" #include "defs.hh" #include "dist.hh" #include "ggf.hh" #include "mpi_string.hh" #include "timestat.hh" #include "vect.hh" #include "dh.hh" using name...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
restrict_3d_cc_rf2.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <loopcontrol.h> #include <algorithm> #include <cassert> #include <cmath> #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND3(i, j, k) \ ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
bboxset1.cc
#include <algorithm> #include <cassert> #include <iostream> #include <limits> #include <set> #include <stack> #include <vector> #include "defs.hh" #include "bboxset1.hh" using namespace std; namespace bboxset1 { template class bboxset<int, 1>; template void bboxset<int, 1>::serialise(set<bbox<int, 1> > &s) const; ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
prolongate_3d_stagger111.cc
#include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <iostream> #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND3(i, j, k) ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
prolongate_3d_stagger101.cc
#include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <iostream> #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND3(i, j, k) ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
restrict_3d_cc_o3_rf2.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <loopcontrol.h> #include <algorithm> #include <cassert> #include <cmath> #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND3(i, j, k) \ ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
limits.hh
#include <cctk.h> namespace CarpetLib { void set_system_limits(); } // namespace CarpetLib
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
vect.cc
#include <cctk.h> #include <cassert> #include <iostream> #include <typeinfo> #include "defs.hh" #include "bboxset.hh" #include "vect.hh" using namespace std; // Input template <typename T, int D> void vect<T, D>::input(istream &is) { skipws(is); consume(is, '['); for (int d = 0; d < D; ++d) { is >> (*thi...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
gh.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <cassert> #include <cstdlib> #include <iostream> #include <vector> #include <Timer.hh> #include "defs.hh" #include "dh.hh" #include "th.hh" #include "vect.hh" #include "gh.hh" using namespace std; set<gh *> gh::allgh; // Constructors gh::gh(vector<ivect> co...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
restrict_3d_rf2.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <loopcontrol.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <iostream> #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND3(i, j, k) ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
prolongate_3d_real8_eno.F90
#include "cctk.h" !!$ This routine performs "ENO" prolongation. It is intended to be used !!$ with GFs that are not expected to be smooth, particularly those !!$ that must also obey certain constraints. The obvious example is the !!$ density in hydrodynamics, which may be discontinuous yet must be !!$ strictly posi...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
make.code.defn
# Main make.code.defn file for thorn CarpetLib -*-Makefile-*- # Source files in this directory SRCS = backtrace.cc \ balance.cc \ bbox.cc \ bboxset.cc \ bboxset1.cc \ bboxset2.cc \ bintree.cc \ cacheinfo.cc \ commstate.cc \ data.cc \ defs.cc \ dh.cc \ dist.cc \...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
region.cc
#include <cassert> #include <cstdlib> #include <iostream> #include "bboxset.hh" #include "defs.hh" #include "dist.hh" #include "mpi_string.hh" #include "region.hh" using namespace std; region_t::region_t() : processor(-1), processors(NULL) { assert(invariant()); } region_t::region_t(region_t const &a) { assert(a....
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
fulltree.cc
#include <algorithm> #include <cmath> #include <iostream> #include "defs.hh" #include "region.hh" #include "fulltree.hh" // Create an empty tree template <typename T, int D, typename P> fulltree<T, D, P>::fulltree() : type(type_empty) { assert(invariant()); // This is unused assert(0); } // Create a tree ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
startup_time.cc
#include <cctk.h> #include <cstdio> #include <cstdlib> #include <string> // IRIX wants this before <time.h> #if HAVE_SYS_TYPES_H #include <sys/types.h> #endif #if TIME_WITH_SYS_TIME #include <sys/time.h> #include <time.h> #else #if HAVE_SYS_TIME_H #include <sys/time.h> #elif HAVE_TIME_H #include <time.h> #endif #end...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
gf.hh
#ifndef GF_HH #define GF_HH #include <cassert> #include <cmath> #include <iostream> #include <string> #include "bbox.hh" #include "bboxset.hh" #include "data.hh" #include "defs.hh" #include "dh.hh" #include "ggf.hh" #include "th.hh" #include "vect.hh" using namespace std; // A real grid function template <typename ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
typecase.hh
// Instantiate type cases for all available types -*-C++-*- // (C) 2001 Erik Schnetter <schnetter@uni-tuebingen.de> // Usage: // Define the macro TYPECASE(N,T) to be a typecase for the type T with name N, // then include this file, // then undefine the macro TYPECASE. // Decide which types to typecase // Should a...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
defs.hh
#ifndef DEFS_HH #define DEFS_HH #include <cctk.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <iostream> #include <list> #include <map> #include <memory> #include <set> #include <stack> #include <vector> #include "typeprops.hh" // Disable bboxset2 if C++11 is not supported #...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
restrict_3d_dgfe_rf2.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <hrscc.hh> #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; #ifdef HRSCC_GLL_ELEMENT_HH using namespace hrscc; #endif namespace CarpetLib { #define S...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
th.cc
#include <cctk.h> #include <cassert> #include <cmath> #include <iostream> #include <vector> #include "defs.hh" #include "gh.hh" #include "th.hh" using namespace std; set<th *> th::allth; // Constructors th::th(gh &h_, bool const time_interpolation_during_regridding_) : h(h_), time_interpolation_during_regridd...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
gdata.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <util_ErrorCodes.h> #include <util_Table.h> #include <vectors.h> #include <cassert> #include <cmath> #include <cstdlib> #include <iomanip> #include <iostream> #include <sstream> #include <typeinfo> #ifdef CCTK_MPI #include <mpi.h> #else #include "nompi.h" #endi...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
mpi_string.cc
#include <cctk.h> #include <algorithm> #include <cassert> #include <cstring> #include <string> #include <vector> #ifdef CCTK_MPI #include <mpi.h> #else #include "nompi.h" #endif #include "dh.hh" #include "mpi_string.hh" #include "region.hh" namespace CarpetLib { using namespace std; vector<string> gather_string(M...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
commstate.hh
#ifndef COMMSTATE_HH #define COMMSTATE_HH #include <cctk.h> #include <cctk_Parameters.h> #include <cstdlib> #include <iostream> #include <vector> #ifdef CCTK_MPI #include <mpi.h> #else #include "nompi.h" #endif #include "dist.hh" #include "timestat.hh" using namespace std; using namespace CarpetLib; // State info...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
prolongate_3d_stagger110.cc
#include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <iostream> #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND3(i, j, k) ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
prolongate_3d_stagger011.cc
#include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <iostream> #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND3(i, j, k) ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
bboxset.hh
#ifndef BBOXSET_HH #define BBOXSET_HH #include "defs.hh" #include "bboxset1.hh" #ifdef CARPET_ENABLE_BBOXSET2 #include "bboxset2.hh" #endif #ifdef CARPET_USE_BBOXSET2 using namespace bboxset2; #else using namespace bboxset1; #endif #endif // #ifndef BBOXSET_HH
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
prolongate_3d_real8_tvd.F90
#include "cctk.h" ! This routine performs "TVD" prolongation. It is intended to be used ! with GFs that are not expected to be smooth, particularly those ! that must also obey certain constraints. The obvious example is the ! density in hydrodynamics, which may be discontinuous yet must be ! strictly positive. ! ! T...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
operator_prototypes.hh
#ifndef OPERATOR_PROTOTYPES #define OPERATOR_PROTOTYPES namespace CarpetLib { static int const reffact2 = 2; } // namespace CarpetLib #endif // #ifndef OPERATOR_PROTOTYPES
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
cacheinfo.cc
#include "cacheinfo.hh" #include <iostream> #include <sstream> #include <cctk.h> #include <cctk_Parameters.h> #include <vectors.h> template <int D> vect<int, D> pad_shape(bbox<int, D> const &extent) { assert(all(extent.shape() >= 0)); return pad_shape(extent.shape() / extent.stride()); } namespace { struct cac...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
defs.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <cassert> #include <cctype> #include <iostream> #include <list> #include <map> #include <memory> #include <set> #include <stack> #include <vector> #include <utility> #include "bbox.hh" #include "defs.hh" #include "dh.hh" #include "region.hh" #include "vect.hh" ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
gf.cc
#include <cctk.h> #include <cassert> #include "defs.hh" #include "gf.hh" using namespace std; // Constructors template <typename T> gf<T>::gf(const int varindex_, const operator_type transport_operator_, th &t_, dh &d_, const int prolongation_order_time_, const int vectorlength_, const int vect...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
startup_time.hh
namespace CarpetLib { void output_startup_time(); } // namespace CarpetLib
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
th.hh
#ifndef TH_HH #define TH_HH #include <cctk.h> #include <cassert> #include <cmath> #include <iostream> #include <vector> #include "defs.hh" #include "gh.hh" using namespace std; // Forward declaration class th; // Input istream &operator>>(istream &is, th &t); // Output ostream &operator<<(ostream &os, const th &t...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
restrict_3d_cc_o5_rf2.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <loopcontrol.h> #include <algorithm> #include <cassert> #include <cmath> #include "gdata.hh" #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND3(i, j, k) ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
commstate.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <cassert> #include <cstdlib> #include <cstring> #include <iostream> #include "bbox.hh" #include "defs.hh" #include "dist.hh" #include "vect.hh" #include "commstate.hh" #include "timestat.hh" using namespace std; using namespace CarpetLib; char const *tostring...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
copy_4d.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <iostream> #include "operator_prototypes_4d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND4(i, j, k, l) ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
restrict_3d_stagger011.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <loopcontrol.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <iostream> #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND3(i, j, k) ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
gdata.hh
#ifndef GDATA_HH #define GDATA_HH #include <cctk.h> #include <cassert> #include <cstdlib> #include <queue> #include <iostream> #include <string> #include <vector> #include "bbox.hh" #include "commstate.hh" #include "defs.hh" #include "dist.hh" #include "operators.hh" #include "timestat.hh" #include "vect.hh" using ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
mpi_string.hh
#include <cctk.h> #include <string> #include <vector> #ifdef CCTK_MPI #include <mpi.h> #else #include "nompi.h" #endif #include "defs.hh" namespace CarpetLib { using namespace std; // String communication vector<string> gather_string(MPI_Comm comm, int root, string const &data); vector<string> allgather_string(...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
bboxset.cc
#include "bboxset.hh" #ifdef CARPET_WARN_DISABLE_BBOXSET2 #warning \ "Disabling Carpet's new bboxset class, since the C++ compiler does not support C++11. This leads to reduced performance on large core counts." #endif
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
cacheinfo.hh
#ifndef CACHEINFO_HH #define CACHEINFO_HH #include <cctk.h> #include <limits> #include "bbox.hh" #include "defs.hh" #include "vect.hh" template <typename T> static T next_power_of_2(T const x) CCTK_ATTRIBUTE_UNUSED; template <typename T> static T next_power_of_2(T const x) { assert(x > 0); T res = 1; while (r...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
interpolate_eno_3d_3tl.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <loopcontrol.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND3(i, j, k) ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
restrict_3d_stagger110.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <loopcontrol.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <iostream> #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND3(i, j, k) ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
bboxset1.hh
#ifndef BBOXSET1_HH #define BBOXSET1_HH #include <algorithm> #include <cassert> #include <iostream> #include <list> #include <set> #include <vector> #include "bbox.hh" #include "defs.hh" #include "vect.hh" using namespace std; // Choose the implementation of bboxset by #defining exactly one of // these #undef BBOXS...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
restrict_3d_stagger101.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <loopcontrol.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <iostream> #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND3(i, j, k) ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
dh.hh
#ifndef DH_HH #define DH_HH #include <cassert> #include <cstdlib> #include <iostream> #include <set> #include <map> #include <string> #include <vector> #include "bbox.hh" #include "bboxset.hh" #include "defs.hh" #include "gh.hh" #include "region.hh" #include "vect.hh" using namespace std; #define CARPET_HAVE_BUFFER...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
prolongate_4d_o1_rf2.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include "operator_prototypes_4d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND4(i, j, k, l) \ index...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
limits.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <iostream> #include <sys/resource.h> #include "defs.hh" #include "limits.hh" namespace CarpetLib { using namespace std; static void set_limit(int resource, char const *name, CCTK_INT value); static ostream &operator<<...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
restrict_3d_stagger111.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <loopcontrol.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <iostream> #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND3(i, j, k) ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
gh.hh
#ifndef GH_HH #define GH_HH #include <cassert> #include <iostream> #include <set> #include <vector> #include "bbox.hh" #include "bboxset.hh" #include "defs.hh" #include "dist.hh" #include "region.hh" #include "vect.hh" using namespace std; // Forward declaration class dh; class th; class gh; // A refinement hierar...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
prolongate_3d_rf2.cc
#include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <iostream> #include "vectors.h" #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND3(i, ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
vect.hh
#ifndef VECT_HH #define VECT_HH #include <cctk.h> #include <algorithm> #include <cassert> #include <cmath> #include <functional> #include <iostream> #include "defs.hh" #include "dist.hh" #include "vect_helpers.hh" using namespace std; #ifdef CARPET_DEBUG #define ASSERT_VECT(x) assert(x) #else #define ASSERT_VECT(x...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
vect_helpers.hh
#ifndef VECT_HELPERS_HH #define VECT_HELPERS_HH // Declare a member operator which takes 0 arguments #define DECLARE_MEMBER_OPERATOR_0(fn, op) \ \ vect fn() const { ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
fulltree.hh
#ifndef FULLTREE_HH #define FULLTREE_HH #include <cassert> #include <cmath> #include <cstdlib> #include <iostream> #include <vector> #include <vect.hh> using namespace std; // This is a "full tree" data structure, i.e. a tree data structure // which decomposes a cuboid domain into a set of non-overlapping // cuboid...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
copy_3d.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <cstring> #include <iostream> #include "gdata.hh" #include "operator_prototypes_3d.hh" #include "typeprops.hh" using namespace std; namespace CarpetLib { #define SRCIND3(i, j, k) ...
Carpet/CarpetLib
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetLib PROVIDES CarpetLib { SCRIPT LANG } # TODO: make Vectors optional REQUIRES MPI Vectors OPTIONAL Boost CycleClock LoopControl { } # DGFE OPTIONAL HRSCCore { }
# Interface definition for thorn CarpetLib IMPLEMENTS: CarpetLib includes header: mpi_string.hh in mpi_string.hh includes header: cacheinfo.hh in cacheinfo.hh includes header: defs.hh in defs.hh includes header: dist.hh in dist.hh includes header: typecase.hh in typecase.hh includes header: typeprops.hh in typeprops...
# Parameter definitions for thorn CarpetLib private: BOOLEAN verbose "Print info to the screen" STEERABLE=always { } "no" BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" BOOLEAN commstate_verbose "Print debug info from the commstate clas...
# Schedule definitions for thorn CarpetLib SCHEDULE CarpetLib_test_prolongate_3d_rf2 AT paramcheck { LANG: C OPTIONS: global } "Test prolongation operators" if (test_backtrace) { SCHEDULE CarpetLib_BacktraceTest AT wragh { LANG: C } "Test stack backtraces" } SCHEDULE CarpetLib_printtimestats AT analysi...
region.hh
#ifndef REGION_HH #define REGION_HH #include <iostream> #include <vector> #include "defs.hh" #include "dist.hh" #include "bbox.hh" #include "bboxset.hh" #include "fulltree.hh" #include "vect.hh" // Region description struct region_t { ibbox extent; // extent b2vect outer_boundaries; // outer boundarie...
Carpet/CarpetMask
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetMask OPTIONAL LoopControl { }
# Interface definition for thorn CarpetMask IMPLEMENTS: CarpetMask INHERITS: grid SphericalSurface USES INCLUDE HEADER: CarpetReduce_bits.h
# Parameter definitions for thorn CarpetMask BOOLEAN verbose "Produce screen output" STEERABLE=always { } "no" # The exclusion parameters are re-interpreted after each regridding, # and are therefore marked as "always steerable". # Exclude coordinate spheres CCTK_REAL excluded_centre_x[10] "x coordinate of ex...
# Schedule definitions for thorn CarpetMask SCHEDULE CarpetSurfaceParamCheck AT paramcheck { LANG: C OPTIONS: global } "Check parameters" # TODO: Schedule this only if there is an excluded centre which is active SCHEDULE GROUP MaskBase_SetupMask AT poststep AFTER SphericalSurface_HasBeenSet { } "Set up the weight...
make.code.defn
# Main make.code.defn file for thorn CarpetMask # Source files in this directory SRCS = mask_excluded.cc mask_surface.cc # Subdirectories containing source files SUBDIRS =
Carpet/CarpetMask
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetMask OPTIONAL LoopControl { }
# Interface definition for thorn CarpetMask IMPLEMENTS: CarpetMask INHERITS: grid SphericalSurface USES INCLUDE HEADER: CarpetReduce_bits.h
# Parameter definitions for thorn CarpetMask BOOLEAN verbose "Produce screen output" STEERABLE=always { } "no" # The exclusion parameters are re-interpreted after each regridding, # and are therefore marked as "always steerable". # Exclude coordinate spheres CCTK_REAL excluded_centre_x[10] "x coordinate of ex...
# Schedule definitions for thorn CarpetMask SCHEDULE CarpetSurfaceParamCheck AT paramcheck { LANG: C OPTIONS: global } "Check parameters" # TODO: Schedule this only if there is an excluded centre which is active SCHEDULE GROUP MaskBase_SetupMask AT poststep AFTER SphericalSurface_HasBeenSet { } "Set up the weight...
mask_surface.hh
#include <cctk.h> #include <cctk_Arguments.h> namespace CarpetMask { extern "C" { void CarpetSurfaceParamCheck(CCTK_ARGUMENTS); void CarpetSurfaceSetup(CCTK_ARGUMENTS); } } // namespace CarpetMask
Carpet/CarpetMask
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetMask OPTIONAL LoopControl { }
# Interface definition for thorn CarpetMask IMPLEMENTS: CarpetMask INHERITS: grid SphericalSurface USES INCLUDE HEADER: CarpetReduce_bits.h
# Parameter definitions for thorn CarpetMask BOOLEAN verbose "Produce screen output" STEERABLE=always { } "no" # The exclusion parameters are re-interpreted after each regridding, # and are therefore marked as "always steerable". # Exclude coordinate spheres CCTK_REAL excluded_centre_x[10] "x coordinate of ex...
# Schedule definitions for thorn CarpetMask SCHEDULE CarpetSurfaceParamCheck AT paramcheck { LANG: C OPTIONS: global } "Check parameters" # TODO: Schedule this only if there is an excluded centre which is active SCHEDULE GROUP MaskBase_SetupMask AT poststep AFTER SphericalSurface_HasBeenSet { } "Set up the weight...
mask_excluded.hh
#include <cctk.h> #include <cctk_Arguments.h> namespace CarpetMask { extern "C" { void CarpetExcludedSetup(CCTK_ARGUMENTS); } } // namespace CarpetMask
Carpet/CarpetMask
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetMask OPTIONAL LoopControl { }
# Interface definition for thorn CarpetMask IMPLEMENTS: CarpetMask INHERITS: grid SphericalSurface USES INCLUDE HEADER: CarpetReduce_bits.h
# Parameter definitions for thorn CarpetMask BOOLEAN verbose "Produce screen output" STEERABLE=always { } "no" # The exclusion parameters are re-interpreted after each regridding, # and are therefore marked as "always steerable". # Exclude coordinate spheres CCTK_REAL excluded_centre_x[10] "x coordinate of ex...
# Schedule definitions for thorn CarpetMask SCHEDULE CarpetSurfaceParamCheck AT paramcheck { LANG: C OPTIONS: global } "Check parameters" # TODO: Schedule this only if there is an excluded centre which is active SCHEDULE GROUP MaskBase_SetupMask AT poststep AFTER SphericalSurface_HasBeenSet { } "Set up the weight...
mask_surface.cc
#include <algorithm> #include <cassert> #include <cmath> #include <vector> #include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <loopcontrol.h> #include "mask_surface.hh" #include <CarpetReduce_bits.h> namespace CarpetMask { using namespace std; // Number of excluded regions which ...
Carpet/CarpetMask
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetMask OPTIONAL LoopControl { }
# Interface definition for thorn CarpetMask IMPLEMENTS: CarpetMask INHERITS: grid SphericalSurface USES INCLUDE HEADER: CarpetReduce_bits.h
# Parameter definitions for thorn CarpetMask BOOLEAN verbose "Produce screen output" STEERABLE=always { } "no" # The exclusion parameters are re-interpreted after each regridding, # and are therefore marked as "always steerable". # Exclude coordinate spheres CCTK_REAL excluded_centre_x[10] "x coordinate of ex...
# Schedule definitions for thorn CarpetMask SCHEDULE CarpetSurfaceParamCheck AT paramcheck { LANG: C OPTIONS: global } "Check parameters" # TODO: Schedule this only if there is an excluded centre which is active SCHEDULE GROUP MaskBase_SetupMask AT poststep AFTER SphericalSurface_HasBeenSet { } "Set up the weight...
mask_excluded.cc
#include <cmath> #include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <loopcontrol.h> #include "mask_excluded.hh" #include <CarpetReduce_bits.h> namespace CarpetMask { using namespace std; /** * Set the weight in the excluded regions to zero. */ void CarpetExcludedSetup(CCTK_ARG...
Carpet/CarpetProlongateTest
https://bitbucket.org/eschnett/carpet.git
# Configuration definition for thorn CarpetProlongateTest REQUIRES Fortran
# Interface definition for thorn CarpetProlongateTest IMPLEMENTS: CarpetProlongateTest INHERITS: grid CCTK_REAL scalar TYPE=gf TIMELEVELS=3 TAGS='ProlongationParameter="CarpetProlongateTest::prolongation"' { u } "Grid function" CCTK_REAL scaled TYPE=gf TIMELEVELS=3 { uscaled } "Scaled grid function" CCTK_REA...
# Parameter definitions for thorn CarpetProlongateTest CCTK_INT power_x "Polynomial power of x coordinate" { *:* :: "" } 0 CCTK_INT power_y "Polynomial power of y coordinate" { *:* :: "" } 0 CCTK_INT power_z "Polynomial power of z coordinate" { *:* :: "" } 0 CCTK_INT power_t "Polynomial power of t coordinate"...
# Schedule definitions for thorn CarpetProlongateTest STORAGE: scalar[3] scaled[3] difference[3] STORAGE: interp_difference STORAGE: errornorm interp_errornorm SCHEDULE CarpetProlongateTest_Init AT initial { LANG: Fortran SYNC: scalar scaled } "Set up initial data" SCHEDULE CarpetProlongateTest_Init AT evol { ...
init.F90
#include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Functions.h" #include "cctk_Parameters.h" module CarpetProlongateTest implicit none contains ! Set the time scaling factor to a sum of powers, ensuring that the ! scaling factor is not zero for t=0. Also, for power_t=0, the ! scaling factor i...
Carpet/CarpetProlongateTest
https://bitbucket.org/eschnett/carpet.git
# Configuration definition for thorn CarpetProlongateTest REQUIRES Fortran
# Interface definition for thorn CarpetProlongateTest IMPLEMENTS: CarpetProlongateTest INHERITS: grid CCTK_REAL scalar TYPE=gf TIMELEVELS=3 TAGS='ProlongationParameter="CarpetProlongateTest::prolongation"' { u } "Grid function" CCTK_REAL scaled TYPE=gf TIMELEVELS=3 { uscaled } "Scaled grid function" CCTK_REA...
# Parameter definitions for thorn CarpetProlongateTest CCTK_INT power_x "Polynomial power of x coordinate" { *:* :: "" } 0 CCTK_INT power_y "Polynomial power of y coordinate" { *:* :: "" } 0 CCTK_INT power_z "Polynomial power of z coordinate" { *:* :: "" } 0 CCTK_INT power_t "Polynomial power of t coordinate"...
# Schedule definitions for thorn CarpetProlongateTest STORAGE: scalar[3] scaled[3] difference[3] STORAGE: interp_difference STORAGE: errornorm interp_errornorm SCHEDULE CarpetProlongateTest_Init AT initial { LANG: Fortran SYNC: scalar scaled } "Set up initial data" SCHEDULE CarpetProlongateTest_Init AT evol { ...
make.code.defn
# Main make.code.defn file for thorn CarpetProlongateTest # Source files in this directory SRCS = init.F90 # Subdirectories containing source files SUBDIRS =
Carpet/CarpetReduce
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetReduce REQUIRES Carpet CarpetLib MPI OPTIONAL LoopControl { }
# Interface definition for thorn CarpetReduce IMPLEMENTS: reduce uses include header: nompi.h uses include header: defs.hh uses include header: dh.hh uses include header: dist.hh uses include header: vect.hh uses include header: carpet.hh uses include header: carpet.h uses include header: typecase.hh uses include ...
# Parameter definitions for thorn CarpetReduce BOOLEAN verbose "Produce screen output while running" STEERABLE=always { } "no" BOOLEAN debug_iweight "Allow debugging iweight grid function by keeping it allocated" STEERABLE=recover { } "no" BOOLEAN min_max_time_interpolation "Interpolate in time for min/max reduction...
# Schedule definitions for thorn CarpetReduce schedule CarpetReduceStartup at STARTUP { LANG: C } "Startup routine" # Should this move to a new thorn MaskBase? STORAGE: weight STORAGE: excised_cells SCHEDULE GROUP MaskBase_SetupMask AT basegrid AFTER (SpatialCoordinates SphericalSurface_Setup) { } "Set up the ...
mask_test.cc
#include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <carpet.h> #include <assert.h> #include <math.h> extern "C" void MaskBase_TestMask(CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; if (verbose) { CCTK_INFO("Testing weight"); } int const sum = CCTK_...
Carpet/CarpetReduce
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetReduce REQUIRES Carpet CarpetLib MPI OPTIONAL LoopControl { }
# Interface definition for thorn CarpetReduce IMPLEMENTS: reduce uses include header: nompi.h uses include header: defs.hh uses include header: dh.hh uses include header: dist.hh uses include header: vect.hh uses include header: carpet.hh uses include header: carpet.h uses include header: typecase.hh uses include ...
# Parameter definitions for thorn CarpetReduce BOOLEAN verbose "Produce screen output while running" STEERABLE=always { } "no" BOOLEAN debug_iweight "Allow debugging iweight grid function by keeping it allocated" STEERABLE=recover { } "no" BOOLEAN min_max_time_interpolation "Interpolate in time for min/max reduction...
# Schedule definitions for thorn CarpetReduce schedule CarpetReduceStartup at STARTUP { LANG: C } "Startup routine" # Should this move to a new thorn MaskBase? STORAGE: weight STORAGE: excised_cells SCHEDULE GROUP MaskBase_SetupMask AT basegrid AFTER (SpatialCoordinates SphericalSurface_Setup) { } "Set up the ...
mask_set.cc
#include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <loopcontrol.h> #include "bits.h" extern "C" void MaskBase_SetMask(CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; if (verbose) { int const reflevel = GetRefinementLevel(cctkGH); CCTK_VInfo(CCTK_THOR...
Carpet/CarpetReduce
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetReduce REQUIRES Carpet CarpetLib MPI OPTIONAL LoopControl { }
# Interface definition for thorn CarpetReduce IMPLEMENTS: reduce uses include header: nompi.h uses include header: defs.hh uses include header: dh.hh uses include header: dist.hh uses include header: vect.hh uses include header: carpet.hh uses include header: carpet.h uses include header: typecase.hh uses include ...
# Parameter definitions for thorn CarpetReduce BOOLEAN verbose "Produce screen output while running" STEERABLE=always { } "no" BOOLEAN debug_iweight "Allow debugging iweight grid function by keeping it allocated" STEERABLE=recover { } "no" BOOLEAN min_max_time_interpolation "Interpolate in time for min/max reduction...
# Schedule definitions for thorn CarpetReduce schedule CarpetReduceStartup at STARTUP { LANG: C } "Startup routine" # Should this move to a new thorn MaskBase? STORAGE: weight STORAGE: excised_cells SCHEDULE GROUP MaskBase_SetupMask AT basegrid AFTER (SpatialCoordinates SphericalSurface_Setup) { } "Set up the ...
mask_allocate.cc
#include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> extern "C" void MaskBase_AllocateMask(CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; /* Allocate helpers for the weight function */ if (verbose) { CCTK_INFO("Allocating weight function helpers"); } CCTK_Ena...
Carpet/CarpetReduce
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetReduce REQUIRES Carpet CarpetLib MPI OPTIONAL LoopControl { }
# Interface definition for thorn CarpetReduce IMPLEMENTS: reduce uses include header: nompi.h uses include header: defs.hh uses include header: dh.hh uses include header: dist.hh uses include header: vect.hh uses include header: carpet.hh uses include header: carpet.h uses include header: typecase.hh uses include ...
# Parameter definitions for thorn CarpetReduce BOOLEAN verbose "Produce screen output while running" STEERABLE=always { } "no" BOOLEAN debug_iweight "Allow debugging iweight grid function by keeping it allocated" STEERABLE=recover { } "no" BOOLEAN min_max_time_interpolation "Interpolate in time for min/max reduction...
# Schedule definitions for thorn CarpetReduce schedule CarpetReduceStartup at STARTUP { LANG: C } "Startup routine" # Should this move to a new thorn MaskBase? STORAGE: weight STORAGE: excised_cells SCHEDULE GROUP MaskBase_SetupMask AT basegrid AFTER (SpatialCoordinates SphericalSurface_Setup) { } "Set up the ...
mask_carpet.cc
#include <cassert> #include <istream> #include <sstream> #include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <dh.hh> #include <carpet.hh> #include <loopcontrol.h> #include "bits.h" namespace CarpetMask { using namespace std; using namespace Carpet; /** * Reduce the weight on the...
Carpet/CarpetReduce
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetReduce REQUIRES Carpet CarpetLib MPI OPTIONAL LoopControl { }
# Interface definition for thorn CarpetReduce IMPLEMENTS: reduce uses include header: nompi.h uses include header: defs.hh uses include header: dh.hh uses include header: dist.hh uses include header: vect.hh uses include header: carpet.hh uses include header: carpet.h uses include header: typecase.hh uses include ...
# Parameter definitions for thorn CarpetReduce BOOLEAN verbose "Produce screen output while running" STEERABLE=always { } "no" BOOLEAN debug_iweight "Allow debugging iweight grid function by keeping it allocated" STEERABLE=recover { } "no" BOOLEAN min_max_time_interpolation "Interpolate in time for min/max reduction...
# Schedule definitions for thorn CarpetReduce schedule CarpetReduceStartup at STARTUP { LANG: C } "Startup routine" # Should this move to a new thorn MaskBase? STORAGE: weight STORAGE: excised_cells SCHEDULE GROUP MaskBase_SetupMask AT basegrid AFTER (SpatialCoordinates SphericalSurface_Setup) { } "Set up the ...
reduce.hh
#ifndef CARPETREDUCE_HH #define CARPETREDUCE_HH #include "reduce.h" #endif // !defined(CARPETREDUCE_HH)
Carpet/CarpetReduce
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetReduce REQUIRES Carpet CarpetLib MPI OPTIONAL LoopControl { }
# Interface definition for thorn CarpetReduce IMPLEMENTS: reduce uses include header: nompi.h uses include header: defs.hh uses include header: dh.hh uses include header: dist.hh uses include header: vect.hh uses include header: carpet.hh uses include header: carpet.h uses include header: typecase.hh uses include ...
# Parameter definitions for thorn CarpetReduce BOOLEAN verbose "Produce screen output while running" STEERABLE=always { } "no" BOOLEAN debug_iweight "Allow debugging iweight grid function by keeping it allocated" STEERABLE=recover { } "no" BOOLEAN min_max_time_interpolation "Interpolate in time for min/max reduction...
# Schedule definitions for thorn CarpetReduce schedule CarpetReduceStartup at STARTUP { LANG: C } "Startup routine" # Should this move to a new thorn MaskBase? STORAGE: weight STORAGE: excised_cells SCHEDULE GROUP MaskBase_SetupMask AT basegrid AFTER (SpatialCoordinates SphericalSurface_Setup) { } "Set up the ...
make.code.defn
# Main make.code.defn file for thorn CarpetReduce # Source files in this directory SRCS = mask_allocate.cc mask_init.cc mask_set.cc mask_test.cc mask_carpet.cc mask_coords.cc reduce.cc # Subdirectories containing source files SUBDIRS =
Carpet/CarpetReduce
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetReduce REQUIRES Carpet CarpetLib MPI OPTIONAL LoopControl { }
# Interface definition for thorn CarpetReduce IMPLEMENTS: reduce uses include header: nompi.h uses include header: defs.hh uses include header: dh.hh uses include header: dist.hh uses include header: vect.hh uses include header: carpet.hh uses include header: carpet.h uses include header: typecase.hh uses include ...
# Parameter definitions for thorn CarpetReduce BOOLEAN verbose "Produce screen output while running" STEERABLE=always { } "no" BOOLEAN debug_iweight "Allow debugging iweight grid function by keeping it allocated" STEERABLE=recover { } "no" BOOLEAN min_max_time_interpolation "Interpolate in time for min/max reduction...
# Schedule definitions for thorn CarpetReduce schedule CarpetReduceStartup at STARTUP { LANG: C } "Startup routine" # Should this move to a new thorn MaskBase? STORAGE: weight STORAGE: excised_cells SCHEDULE GROUP MaskBase_SetupMask AT basegrid AFTER (SpatialCoordinates SphericalSurface_Setup) { } "Set up the ...
mask_init.cc
#include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <loopcontrol.h> #include "bits.h" extern "C" void MaskBase_InitMask(CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; /* Initialise the weight to 1 everywhere */ if (verbose) { int const reflevel = GetRe...
Carpet/CarpetReduce
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetReduce REQUIRES Carpet CarpetLib MPI OPTIONAL LoopControl { }
# Interface definition for thorn CarpetReduce IMPLEMENTS: reduce uses include header: nompi.h uses include header: defs.hh uses include header: dh.hh uses include header: dist.hh uses include header: vect.hh uses include header: carpet.hh uses include header: carpet.h uses include header: typecase.hh uses include ...
# Parameter definitions for thorn CarpetReduce BOOLEAN verbose "Produce screen output while running" STEERABLE=always { } "no" BOOLEAN debug_iweight "Allow debugging iweight grid function by keeping it allocated" STEERABLE=recover { } "no" BOOLEAN min_max_time_interpolation "Interpolate in time for min/max reduction...
# Schedule definitions for thorn CarpetReduce schedule CarpetReduceStartup at STARTUP { LANG: C } "Startup routine" # Should this move to a new thorn MaskBase? STORAGE: weight STORAGE: excised_cells SCHEDULE GROUP MaskBase_SetupMask AT basegrid AFTER (SpatialCoordinates SphericalSurface_Setup) { } "Set up the ...
reduce.h
#ifndef CARPETREDUCE_H #define CARPETREDUCE_H #ifdef __cplusplus namespace CarpetReduce { extern "C" { #endif /* Scheduled functions */ int CarpetReduceStartup(void); #ifdef __cplusplus } /* extern "C" */ } /* namespace CarpetReduce */ #endif #endif /* !defined(CARPETREDUCE_H) */
Carpet/CarpetReduce
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetReduce REQUIRES Carpet CarpetLib MPI OPTIONAL LoopControl { }
# Interface definition for thorn CarpetReduce IMPLEMENTS: reduce uses include header: nompi.h uses include header: defs.hh uses include header: dh.hh uses include header: dist.hh uses include header: vect.hh uses include header: carpet.hh uses include header: carpet.h uses include header: typecase.hh uses include ...
# Parameter definitions for thorn CarpetReduce BOOLEAN verbose "Produce screen output while running" STEERABLE=always { } "no" BOOLEAN debug_iweight "Allow debugging iweight grid function by keeping it allocated" STEERABLE=recover { } "no" BOOLEAN min_max_time_interpolation "Interpolate in time for min/max reduction...
# Schedule definitions for thorn CarpetReduce schedule CarpetReduceStartup at STARTUP { LANG: C } "Startup routine" # Should this move to a new thorn MaskBase? STORAGE: weight STORAGE: excised_cells SCHEDULE GROUP MaskBase_SetupMask AT basegrid AFTER (SpatialCoordinates SphericalSurface_Setup) { } "Set up the ...
mask_coords.cc
#include <assert.h> #include <stdlib.h> #include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Functions.h> #include <cctk_Parameters.h> #include <loopcontrol.h> #include "bits.h" extern "C" void CoordBase_SetupMask(CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; CCTK_INT nboundaryzo...
Carpet/CarpetReduce
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetReduce REQUIRES Carpet CarpetLib MPI OPTIONAL LoopControl { }
# Interface definition for thorn CarpetReduce IMPLEMENTS: reduce uses include header: nompi.h uses include header: defs.hh uses include header: dh.hh uses include header: dist.hh uses include header: vect.hh uses include header: carpet.hh uses include header: carpet.h uses include header: typecase.hh uses include ...
# Parameter definitions for thorn CarpetReduce BOOLEAN verbose "Produce screen output while running" STEERABLE=always { } "no" BOOLEAN debug_iweight "Allow debugging iweight grid function by keeping it allocated" STEERABLE=recover { } "no" BOOLEAN min_max_time_interpolation "Interpolate in time for min/max reduction...
# Schedule definitions for thorn CarpetReduce schedule CarpetReduceStartup at STARTUP { LANG: C } "Startup routine" # Should this move to a new thorn MaskBase? STORAGE: weight STORAGE: excised_cells SCHEDULE GROUP MaskBase_SetupMask AT basegrid AFTER (SpatialCoordinates SphericalSurface_Setup) { } "Set up the ...
reduce.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <util_ErrorCodes.h> #include <util_Table.h> #include <algorithm> #include <cassert> #include <cfloat> #include <climits> #include <cmath> #include <complex> #include <cstdio> #include <cstdlib> #include <cstring> #include <limits> #include <vector> #ifdef CCTK_M...
Carpet/CarpetReduce
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetReduce REQUIRES Carpet CarpetLib MPI OPTIONAL LoopControl { }
# Interface definition for thorn CarpetReduce IMPLEMENTS: reduce uses include header: nompi.h uses include header: defs.hh uses include header: dh.hh uses include header: dist.hh uses include header: vect.hh uses include header: carpet.hh uses include header: carpet.h uses include header: typecase.hh uses include ...
# Parameter definitions for thorn CarpetReduce BOOLEAN verbose "Produce screen output while running" STEERABLE=always { } "no" BOOLEAN debug_iweight "Allow debugging iweight grid function by keeping it allocated" STEERABLE=recover { } "no" BOOLEAN min_max_time_interpolation "Interpolate in time for min/max reduction...
# Schedule definitions for thorn CarpetReduce schedule CarpetReduceStartup at STARTUP { LANG: C } "Startup routine" # Should this move to a new thorn MaskBase? STORAGE: weight STORAGE: excised_cells SCHEDULE GROUP MaskBase_SetupMask AT basegrid AFTER (SpatialCoordinates SphericalSurface_Setup) { } "Set up the ...
bits.h
#ifndef BITS_H #define BITS_H /* a mask with exactly bit n set */ inline unsigned BMSK(unsigned n) { return 1U << n; } /* whether bit n in value v is set */ inline unsigned BGET(unsigned v, unsigned n) { return !!(v & BMSK(n)); } /* set, clear, or invert bit n in value v */ inline unsigned BSET(unsigned v, unsigned ...
Carpet/CarpetRegrid
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetRegrid REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetRegrid IMPLEMENTS: CarpetRegrid uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: bboxset.hh uses include header: vect.hh uses include header: gf.hh uses include header: gh.hh # The location of the boundary points...
# Parameter definitions for thorn CarpetRegrid BOOLEAN verbose "Print screen output while running" { } "no" BOOLEAN veryverbose "Print much screen output while running" { } "no" CCTK_INT refinement_levels "Number of refinement levels (including the base level)" STEERABLE=always { 1:* :: "must be positive, and ...
# Schedule definitions for thorn CarpetRegrid schedule CarpetRegridParamcheck at PARAMCHECK { LANG: C OPTIONS: global } "Check Parameters"
manualgridpoints.cc
#include <assert.h> #include <sstream> #include <vector> #include "cctk.h" #include "cctk_Parameters.h" #include "gh.hh" #include "carpet.hh" #include "regrid.hh" namespace CarpetRegrid { using namespace std; using namespace Carpet; int ManualGridpoints(cGH const *const cctkGH, gh const &hh, gh::rregs &regss) { ...
Carpet/CarpetRegrid
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetRegrid REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetRegrid IMPLEMENTS: CarpetRegrid uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: bboxset.hh uses include header: vect.hh uses include header: gf.hh uses include header: gh.hh # The location of the boundary points...
# Parameter definitions for thorn CarpetRegrid BOOLEAN verbose "Print screen output while running" { } "no" BOOLEAN veryverbose "Print much screen output while running" { } "no" CCTK_INT refinement_levels "Number of refinement levels (including the base level)" STEERABLE=always { 1:* :: "must be positive, and ...
# Schedule definitions for thorn CarpetRegrid schedule CarpetRegridParamcheck at PARAMCHECK { LANG: C OPTIONS: global } "Check Parameters"
regrid.cc
#include <cassert> #include <sstream> #include <string> #include "cctk.h" #include "cctk_Parameters.h" #include "gh.hh" #include "vect.hh" #include "carpet.hh" #include "regrid.hh" namespace CarpetRegrid { using namespace std; using namespace Carpet; CCTK_INT CarpetRegrid_Regrid(CCTK_POINTER_TO_CONST const cctkGH...
Carpet/CarpetRegrid
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetRegrid REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetRegrid IMPLEMENTS: CarpetRegrid uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: bboxset.hh uses include header: vect.hh uses include header: gf.hh uses include header: gh.hh # The location of the boundary points...
# Parameter definitions for thorn CarpetRegrid BOOLEAN verbose "Print screen output while running" { } "no" BOOLEAN veryverbose "Print much screen output while running" { } "no" CCTK_INT refinement_levels "Number of refinement levels (including the base level)" STEERABLE=always { 1:* :: "must be positive, and ...
# Schedule definitions for thorn CarpetRegrid schedule CarpetRegridParamcheck at PARAMCHECK { LANG: C OPTIONS: global } "Check Parameters"
regrid.hh
#ifndef CARPETREGRID_HH #define CARPETREGRID_HH #include <list> #include <vector> #include "cctk.h" #include "cctk_Arguments.h" #include "bbox.hh" #include "gf.hh" #include "gh.hh" #include "region.hh" #include "vect.hh" #include "carpet.hh" namespace CarpetRegrid { using namespace std; using namespace Carpet; e...
Carpet/CarpetRegrid
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetRegrid REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetRegrid IMPLEMENTS: CarpetRegrid uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: bboxset.hh uses include header: vect.hh uses include header: gf.hh uses include header: gh.hh # The location of the boundary points...
# Parameter definitions for thorn CarpetRegrid BOOLEAN verbose "Print screen output while running" { } "no" BOOLEAN veryverbose "Print much screen output while running" { } "no" CCTK_INT refinement_levels "Number of refinement levels (including the base level)" STEERABLE=always { 1:* :: "must be positive, and ...
# Schedule definitions for thorn CarpetRegrid schedule CarpetRegridParamcheck at PARAMCHECK { LANG: C OPTIONS: global } "Check Parameters"
paramcheck.cc
#include <assert.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include "carpet.hh" #include "regrid.hh" namespace CarpetRegrid { using namespace std; using namespace Carpet; void CarpetRegridParamcheck(CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; if (re...
Carpet/CarpetRegrid
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetRegrid REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetRegrid IMPLEMENTS: CarpetRegrid uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: bboxset.hh uses include header: vect.hh uses include header: gf.hh uses include header: gh.hh # The location of the boundary points...
# Parameter definitions for thorn CarpetRegrid BOOLEAN verbose "Print screen output while running" { } "no" BOOLEAN veryverbose "Print much screen output while running" { } "no" CCTK_INT refinement_levels "Number of refinement levels (including the base level)" STEERABLE=always { 1:* :: "must be positive, and ...
# Schedule definitions for thorn CarpetRegrid schedule CarpetRegridParamcheck at PARAMCHECK { LANG: C OPTIONS: global } "Check Parameters"
make.code.defn
# Main make.code.defn file for thorn CarpetRegrid # Source files in this directory SRCS = automatic.cc \ baselevel.cc \ centre.cc \ manualcoordinatelist.cc \ manualcoordinates.cc \ manualgridpointlist.cc \ manualgridpoints.cc ...
Carpet/CarpetRegrid
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetRegrid REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetRegrid IMPLEMENTS: CarpetRegrid uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: bboxset.hh uses include header: vect.hh uses include header: gf.hh uses include header: gh.hh # The location of the boundary points...
# Parameter definitions for thorn CarpetRegrid BOOLEAN verbose "Print screen output while running" { } "no" BOOLEAN veryverbose "Print much screen output while running" { } "no" CCTK_INT refinement_levels "Number of refinement levels (including the base level)" STEERABLE=always { 1:* :: "must be positive, and ...
# Schedule definitions for thorn CarpetRegrid schedule CarpetRegridParamcheck at PARAMCHECK { LANG: C OPTIONS: global } "Check Parameters"
automatic.cc
#include <assert.h> #include <string.h> #include <algorithm> #include <list> #include <vector> #include "cctk.h" #include "cctk_Parameters.h" #include "gf.hh" #include "gh.hh" #include "vect.hh" #include "carpet.hh" #include "regrid.hh" namespace CarpetRegrid { using namespace std; using namespace Carpet; int Au...
Carpet/CarpetRegrid
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetRegrid REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetRegrid IMPLEMENTS: CarpetRegrid uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: bboxset.hh uses include header: vect.hh uses include header: gf.hh uses include header: gh.hh # The location of the boundary points...
# Parameter definitions for thorn CarpetRegrid BOOLEAN verbose "Print screen output while running" { } "no" BOOLEAN veryverbose "Print much screen output while running" { } "no" CCTK_INT refinement_levels "Number of refinement levels (including the base level)" STEERABLE=always { 1:* :: "must be positive, and ...
# Schedule definitions for thorn CarpetRegrid schedule CarpetRegridParamcheck at PARAMCHECK { LANG: C OPTIONS: global } "Check Parameters"
manualgridpointlist.cc
#include <assert.h> #include <string.h> #include <sstream> #include <vector> #include "cctk.h" #include "cctk_Parameters.h" #include "gh.hh" #include "carpet.hh" #include "regrid.hh" namespace CarpetRegrid { using namespace std; using namespace Carpet; int ManualGridpointList(cGH const *const cctkGH, gh const &h...
Carpet/CarpetRegrid
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetRegrid REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetRegrid IMPLEMENTS: CarpetRegrid uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: bboxset.hh uses include header: vect.hh uses include header: gf.hh uses include header: gh.hh # The location of the boundary points...
# Parameter definitions for thorn CarpetRegrid BOOLEAN verbose "Print screen output while running" { } "no" BOOLEAN veryverbose "Print much screen output while running" { } "no" CCTK_INT refinement_levels "Number of refinement levels (including the base level)" STEERABLE=always { 1:* :: "must be positive, and ...
# Schedule definitions for thorn CarpetRegrid schedule CarpetRegridParamcheck at PARAMCHECK { LANG: C OPTIONS: global } "Check Parameters"
manualcoordinatelist.cc
#include <cassert> #include <cmath> #include <cstring> #include <sstream> #include <vector> #include "cctk.h" #include "cctk_Parameters.h" #include "gh.hh" #include "carpet.hh" #include "regrid.hh" namespace CarpetRegrid { using namespace std; using namespace Carpet; int ManualCoordinateList(cGH const *const cctk...
Carpet/CarpetRegrid
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetRegrid REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetRegrid IMPLEMENTS: CarpetRegrid uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: bboxset.hh uses include header: vect.hh uses include header: gf.hh uses include header: gh.hh # The location of the boundary points...
# Parameter definitions for thorn CarpetRegrid BOOLEAN verbose "Print screen output while running" { } "no" BOOLEAN veryverbose "Print much screen output while running" { } "no" CCTK_INT refinement_levels "Number of refinement levels (including the base level)" STEERABLE=always { 1:* :: "must be positive, and ...
# Schedule definitions for thorn CarpetRegrid schedule CarpetRegridParamcheck at PARAMCHECK { LANG: C OPTIONS: global } "Check Parameters"
centre.cc
#include <assert.h> #include "cctk.h" #include "cctk_Parameters.h" #include "gh.hh" #include "carpet.hh" #include "regrid.hh" namespace CarpetRegrid { using namespace std; using namespace Carpet; int Centre(cGH const *const cctkGH, gh const &hh, gh::rregs &regss) { DECLARE_CCTK_PARAMETERS; assert(refinement_...
Carpet/CarpetRegrid
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetRegrid REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetRegrid IMPLEMENTS: CarpetRegrid uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: bboxset.hh uses include header: vect.hh uses include header: gf.hh uses include header: gh.hh # The location of the boundary points...
# Parameter definitions for thorn CarpetRegrid BOOLEAN verbose "Print screen output while running" { } "no" BOOLEAN veryverbose "Print much screen output while running" { } "no" CCTK_INT refinement_levels "Number of refinement levels (including the base level)" STEERABLE=always { 1:* :: "must be positive, and ...
# Schedule definitions for thorn CarpetRegrid schedule CarpetRegridParamcheck at PARAMCHECK { LANG: C OPTIONS: global } "Check Parameters"
baselevel.cc
#include <assert.h> #include "cctk.h" #include "cctk_Parameters.h" #include "gh.hh" #include "carpet.hh" #include "regrid.hh" namespace CarpetRegrid { using namespace std; using namespace Carpet; int BaseLevel(cGH const *const cctkGH, gh const &hh, gh::rregs &regss) { DECLARE_CCTK_PARAMETERS; assert(refineme...
Carpet/CarpetRegrid
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetRegrid REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetRegrid IMPLEMENTS: CarpetRegrid uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: bboxset.hh uses include header: vect.hh uses include header: gf.hh uses include header: gh.hh # The location of the boundary points...
# Parameter definitions for thorn CarpetRegrid BOOLEAN verbose "Print screen output while running" { } "no" BOOLEAN veryverbose "Print much screen output while running" { } "no" CCTK_INT refinement_levels "Number of refinement levels (including the base level)" STEERABLE=always { 1:* :: "must be positive, and ...
# Schedule definitions for thorn CarpetRegrid schedule CarpetRegridParamcheck at PARAMCHECK { LANG: C OPTIONS: global } "Check Parameters"
manualcoordinates.cc
#include <cassert> #include <vector> #include "cctk.h" #include "cctk_Parameters.h" #include "gh.hh" #include "carpet.hh" #include "regrid.hh" namespace CarpetRegrid { using namespace std; using namespace Carpet; int ManualCoordinates(cGH const *const cctkGH, gh const &hh, gh::rregs &regss) { DECLARE_CCTK_PARAM...
Carpet/CarpetRegrid
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetRegrid REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetRegrid IMPLEMENTS: CarpetRegrid uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: bboxset.hh uses include header: vect.hh uses include header: gf.hh uses include header: gh.hh # The location of the boundary points...
# Parameter definitions for thorn CarpetRegrid BOOLEAN verbose "Print screen output while running" { } "no" BOOLEAN veryverbose "Print much screen output while running" { } "no" CCTK_INT refinement_levels "Number of refinement levels (including the base level)" STEERABLE=always { 1:* :: "must be positive, and ...
# Schedule definitions for thorn CarpetRegrid schedule CarpetRegridParamcheck at PARAMCHECK { LANG: C OPTIONS: global } "Check Parameters"
moving.cc
#include <cassert> #include <cmath> #include "cctk.h" #include "cctk_Parameters.h" #include "gh.hh" #include "carpet.hh" #include "regrid.hh" namespace CarpetRegrid { using namespace std; using namespace Carpet; int Moving(cGH const *const cctkGH, gh const &hh, gh::rregs &regss) { DECLARE_CCTK_ARGUMENTS; DECL...
Carpet/CarpetRegrid
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetRegrid REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetRegrid IMPLEMENTS: CarpetRegrid uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: bboxset.hh uses include header: vect.hh uses include header: gf.hh uses include header: gh.hh # The location of the boundary points...
# Parameter definitions for thorn CarpetRegrid BOOLEAN verbose "Print screen output while running" { } "no" BOOLEAN veryverbose "Print much screen output while running" { } "no" CCTK_INT refinement_levels "Number of refinement levels (including the base level)" STEERABLE=always { 1:* :: "must be positive, and ...
# Schedule definitions for thorn CarpetRegrid schedule CarpetRegridParamcheck at PARAMCHECK { LANG: C OPTIONS: global } "Check Parameters"
regrid.h
#ifndef CARPETREGRID_H #define CARPETREGRID_H #include "cctk_Arguments.h" #ifdef __cplusplus namespace CarpetRegrid { extern "C" { #endif /* Scheduled functions */ int CarpetRegridStartup(); void CarpetRegridParamcheck(CCTK_ARGUMENTS); #ifdef __cplusplus } /* extern "C" */ } /* namespace CarpetRegrid */ #endif #en...
Carpet/CarpetRegrid2
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetRegrid2 REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetRegrid2 IMPLEMENTS: CarpetRegrid2 USES INCLUDE HEADER: Timer.hh USES INCLUDE HEADER: bbox.hh USES INCLUDE HEADER: bboxset.hh USES INCLUDE HEADER: defs.hh USES INCLUDE HEADER: dh.hh USES INCLUDE HEADER: gh.hh USES INCLUDE HEADER: mpi_string.hh USES INCLUDE HEADER: region.hh USES...
# Parameter definitions for thorn CarpetRegrid2 BOOLEAN verbose "Display regridding information on the terminal" STEERABLE=always { } "no" BOOLEAN veryverbose "Display much regridding information on the terminal" STEERABLE=always { } "no" CCTK_INT min_distance "Minimum distance (in grid points) between coarse and ...
# Schedule definitions for thorn CarpetRegrid2 STORAGE: last_iteration last_map STORAGE: active num_levels positions radii radiixyz STORAGE: old_active old_positions old_num_levels old_radiixyz if (adaptive_refinement) { STORAGE: level_mask } SCHEDULE CarpetRegrid2_ParamCheck AT paramcheck { LANG: C } "Check pa...
amr.hh
#ifndef AMR_HH #define AMR_HH #include <carpet.hh> namespace CarpetRegrid2 { void evaluate_level_mask(cGH const *restrict cctkGH, vector<ibset> &regions, int rl); } // namespace CarpetRegrid2 #endif // #ifndef AMR_HH
Carpet/CarpetRegrid2
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetRegrid2 REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetRegrid2 IMPLEMENTS: CarpetRegrid2 USES INCLUDE HEADER: Timer.hh USES INCLUDE HEADER: bbox.hh USES INCLUDE HEADER: bboxset.hh USES INCLUDE HEADER: defs.hh USES INCLUDE HEADER: dh.hh USES INCLUDE HEADER: gh.hh USES INCLUDE HEADER: mpi_string.hh USES INCLUDE HEADER: region.hh USES...
# Parameter definitions for thorn CarpetRegrid2 BOOLEAN verbose "Display regridding information on the terminal" STEERABLE=always { } "no" BOOLEAN veryverbose "Display much regridding information on the terminal" STEERABLE=always { } "no" CCTK_INT min_distance "Minimum distance (in grid points) between coarse and ...
# Schedule definitions for thorn CarpetRegrid2 STORAGE: last_iteration last_map STORAGE: active num_levels positions radii radiixyz STORAGE: old_active old_positions old_num_levels old_radiixyz if (adaptive_refinement) { STORAGE: level_mask } SCHEDULE CarpetRegrid2_ParamCheck AT paramcheck { LANG: C } "Check pa...
indexing.cc
#include <cassert> #include <cctk.h> #include "indexing.hh" namespace CarpetRegrid2 { // Get indexing information for a vector grid array void getvectorindex2(cGH const *const cctkGH, char const *const groupname, int *const lsh) { assert(groupname); assert(lsh); int const gi = CCTK_Group...