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/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
modes.cc
#include <algorithm> #include <cassert> #include <cstdarg> #include <cstdio> #include <cstdlib> #include <cstring> #include <functional> #include <cctk.h> #include <cctk_Parameters.h> #include <Timer.hh> #include <cacheinfo.hh> #include <defs.hh> #include <gdata.hh> #include <ggf.hh> #include <carpet.hh> namespace...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
Poison.cc
#include <cassert> #include <cstdlib> #include <cstring> #include <cctk.h> #include <cctk_Parameters.h> #include <util_ErrorCodes.h> #include <util_Table.h> #include <Timer.hh> #include <defs.hh> #include <typeprops.hh> #include <carpet.hh> namespace Carpet { using namespace std; // The parameter where specifies...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
carpet.hh
#ifndef CARPET_HH #define CARPET_HH #include <vector> #include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Functions.h> #include <cctk_Schedule.h> #include <gh.hh> #include "carpet_public.hh" namespace Carpet { using namespace std; // Scheduled functions extern "C" { int CarpetStartup(void); int CarpetMu...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
Shutdown.cc
#include <cstdio> #include <cstdlib> #include <cctk.h> #include <cctk_Parameters.h> #include <CactusTimerSet.hh> #include <Timer.hh> #include <dist.hh> #include <carpet.hh> namespace Carpet { using namespace std; int Shutdown(tFleshConfig *fc) { DECLARE_CCTK_PARAMETERS; Waypoint("Starting shutdown"); con...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
MultiModel.cc
#include <cctk.h> #include <cassert> #include <cstring> #include <iostream> #include <map> #include <string> #include <vector> #ifdef CCTK_MPI #include <mpi.h> #else #include "nompi.h" #endif #include <functions.hh> #include <mpi_string.hh> namespace Carpet { using namespace std; using namespace CarpetLib; vector...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
adler32.hh
// ADLER-32 checksum algorithm #ifndef ADLER32_HH #define ADLER32_HH #include <cstdlib> namespace Carpet { unsigned long adler32(char const *const data, // location of the data std::size_t const len); // length of the data in bytes } #endif // #ifndef ADLER32_HH
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
functions.hh
#ifndef FUNCTIONS_HH #define FUNCTIONS_HH #include <cctk.h> #include <cctk_Schedule.h> #include <map> #include <string> #include <vector> #ifdef CCTK_MPI #include <mpi.h> #else #include "nompi.h" #endif #include <bbox.hh> #include <dh.hh> #include <gh.hh> #include <vect.hh> namespace Carpet { using namespace std;...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
Hosts.cc
#include <cctk.h> #include <cassert> #include <cstring> #include <iostream> #include <map> #include <string> #include <vector> #ifdef CCTK_MPI #include <mpi.h> #else #include "nompi.h" #endif #include <dist.hh> #include <functions.hh> #include <mpi_string.hh> namespace Carpet { using namespace std; using namespace...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
Recompose.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <fstream> #include <iomanip> #include <iostream> #include <limits> #include <list> #include <sstream> #include <string> #include <vector> #include <s...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
CallFunction.cc
#include <algorithm> #include <cassert> #include <cstdlib> #include <cstring> #include <map> #include <string> #include <sstream> #include <cctk.h> #include <cctk_Parameters.h> #include <cctki_GHExtensions.h> #include <Requirements.hh> #include <Timer.hh> #include <gh.hh> #include <carpet.hh> #include "adler32.hh...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
Cycle.cc
#include <cassert> #include <cstdlib> #include <cctk.h> #include <cctk_Parameters.h> #include <Requirements.hh> #include <Timer.hh> #include <ggf.hh> #include <gh.hh> #include <carpet.hh> namespace Carpet { using namespace std; void CycleTimeLevels(cGH *const cctkGH) { DECLARE_CCTK_PARAMETERS; Timers::Time...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
Evolve.cc
#include <algorithm> #include <cassert> #include <cmath> #include <cstdio> #include <cstdlib> #include <iostream> #include <limits> #include <map> #include <string> #include <sstream> #include <cctk.h> #include <cctk_Parameters.h> #include <cctk_Termination.h> #include <util_String.h> #include <Requirements.hh> #inc...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
modes.hh
#ifndef MODES_HH #define MODES_HH #include <cctk.h> namespace Carpet { using namespace std; // // These are the modes: // // meta mode: // global mode: mglevel ("convergence level") is defined // level mode: reflevel is defined // singlemap mode: map ("map index") is defined // local mode: component ("pa...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
adler32.cc
// ADLER-32 checksum algorithm, taken from // <http://en.wikipedia.org/wiki/Adler-32> #include "adler32.hh" namespace Carpet { unsigned long const mod_adler = 65521; unsigned long adler32(char const *const data, // location of the data std::size_t const len) // length of the data in bytes { ...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
Comm.cc
#include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <iostream> #include <vector> #include <cctk.h> #include <cctk_Parameters.h> #include <Requirements.hh> #include <Timer.hh> #include <ggf.hh> #include <gh.hh> #include <carpet.hh> namespace Carpet { using namespace std; static v...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
Checksum.cc
#include <cassert> #include <cstdlib> #include <vector> #include <cctk.h> #include <cctk_Parameters.h> #include <util_ErrorCodes.h> #include <util_Table.h> #include <Timer.hh> #include <gh.hh> #include <carpet.hh> namespace Carpet { using namespace std; // Checksum information struct ckdesc { bool valid; uns...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
variables.hh
// It is assumed that each group has at least one map. All arrays // have exactly one map. All maps have the same number of refinement // levels. // It is assumed that each group has at least one component. // It is assumed that the number of components of all arrays is equal // to the number of components of the g...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
carpet_public.h
#ifndef CARPET_PUBLIC_H #define CARPET_PUBLIC_H #include <cctk.h> #ifdef CCTK_MPI #include <mpi.h> #else #include "nompi.h" #endif /* Tell thorns that the Carpet routines exist */ #define HAVE_CARPET #ifdef __cplusplus namespace Carpet { extern "C" { #endif /* Carpet's GH extension */ struct CarpetGH { #if 0 ...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
util/plot-bboxes
splot "< awk 'BEGIN { FS=\"[][,]\"; } { print $2,$3,$4; print $6,$3,$4; print $6,$7,$4; print $2,$7,$4; print $2,$3,$4; print \"\"; print $2,$3,$8; print $6,$3,$8; print $6,$7,$8; print $2,$7,$8; print $2,$3,$8; print \"\"; print $2,$3,$4; print $2,$3,$8; print \"\"; print $6,$3,$4; print $6,$3,$8; print \"\"; print $2...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
LoadBalanceReal/test.F90
program test use carpet_boxtypes implicit none type(bbox), dimension(100) :: inboxes integer, dimension(3,2) :: obound_init = reshape (source = (/ 1, 1, 1, 1, 1, 1 /), shape = (/ 3, 2 /)) type(boundary) :: outbound integer :: nprocs, i, j, nregs, & mode type(ptr), dimension(:), allocatable...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
LoadBalanceReal/carpet_boxtypes.F90
#include "cctk.h" module carpet_boxtypes use carpet_region implicit none integer :: ghostsize real(wp) :: alpha logical :: limit_size integer :: procid contains ! The basic calculation of the cost in each of the 3 directions. subroutine cost_box ( reg, cost ) type(bbox), intent(in) :: reg...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
LoadBalanceReal/splitregions_recursively.F90
#include "cctk.h" subroutine splitregions_recursively ( & cxx_superregs, nsuperregs, & cxx_regs, & nprocs, & ghostsize_, alpha_, limit_size_, & procid_) use carpet_boxtypes implicit none integer, intent(in) :: nsuperregs CCTK_POINTER, intent(in) :: cxx_superregs CCTK_POINTER,...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
LoadBalanceReal/splitregions_recursively.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <fstream> #include <iomanip> #include <iostream> #include <limits> #include <list> #include <sstream> #include <string> #include <vector> #include <s...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
LoadBalanceReal/make.code.defn
# Main make.code.defn file for thorn Carpet -*-Makefile-*- # Source files in this directory SRCS = carpet_boxtypes.F90 carpet_region.F90 splitregions_recursively.F90 splitregions_recursively.cc
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
LoadBalanceReal/carpet_region.F90
module carpet_region implicit none integer, parameter :: wp = selected_real_kind(12,99) ! These empty arrays are used to initialize variables to either the ! min or max possible number of kind wp or integer. real(wp), dimension(2:1) :: empty integer, dimension(2:1) :: iempty ! Note that u...
Carpet/Carpet
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn Carpet PROVIDES Carpet { } REQUIRES CarpetLib IOUtil MPI Timers OPTIONAL LoopControl { }
# Interface definition for thorn Carpet IMPLEMENTS: Driver include header: carpet_public.hh in carpet.hh include header: carpet_public.h in carpet.h uses include header: Requirements.hh uses include header: nompi.h uses include header: loopcontrol.h uses include header: CactusTimerSet.hh uses include header: Time...
# Parameter definitions for thorn Carpet shares: Cactus USES BOOLEAN terminate_next USES KEYWORD terminate USES CCTK_INT cctk_itlast USES CCTK_REAL cctk_initial_time USES CCTK_REAL cctk_final_time USES CCTK_REAL max_runtime shares: InitBase USES KEYWORD initial_data_setup_method shares: IO USES STRING out_dir ...
# Schedule definitions for thorn Carpet # This is disabled because its implementation is not complete #storage: point_classification storage: timing timing_procs timing_levels storage: memory_procs schedule CarpetMultiModelStartup at STARTUP as MultiModel_Startup before Driver_Startup { LANG: C } "Multi-model Start...
LoadBalanceReal/boxes.par
&input nregs=7 / &superregions inboxes=0 44 1 0 44 1 0 1993 1 0 44 1 0 44 1 0 1993 1 0 44 1 0 44 1 0 1993 1 0 44 1 0 44 1 0 1993 1 0 44 1 0 44 1 0 1993 1 0 44 1 0 44 1 0 1993 1 0 194 1 0 1...
Carpet/CarpetEvolutionMask
https://bitbucket.org/eschnett/carpet.git
# Configuration definition for thorn CarpetEvolutionMask REQUIRES Carpet
# Interface definition for thorn CarpetEvolutionMask IMPLEMENTS: CarpetEvolutionMask CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex) REQUIRES FUNCTION MoLQueryEvolvedRHS USES INCLUDE HEADER: dist.hh USES INCLUDE HEADER: vect.hh USES INCLUDE HEADER: carpet.hh PUBLIC: CCTK_REAL evolution_mask ...
# Parameter definitions for thorn CarpetEvolutionMask BOOLEAN verbose "Do verbose debugging output" STEERABLE=always { } "no" BOOLEAN enforce_mask "Set RHS to zero where mask value is 0?" STEERABLE=recover { } "no" BOOLEAN writeNaNs "Write NaNs into masked regions" STEERABLE=always { } "no" STRING enforce_vars ...
# Schedule definitions for thorn CarpetEvolutionMask STORAGE: evolution_mask if (provide_buffer_mask) { STORAGE: buffer_mask } SCHEDULE GROUP EvolutionMaskBase_SetupEvolutionMask AT basegrid { } "Set up the mask function" SCHEDULE GROUP EvolutionMaskBase_SetupEvolutionMask AT postregridinitial { } "Set up the ma...
make.code.defn
# Main make.code.defn file for thorn CarpetEvolutionMask # Source files in this directory SRCS = evolution_mask.cc evolution_mask_init.c evolution_mask_enforce.c # Subdirectories containing source files SUBDIRS =
Carpet/CarpetEvolutionMask
https://bitbucket.org/eschnett/carpet.git
# Configuration definition for thorn CarpetEvolutionMask REQUIRES Carpet
# Interface definition for thorn CarpetEvolutionMask IMPLEMENTS: CarpetEvolutionMask CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex) REQUIRES FUNCTION MoLQueryEvolvedRHS USES INCLUDE HEADER: dist.hh USES INCLUDE HEADER: vect.hh USES INCLUDE HEADER: carpet.hh PUBLIC: CCTK_REAL evolution_mask ...
# Parameter definitions for thorn CarpetEvolutionMask BOOLEAN verbose "Do verbose debugging output" STEERABLE=always { } "no" BOOLEAN enforce_mask "Set RHS to zero where mask value is 0?" STEERABLE=recover { } "no" BOOLEAN writeNaNs "Write NaNs into masked regions" STEERABLE=always { } "no" STRING enforce_vars ...
# Schedule definitions for thorn CarpetEvolutionMask STORAGE: evolution_mask if (provide_buffer_mask) { STORAGE: buffer_mask } SCHEDULE GROUP EvolutionMaskBase_SetupEvolutionMask AT basegrid { } "Set up the mask function" SCHEDULE GROUP EvolutionMaskBase_SetupEvolutionMask AT postregridinitial { } "Set up the ma...
evolution_mask.hh
#include "cctk.h" #include "cctk_Arguments.h" namespace CarpetEvolutionMask { extern "C" { void CarpetEvolutionMaskSetup(CCTK_ARGUMENTS); } } // namespace CarpetEovlutionMask
Carpet/CarpetEvolutionMask
https://bitbucket.org/eschnett/carpet.git
# Configuration definition for thorn CarpetEvolutionMask REQUIRES Carpet
# Interface definition for thorn CarpetEvolutionMask IMPLEMENTS: CarpetEvolutionMask CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex) REQUIRES FUNCTION MoLQueryEvolvedRHS USES INCLUDE HEADER: dist.hh USES INCLUDE HEADER: vect.hh USES INCLUDE HEADER: carpet.hh PUBLIC: CCTK_REAL evolution_mask ...
# Parameter definitions for thorn CarpetEvolutionMask BOOLEAN verbose "Do verbose debugging output" STEERABLE=always { } "no" BOOLEAN enforce_mask "Set RHS to zero where mask value is 0?" STEERABLE=recover { } "no" BOOLEAN writeNaNs "Write NaNs into masked regions" STEERABLE=always { } "no" STRING enforce_vars ...
# Schedule definitions for thorn CarpetEvolutionMask STORAGE: evolution_mask if (provide_buffer_mask) { STORAGE: buffer_mask } SCHEDULE GROUP EvolutionMaskBase_SetupEvolutionMask AT basegrid { } "Set up the mask function" SCHEDULE GROUP EvolutionMaskBase_SetupEvolutionMask AT postregridinitial { } "Set up the ma...
evolution_mask_init.c
#include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include "util_Table.h" void EvolutionMaskBase_InitEvolutionMask(CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; int i, j, k; /* Initialise the mask to 1 everywhere */ if (verbose) { CCTK_INFO("Initialising t...
Carpet/CarpetEvolutionMask
https://bitbucket.org/eschnett/carpet.git
# Configuration definition for thorn CarpetEvolutionMask REQUIRES Carpet
# Interface definition for thorn CarpetEvolutionMask IMPLEMENTS: CarpetEvolutionMask CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex) REQUIRES FUNCTION MoLQueryEvolvedRHS USES INCLUDE HEADER: dist.hh USES INCLUDE HEADER: vect.hh USES INCLUDE HEADER: carpet.hh PUBLIC: CCTK_REAL evolution_mask ...
# Parameter definitions for thorn CarpetEvolutionMask BOOLEAN verbose "Do verbose debugging output" STEERABLE=always { } "no" BOOLEAN enforce_mask "Set RHS to zero where mask value is 0?" STEERABLE=recover { } "no" BOOLEAN writeNaNs "Write NaNs into masked regions" STEERABLE=always { } "no" STRING enforce_vars ...
# Schedule definitions for thorn CarpetEvolutionMask STORAGE: evolution_mask if (provide_buffer_mask) { STORAGE: buffer_mask } SCHEDULE GROUP EvolutionMaskBase_SetupEvolutionMask AT basegrid { } "Set up the mask function" SCHEDULE GROUP EvolutionMaskBase_SetupEvolutionMask AT postregridinitial { } "Set up the ma...
evolution_mask.cc
#include <cassert> #include <sstream> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include "carpet.hh" #include "evolution_mask.hh" namespace CarpetEvolutionMask { using namespace std; using namespace Carpet; void CarpetEvolutionMaskSetup(CCTK_ARGUMENTS) { DECLARE_CCTK_PARAMETERS;...
Carpet/CarpetEvolutionMask
https://bitbucket.org/eschnett/carpet.git
# Configuration definition for thorn CarpetEvolutionMask REQUIRES Carpet
# Interface definition for thorn CarpetEvolutionMask IMPLEMENTS: CarpetEvolutionMask CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex) REQUIRES FUNCTION MoLQueryEvolvedRHS USES INCLUDE HEADER: dist.hh USES INCLUDE HEADER: vect.hh USES INCLUDE HEADER: carpet.hh PUBLIC: CCTK_REAL evolution_mask ...
# Parameter definitions for thorn CarpetEvolutionMask BOOLEAN verbose "Do verbose debugging output" STEERABLE=always { } "no" BOOLEAN enforce_mask "Set RHS to zero where mask value is 0?" STEERABLE=recover { } "no" BOOLEAN writeNaNs "Write NaNs into masked regions" STEERABLE=always { } "no" STRING enforce_vars ...
# Schedule definitions for thorn CarpetEvolutionMask STORAGE: evolution_mask if (provide_buffer_mask) { STORAGE: buffer_mask } SCHEDULE GROUP EvolutionMaskBase_SetupEvolutionMask AT basegrid { } "Set up the mask function" SCHEDULE GROUP EvolutionMaskBase_SetupEvolutionMask AT postregridinitial { } "Set up the ma...
evolution_mask_enforce.c
#include <assert.h> #include <stdlib.h> #include <stdio.h> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" static void enforce(int const varindex, char const *const optstring, void *const arg); void enforce_evolution_mask(CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DE...
Carpet/CarpetIOASCII
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOASCII REQUIRES Carpet CarpetLib IOUtil OPTIONAL SDF { }
# Interface definition for thorn CarpetIOASCII IMPLEMENTS: IOASCII uses include header: Timer.hh uses include header: carpet.hh uses include header: dist.hh uses include header: vect.hh uses include header: data.hh uses include header: gdata.hh uses include header: gf.hh uses include header: ggf.hh uses include...
# Parameter definitions for thorn CarpetIOASCII shares: IO USES STRING out_dir USES KEYWORD out_criterion USES CCTK_INT out_every USES CCTK_REAL out_dt USES CCTK_INT out_xline_yi USES CCTK_INT out_xline_zi USES CCTK_INT out_yline_xi USES CCTK_INT out_yline_zi USES CCTK_INT out_zline_xi USES CCTK_INT out_zline_y...
# Schedule definitions for thorn CarpetIOASCII STORAGE: last_output_iteration last_output_time this_iteration SCHEDULE CarpetIOASCIIStartup AT startup AFTER IOUtil_Startup { LANG: C OPTIONS: global } "Startup routine" SCHEDULE CarpetIOASCIIInit AT initial { LANG: C OPTIONS: global } "Initialisation routine"
make.configuration.defn
# Main make.configuration.defn file for thorn CarpetIOASCII ALL_UTILS += carpet2xgraph ifneq ($(strip $(HAVE_SDF)), ) ALL_UTILS += carpet2sdf endif
Carpet/CarpetIOASCII
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOASCII REQUIRES Carpet CarpetLib IOUtil OPTIONAL SDF { }
# Interface definition for thorn CarpetIOASCII IMPLEMENTS: IOASCII uses include header: Timer.hh uses include header: carpet.hh uses include header: dist.hh uses include header: vect.hh uses include header: data.hh uses include header: gdata.hh uses include header: gf.hh uses include header: ggf.hh uses include...
# Parameter definitions for thorn CarpetIOASCII shares: IO USES STRING out_dir USES KEYWORD out_criterion USES CCTK_INT out_every USES CCTK_REAL out_dt USES CCTK_INT out_xline_yi USES CCTK_INT out_xline_zi USES CCTK_INT out_yline_xi USES CCTK_INT out_yline_zi USES CCTK_INT out_zline_xi USES CCTK_INT out_zline_y...
# Schedule definitions for thorn CarpetIOASCII STORAGE: last_output_iteration last_output_time this_iteration SCHEDULE CarpetIOASCIIStartup AT startup AFTER IOUtil_Startup { LANG: C OPTIONS: global } "Startup routine" SCHEDULE CarpetIOASCIIInit AT initial { LANG: C OPTIONS: global } "Initialisation routine"
make.configuration.deps
# Main make.configuration.deps file for thorn CarpetIOASCII CARPETIOASCII_BUILD_DIR = $(BUILD_DIR)/CarpetIOASCII CARPETIOASCII_SRC_DIR = $(PACKAGE_DIR)/Carpet/CarpetIOASCII/src/util CARPETIOASCII_CFLAGS = -DCCODE $(CFLAGS) CARPETIOASCII_LDFLAGS = $(DEBUG_LD) $(LDFLAGS) $(CXXFLAGS) $(EXTRAFLAGS) $(GENERAL_LIBRARIES...
Carpet/CarpetIOASCII
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOASCII REQUIRES Carpet CarpetLib IOUtil OPTIONAL SDF { }
# Interface definition for thorn CarpetIOASCII IMPLEMENTS: IOASCII uses include header: Timer.hh uses include header: carpet.hh uses include header: dist.hh uses include header: vect.hh uses include header: data.hh uses include header: gdata.hh uses include header: gf.hh uses include header: ggf.hh uses include...
# Parameter definitions for thorn CarpetIOASCII shares: IO USES STRING out_dir USES KEYWORD out_criterion USES CCTK_INT out_every USES CCTK_REAL out_dt USES CCTK_INT out_xline_yi USES CCTK_INT out_xline_zi USES CCTK_INT out_yline_xi USES CCTK_INT out_yline_zi USES CCTK_INT out_zline_xi USES CCTK_INT out_zline_y...
# Schedule definitions for thorn CarpetIOASCII STORAGE: last_output_iteration last_output_time this_iteration SCHEDULE CarpetIOASCIIStartup AT startup AFTER IOUtil_Startup { LANG: C OPTIONS: global } "Startup routine" SCHEDULE CarpetIOASCIIInit AT initial { LANG: C OPTIONS: global } "Initialisation routine"
make.code.defn
# Main make.code.defn file for thorn CarpetIOASCII # Source files in this directory SRCS = ioascii.cc # Subdirectories containing source files SUBDIRS =
Carpet/CarpetIOASCII
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOASCII REQUIRES Carpet CarpetLib IOUtil OPTIONAL SDF { }
# Interface definition for thorn CarpetIOASCII IMPLEMENTS: IOASCII uses include header: Timer.hh uses include header: carpet.hh uses include header: dist.hh uses include header: vect.hh uses include header: data.hh uses include header: gdata.hh uses include header: gf.hh uses include header: ggf.hh uses include...
# Parameter definitions for thorn CarpetIOASCII shares: IO USES STRING out_dir USES KEYWORD out_criterion USES CCTK_INT out_every USES CCTK_REAL out_dt USES CCTK_INT out_xline_yi USES CCTK_INT out_xline_zi USES CCTK_INT out_yline_xi USES CCTK_INT out_yline_zi USES CCTK_INT out_zline_xi USES CCTK_INT out_zline_y...
# Schedule definitions for thorn CarpetIOASCII STORAGE: last_output_iteration last_output_time this_iteration SCHEDULE CarpetIOASCIIStartup AT startup AFTER IOUtil_Startup { LANG: C OPTIONS: global } "Startup routine" SCHEDULE CarpetIOASCIIInit AT initial { LANG: C OPTIONS: global } "Initialisation routine"
ioascii.hh
#ifndef CARPETIOASCII_HH #define CARPETIOASCII_HH #include <vector> #include <cctk.h> #include <cctk_Arguments.h> namespace CarpetIOASCII { using namespace std; // Scheduled functions extern "C" { int CarpetIOASCIIStartup(void); void CarpetIOASCIIInit(CCTK_ARGUMENTS); } // routines which are independent of the ou...
Carpet/CarpetIOASCII
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOASCII REQUIRES Carpet CarpetLib IOUtil OPTIONAL SDF { }
# Interface definition for thorn CarpetIOASCII IMPLEMENTS: IOASCII uses include header: Timer.hh uses include header: carpet.hh uses include header: dist.hh uses include header: vect.hh uses include header: data.hh uses include header: gdata.hh uses include header: gf.hh uses include header: ggf.hh uses include...
# Parameter definitions for thorn CarpetIOASCII shares: IO USES STRING out_dir USES KEYWORD out_criterion USES CCTK_INT out_every USES CCTK_REAL out_dt USES CCTK_INT out_xline_yi USES CCTK_INT out_xline_zi USES CCTK_INT out_yline_xi USES CCTK_INT out_yline_zi USES CCTK_INT out_zline_xi USES CCTK_INT out_zline_y...
# Schedule definitions for thorn CarpetIOASCII STORAGE: last_output_iteration last_output_time this_iteration SCHEDULE CarpetIOASCIIStartup AT startup AFTER IOUtil_Startup { LANG: C OPTIONS: global } "Startup routine" SCHEDULE CarpetIOASCIIInit AT initial { LANG: C OPTIONS: global } "Initialisation routine"
ioascii.cc
#include <cassert> #include <cctype> #include <climits> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstring> #include <algorithm> #include <fstream> #include <iomanip> #include <map> #include <ostream> #include <sstream> #include <string> #include <vector> #include <cctk.h> #include <cctk_Paramete...
Carpet/CarpetIOASCII
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOASCII REQUIRES Carpet CarpetLib IOUtil OPTIONAL SDF { }
# Interface definition for thorn CarpetIOASCII IMPLEMENTS: IOASCII uses include header: Timer.hh uses include header: carpet.hh uses include header: dist.hh uses include header: vect.hh uses include header: data.hh uses include header: gdata.hh uses include header: gf.hh uses include header: ggf.hh uses include...
# Parameter definitions for thorn CarpetIOASCII shares: IO USES STRING out_dir USES KEYWORD out_criterion USES CCTK_INT out_every USES CCTK_REAL out_dt USES CCTK_INT out_xline_yi USES CCTK_INT out_xline_zi USES CCTK_INT out_yline_xi USES CCTK_INT out_yline_zi USES CCTK_INT out_zline_xi USES CCTK_INT out_zline_y...
# Schedule definitions for thorn CarpetIOASCII STORAGE: last_output_iteration last_output_time this_iteration SCHEDULE CarpetIOASCIIStartup AT startup AFTER IOUtil_Startup { LANG: C OPTIONS: global } "Startup routine" SCHEDULE CarpetIOASCIIInit AT initial { LANG: C OPTIONS: global } "Initialisation routine"
util/mergeCarpetIOASCII.pl
#! /usr/bin/perl -w #/*@@ # @file mergeCarpetIOASCII.pl # @date Tue 15 August 2006 # @author Thomas Radke # @desc # Perl script to merge CarpetIOASCII output files, # eliminating duplicate datasets. # # Source code comments also by Thomas Radke :-) # @enddesc #@@*/ ...
Carpet/CarpetIOASCII
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOASCII REQUIRES Carpet CarpetLib IOUtil OPTIONAL SDF { }
# Interface definition for thorn CarpetIOASCII IMPLEMENTS: IOASCII uses include header: Timer.hh uses include header: carpet.hh uses include header: dist.hh uses include header: vect.hh uses include header: data.hh uses include header: gdata.hh uses include header: gf.hh uses include header: ggf.hh uses include...
# Parameter definitions for thorn CarpetIOASCII shares: IO USES STRING out_dir USES KEYWORD out_criterion USES CCTK_INT out_every USES CCTK_REAL out_dt USES CCTK_INT out_xline_yi USES CCTK_INT out_xline_zi USES CCTK_INT out_yline_xi USES CCTK_INT out_yline_zi USES CCTK_INT out_zline_xi USES CCTK_INT out_zline_y...
# Schedule definitions for thorn CarpetIOASCII STORAGE: last_output_iteration last_output_time this_iteration SCHEDULE CarpetIOASCIIStartup AT startup AFTER IOUtil_Startup { LANG: C OPTIONS: global } "Startup routine" SCHEDULE CarpetIOASCIIInit AT initial { LANG: C OPTIONS: global } "Initialisation routine"
util/carpet2sdf.c
/******************************************************************* * Program: carpet2sdf * Description: Converts from Carpet ASCII file format to SDF format * Author: Scott H. Hawley * Date: June 17, 2002 * * Similar to carpet2sdf, except that instead of sending output to * sdtout, it sends it to <infile>...
Carpet/CarpetIOASCII
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOASCII REQUIRES Carpet CarpetLib IOUtil OPTIONAL SDF { }
# Interface definition for thorn CarpetIOASCII IMPLEMENTS: IOASCII uses include header: Timer.hh uses include header: carpet.hh uses include header: dist.hh uses include header: vect.hh uses include header: data.hh uses include header: gdata.hh uses include header: gf.hh uses include header: ggf.hh uses include...
# Parameter definitions for thorn CarpetIOASCII shares: IO USES STRING out_dir USES KEYWORD out_criterion USES CCTK_INT out_every USES CCTK_REAL out_dt USES CCTK_INT out_xline_yi USES CCTK_INT out_xline_zi USES CCTK_INT out_yline_xi USES CCTK_INT out_yline_zi USES CCTK_INT out_zline_xi USES CCTK_INT out_zline_y...
# Schedule definitions for thorn CarpetIOASCII STORAGE: last_output_iteration last_output_time this_iteration SCHEDULE CarpetIOASCIIStartup AT startup AFTER IOUtil_Startup { LANG: C OPTIONS: global } "Startup routine" SCHEDULE CarpetIOASCIIInit AT initial { LANG: C OPTIONS: global } "Initialisation routine"
util/Carpet2ygraphCat.pl
#! /usr/bin/perl -sw # # Given an output file in CarpetIOScalar format or # CarpetIOASCII scalar or 1d format, strip to ygraph format. # Output is to a file named after the input file, with its extension ".asc" # substituted by ".xg". # # Example: # # Carpet2ygraphCat.pl alp.x.asc # # produces alp.x.xg # # Carpet2...
Carpet/CarpetIOASCII
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOASCII REQUIRES Carpet CarpetLib IOUtil OPTIONAL SDF { }
# Interface definition for thorn CarpetIOASCII IMPLEMENTS: IOASCII uses include header: Timer.hh uses include header: carpet.hh uses include header: dist.hh uses include header: vect.hh uses include header: data.hh uses include header: gdata.hh uses include header: gf.hh uses include header: ggf.hh uses include...
# Parameter definitions for thorn CarpetIOASCII shares: IO USES STRING out_dir USES KEYWORD out_criterion USES CCTK_INT out_every USES CCTK_REAL out_dt USES CCTK_INT out_xline_yi USES CCTK_INT out_xline_zi USES CCTK_INT out_yline_xi USES CCTK_INT out_yline_zi USES CCTK_INT out_zline_xi USES CCTK_INT out_zline_y...
# Schedule definitions for thorn CarpetIOASCII STORAGE: last_output_iteration last_output_time this_iteration SCHEDULE CarpetIOASCIIStartup AT startup AFTER IOUtil_Startup { LANG: C OPTIONS: global } "Startup routine" SCHEDULE CarpetIOASCIIInit AT initial { LANG: C OPTIONS: global } "Initialisation routine"
util/Carpet2ygraph.pl
#! /usr/bin/perl -sw # # Blame Ian Hawke for not checking that Scott had already written a C # program to do this add so writing a perl version instead # # Given an output file in CarpetIOASCII 1d format, strip to ygraph format. # The arguments should be direction (x=0,y=1,z=2) and filename. # Output is to a file. Only...
Carpet/CarpetIOASCII
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOASCII REQUIRES Carpet CarpetLib IOUtil OPTIONAL SDF { }
# Interface definition for thorn CarpetIOASCII IMPLEMENTS: IOASCII uses include header: Timer.hh uses include header: carpet.hh uses include header: dist.hh uses include header: vect.hh uses include header: data.hh uses include header: gdata.hh uses include header: gf.hh uses include header: ggf.hh uses include...
# Parameter definitions for thorn CarpetIOASCII shares: IO USES STRING out_dir USES KEYWORD out_criterion USES CCTK_INT out_every USES CCTK_REAL out_dt USES CCTK_INT out_xline_yi USES CCTK_INT out_xline_zi USES CCTK_INT out_yline_xi USES CCTK_INT out_yline_zi USES CCTK_INT out_zline_xi USES CCTK_INT out_zline_y...
# Schedule definitions for thorn CarpetIOASCII STORAGE: last_output_iteration last_output_time this_iteration SCHEDULE CarpetIOASCIIStartup AT startup AFTER IOUtil_Startup { LANG: C OPTIONS: global } "Startup routine" SCHEDULE CarpetIOASCIIInit AT initial { LANG: C OPTIONS: global } "Initialisation routine"
util/carpet2xgraph.c
/******************************************************************* * Program: carpet2xgraph * Description: Converts from Carpet ASCII file format to Xgraph format * Author: Scott H. Hawley * Date: June 17, 2002 * * This will select the data for ONE REFINEMENT LEVEL (default 0) * and send the result to std...
Carpet/CarpetIOBasic
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOBasic REQUIRES Carpet CarpetLib IOUtil
# Interface definition for thorn CarpetIOBasic IMPLEMENTS: IOBasic INHERITS: IO CCTK_INT last_output_iteration TYPE=scalar CCTK_REAL last_output_time TYPE=scalar CCTK_INT this_iteration TYPE=scalar USES INCLUDE HEADER: Timer.hh USES INCLUDE HEADER: carpet.hh USES INCLUDE HEADER: typecase.hh USES INCLUDE HEADER: ty...
# Parameter definitions for thorn CarpetIOBasic SHARES: IO USES KEYWORD out_criterion USES CCTK_INT out_every USES CCTK_REAL out_dt USES BOOLEAN strict_io_parameter_check PRIVATE: CCTK_STRING outInfo_vars "Variables to output in scalar form" STEERABLE = ALWAYS { "" :: "A regex which matches everything" } "" C...
# Schedule definitions for thorn CarpetIOBasic storage: last_output_iteration last_output_time this_iteration schedule CarpetIOBasicStartup at STARTUP after IOUtil_Startup { LANG: C OPTIONS: global } "Startup routine" schedule CarpetIOBasicInit at INITIAL { LANG: C OPTIONS: global } "Initialisation routine"
iobasic.cc
#include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <cstring> #include <cctype> #include <fstream> #include <iomanip> #include <iostream> #include <list> #include <sstream> #include <string> #include <vector> #include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #...
Carpet/CarpetIOBasic
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOBasic REQUIRES Carpet CarpetLib IOUtil
# Interface definition for thorn CarpetIOBasic IMPLEMENTS: IOBasic INHERITS: IO CCTK_INT last_output_iteration TYPE=scalar CCTK_REAL last_output_time TYPE=scalar CCTK_INT this_iteration TYPE=scalar USES INCLUDE HEADER: Timer.hh USES INCLUDE HEADER: carpet.hh USES INCLUDE HEADER: typecase.hh USES INCLUDE HEADER: ty...
# Parameter definitions for thorn CarpetIOBasic SHARES: IO USES KEYWORD out_criterion USES CCTK_INT out_every USES CCTK_REAL out_dt USES BOOLEAN strict_io_parameter_check PRIVATE: CCTK_STRING outInfo_vars "Variables to output in scalar form" STEERABLE = ALWAYS { "" :: "A regex which matches everything" } "" C...
# Schedule definitions for thorn CarpetIOBasic storage: last_output_iteration last_output_time this_iteration schedule CarpetIOBasicStartup at STARTUP after IOUtil_Startup { LANG: C OPTIONS: global } "Startup routine" schedule CarpetIOBasicInit at INITIAL { LANG: C OPTIONS: global } "Initialisation routine"
make.code.defn
# Main make.code.defn file for thorn CarpetIOBasic # Source files in this directory SRCS = iobasic.cc # Subdirectories containing source files SUBDIRS =
Carpet/CarpetIOHDF5
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOHDF5 REQUIRES Carpet CarpetLib IOUtil HDF5 OPTIONAL MPI { } PROVIDES CarpetIOHDF5 { }
# Interface definition for thorn CarpetIOHDF5 IMPLEMENTS: IOHDF5 includes header: CarpetIOHDF5.hh in CarpetIOHDF5.hh uses include header: Timer.hh uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: vect.hh uses include header: data.hh uses include header...
# Parameter definitions for thorn CarpetIOHDF5 shares: IO USES STRING out_dir AS io_out_dir USES KEYWORD out_criterion AS io_out_criterion USES INT out_every AS io_out_every USES REAL out_dt AS io_out_dt USES BOOLEAN out_unchunked AS io_out_unchunked USES KEYWORD verbose USES BOOLEAN out_s...
# Schedule definitions for thorn CarpetIOHDF5 storage: next_output_iteration next_output_time this_iteration storage: last_output_iteration_slice last_output_time_slice this_iteration_slice schedule CarpetIOHDF5_Startup at STARTUP after IOUtil_Startup { LANG: C } "Startup routine" schedule CarpetIOHDF5_Init at INI...
make.configuration.defn
# add the Carpet HDF5-to-ASCII converter/slicer/recombiner ALL_UTILS += hdf5toascii_slicer hdf5tobinary_slicer hdf5_slicer hdf5_recombiner
Carpet/CarpetIOHDF5
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOHDF5 REQUIRES Carpet CarpetLib IOUtil HDF5 OPTIONAL MPI { } PROVIDES CarpetIOHDF5 { }
# Interface definition for thorn CarpetIOHDF5 IMPLEMENTS: IOHDF5 includes header: CarpetIOHDF5.hh in CarpetIOHDF5.hh uses include header: Timer.hh uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: vect.hh uses include header: data.hh uses include header...
# Parameter definitions for thorn CarpetIOHDF5 shares: IO USES STRING out_dir AS io_out_dir USES KEYWORD out_criterion AS io_out_criterion USES INT out_every AS io_out_every USES REAL out_dt AS io_out_dt USES BOOLEAN out_unchunked AS io_out_unchunked USES KEYWORD verbose USES BOOLEAN out_s...
# Schedule definitions for thorn CarpetIOHDF5 storage: next_output_iteration next_output_time this_iteration storage: last_output_iteration_slice last_output_time_slice this_iteration_slice schedule CarpetIOHDF5_Startup at STARTUP after IOUtil_Startup { LANG: C } "Startup routine" schedule CarpetIOHDF5_Init at INI...
CarpetIOHDF5.hh
#ifndef CARPETIOHDF5_HH #define CARPETIOHDF5_HH #define H5_USE_16_API 1 #include <hdf5.h> #include <vector> #include "cctk_Arguments.h" #include "CactusBase/IOUtil/src/ioutil_Utils.h" #include "carpet.hh" // some macros for HDF5 group names #define METADATA_GROUP "Parameters and Global Attributes" #define ALL_PARAM...
Carpet/CarpetIOHDF5
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOHDF5 REQUIRES Carpet CarpetLib IOUtil HDF5 OPTIONAL MPI { } PROVIDES CarpetIOHDF5 { }
# Interface definition for thorn CarpetIOHDF5 IMPLEMENTS: IOHDF5 includes header: CarpetIOHDF5.hh in CarpetIOHDF5.hh uses include header: Timer.hh uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: vect.hh uses include header: data.hh uses include header...
# Parameter definitions for thorn CarpetIOHDF5 shares: IO USES STRING out_dir AS io_out_dir USES KEYWORD out_criterion AS io_out_criterion USES INT out_every AS io_out_every USES REAL out_dt AS io_out_dt USES BOOLEAN out_unchunked AS io_out_unchunked USES KEYWORD verbose USES BOOLEAN out_s...
# Schedule definitions for thorn CarpetIOHDF5 storage: next_output_iteration next_output_time this_iteration storage: last_output_iteration_slice last_output_time_slice this_iteration_slice schedule CarpetIOHDF5_Startup at STARTUP after IOUtil_Startup { LANG: C } "Startup routine" schedule CarpetIOHDF5_Init at INI...
Output.cc
#include <cassert> #include <cstdlib> #include <cstring> #include <sstream> #include "cctk.h" #include "cctk_Arguments.h" #include "cctk_Parameters.h" #include "util_Table.h" #include "operators.hh" #include "typeprops.hh" #include "CarpetIOHDF5.hh" #include "CactusBase/IOUtil/src/ioGH.h" namespace CarpetIOHDF5 { u...
Carpet/CarpetIOHDF5
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOHDF5 REQUIRES Carpet CarpetLib IOUtil HDF5 OPTIONAL MPI { } PROVIDES CarpetIOHDF5 { }
# Interface definition for thorn CarpetIOHDF5 IMPLEMENTS: IOHDF5 includes header: CarpetIOHDF5.hh in CarpetIOHDF5.hh uses include header: Timer.hh uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: vect.hh uses include header: data.hh uses include header...
# Parameter definitions for thorn CarpetIOHDF5 shares: IO USES STRING out_dir AS io_out_dir USES KEYWORD out_criterion AS io_out_criterion USES INT out_every AS io_out_every USES REAL out_dt AS io_out_dt USES BOOLEAN out_unchunked AS io_out_unchunked USES KEYWORD verbose USES BOOLEAN out_s...
# Schedule definitions for thorn CarpetIOHDF5 storage: next_output_iteration next_output_time this_iteration storage: last_output_iteration_slice last_output_time_slice this_iteration_slice schedule CarpetIOHDF5_Startup at STARTUP after IOUtil_Startup { LANG: C } "Startup routine" schedule CarpetIOHDF5_Init at INI...
make.configuration.deps
CARPETIOHDF5_BUILD_DIR = $(BUILD_DIR)/CarpetIOHDF5 CARPETIOHDF5_SRC_DIR = $(PACKAGE_DIR)/Carpet/CarpetIOHDF5/src/util CARPETIOHDF5_CXXFLAGS = -DCCODE $(CXXFLAGS) # Extend CXXFLAGS if HDF5 library was built with LFS support ifneq ($(strip $(HDF5_LFS_FLAGS)),) CARPETIOHDF5_CXXFLAGS += $(HDF5_LFS_FLAGS) endif # Ad...
Carpet/CarpetIOHDF5
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOHDF5 REQUIRES Carpet CarpetLib IOUtil HDF5 OPTIONAL MPI { } PROVIDES CarpetIOHDF5 { }
# Interface definition for thorn CarpetIOHDF5 IMPLEMENTS: IOHDF5 includes header: CarpetIOHDF5.hh in CarpetIOHDF5.hh uses include header: Timer.hh uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: vect.hh uses include header: data.hh uses include header...
# Parameter definitions for thorn CarpetIOHDF5 shares: IO USES STRING out_dir AS io_out_dir USES KEYWORD out_criterion AS io_out_criterion USES INT out_every AS io_out_every USES REAL out_dt AS io_out_dt USES BOOLEAN out_unchunked AS io_out_unchunked USES KEYWORD verbose USES BOOLEAN out_s...
# Schedule definitions for thorn CarpetIOHDF5 storage: next_output_iteration next_output_time this_iteration storage: last_output_iteration_slice last_output_time_slice this_iteration_slice schedule CarpetIOHDF5_Startup at STARTUP after IOUtil_Startup { LANG: C } "Startup routine" schedule CarpetIOHDF5_Init at INI...
CarpetIOHDF5.cc
#include <algorithm> #include <cassert> #include <cstddef> #include <cstdlib> #include <cstring> #include <iomanip> #include <map> #include <sstream> #include <string> #include <vector> #include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <cctk_Version.h> #include <util_Table.h> #includ...
Carpet/CarpetIOHDF5
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOHDF5 REQUIRES Carpet CarpetLib IOUtil HDF5 OPTIONAL MPI { } PROVIDES CarpetIOHDF5 { }
# Interface definition for thorn CarpetIOHDF5 IMPLEMENTS: IOHDF5 includes header: CarpetIOHDF5.hh in CarpetIOHDF5.hh uses include header: Timer.hh uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: vect.hh uses include header: data.hh uses include header...
# Parameter definitions for thorn CarpetIOHDF5 shares: IO USES STRING out_dir AS io_out_dir USES KEYWORD out_criterion AS io_out_criterion USES INT out_every AS io_out_every USES REAL out_dt AS io_out_dt USES BOOLEAN out_unchunked AS io_out_unchunked USES KEYWORD verbose USES BOOLEAN out_s...
# Schedule definitions for thorn CarpetIOHDF5 storage: next_output_iteration next_output_time this_iteration storage: last_output_iteration_slice last_output_time_slice this_iteration_slice schedule CarpetIOHDF5_Startup at STARTUP after IOUtil_Startup { LANG: C } "Startup routine" schedule CarpetIOHDF5_Init at INI...
Input.cc
#include <cassert> #include <cstdlib> #include <cstring> #include <list> #include <sstream> #include <string> #include <vector> #include <map> #include <algorithm> #include "util_Table.h" #include "cctk.h" #include "cctk_Parameters.h" #include "CarpetIOHDF5.hh" #include "CactusBase/IOUtil/src/ioGH.h" #include "Cactus...
Carpet/CarpetIOHDF5
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOHDF5 REQUIRES Carpet CarpetLib IOUtil HDF5 OPTIONAL MPI { } PROVIDES CarpetIOHDF5 { }
# Interface definition for thorn CarpetIOHDF5 IMPLEMENTS: IOHDF5 includes header: CarpetIOHDF5.hh in CarpetIOHDF5.hh uses include header: Timer.hh uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: vect.hh uses include header: data.hh uses include header...
# Parameter definitions for thorn CarpetIOHDF5 shares: IO USES STRING out_dir AS io_out_dir USES KEYWORD out_criterion AS io_out_criterion USES INT out_every AS io_out_every USES REAL out_dt AS io_out_dt USES BOOLEAN out_unchunked AS io_out_unchunked USES KEYWORD verbose USES BOOLEAN out_s...
# Schedule definitions for thorn CarpetIOHDF5 storage: next_output_iteration next_output_time this_iteration storage: last_output_iteration_slice last_output_time_slice this_iteration_slice schedule CarpetIOHDF5_Startup at STARTUP after IOUtil_Startup { LANG: C } "Startup routine" schedule CarpetIOHDF5_Init at INI...
OutputSlice.cc
#include <cassert> #include <cctype> #include <climits> #include <cmath> #include <cstdlib> #include <cstring> #include <map> #include <string> #include <cctk.h> #include <util_Table.h> #include "CactusBase/IOUtil/src/ioGH.h" #include <Timer.hh> #include "typeprops.hh" #include "CarpetIOHDF5.hh" // That's a hack...
Carpet/CarpetIOHDF5
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOHDF5 REQUIRES Carpet CarpetLib IOUtil HDF5 OPTIONAL MPI { } PROVIDES CarpetIOHDF5 { }
# Interface definition for thorn CarpetIOHDF5 IMPLEMENTS: IOHDF5 includes header: CarpetIOHDF5.hh in CarpetIOHDF5.hh uses include header: Timer.hh uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: vect.hh uses include header: data.hh uses include header...
# Parameter definitions for thorn CarpetIOHDF5 shares: IO USES STRING out_dir AS io_out_dir USES KEYWORD out_criterion AS io_out_criterion USES INT out_every AS io_out_every USES REAL out_dt AS io_out_dt USES BOOLEAN out_unchunked AS io_out_unchunked USES KEYWORD verbose USES BOOLEAN out_s...
# Schedule definitions for thorn CarpetIOHDF5 storage: next_output_iteration next_output_time this_iteration storage: last_output_iteration_slice last_output_time_slice this_iteration_slice schedule CarpetIOHDF5_Startup at STARTUP after IOUtil_Startup { LANG: C } "Startup routine" schedule CarpetIOHDF5_Init at INI...
make.code.defn
# Main make.code.defn file for thorn CarpetIOHDF5 # Source files in this directory SRCS = CarpetIOHDF5.cc Input.cc Output.cc OutputSlice.cc GetAllActive.cc # Extend CXXFLAGS if HDF5 library was built with LFS support ifneq ($(strip $(HDF5_LFS_FLAGS)),) CXXFLAGS += $(HDF5_LFS_FLAGS) endif
Carpet/CarpetIOHDF5
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOHDF5 REQUIRES Carpet CarpetLib IOUtil HDF5 OPTIONAL MPI { } PROVIDES CarpetIOHDF5 { }
# Interface definition for thorn CarpetIOHDF5 IMPLEMENTS: IOHDF5 includes header: CarpetIOHDF5.hh in CarpetIOHDF5.hh uses include header: Timer.hh uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: vect.hh uses include header: data.hh uses include header...
# Parameter definitions for thorn CarpetIOHDF5 shares: IO USES STRING out_dir AS io_out_dir USES KEYWORD out_criterion AS io_out_criterion USES INT out_every AS io_out_every USES REAL out_dt AS io_out_dt USES BOOLEAN out_unchunked AS io_out_unchunked USES KEYWORD verbose USES BOOLEAN out_s...
# Schedule definitions for thorn CarpetIOHDF5 storage: next_output_iteration next_output_time this_iteration storage: last_output_iteration_slice last_output_time_slice this_iteration_slice schedule CarpetIOHDF5_Startup at STARTUP after IOUtil_Startup { LANG: C } "Startup routine" schedule CarpetIOHDF5_Init at INI...
GetAllActive.cc
/*@@ @file GetAllActive.cc @date Sun Sep 19 20:34:27 EDT 2010 @author Erik Schnetter, Roland Haas @desc a piece of dh::regrid to compute the active region @enddesc @@*/ #include <cassert> #include <vector> #include "cctk.h" #include "CarpetIOHDF5.hh" namespace CarpetIOHDF5 { /*...
Carpet/CarpetIOHDF5
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOHDF5 REQUIRES Carpet CarpetLib IOUtil HDF5 OPTIONAL MPI { } PROVIDES CarpetIOHDF5 { }
# Interface definition for thorn CarpetIOHDF5 IMPLEMENTS: IOHDF5 includes header: CarpetIOHDF5.hh in CarpetIOHDF5.hh uses include header: Timer.hh uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: vect.hh uses include header: data.hh uses include header...
# Parameter definitions for thorn CarpetIOHDF5 shares: IO USES STRING out_dir AS io_out_dir USES KEYWORD out_criterion AS io_out_criterion USES INT out_every AS io_out_every USES REAL out_dt AS io_out_dt USES BOOLEAN out_unchunked AS io_out_unchunked USES KEYWORD verbose USES BOOLEAN out_s...
# Schedule definitions for thorn CarpetIOHDF5 storage: next_output_iteration next_output_time this_iteration storage: last_output_iteration_slice last_output_time_slice this_iteration_slice schedule CarpetIOHDF5_Startup at STARTUP after IOUtil_Startup { LANG: C } "Startup routine" schedule CarpetIOHDF5_Init at INI...
util/SubstituteDeprecatedParameters.pl
#! /usr/bin/perl -w #/*@@ # @file SubstituteDeprecatedParameters.pl # @date Fri 3 December 2004 # @author Thomas Radke # @desc # Perl script to automatically substitute deprecated parameter # names in a parfile # @enddesc #@@*/ # Parse the command line $parfile = shift; if (! ...
Carpet/CarpetIOHDF5
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOHDF5 REQUIRES Carpet CarpetLib IOUtil HDF5 OPTIONAL MPI { } PROVIDES CarpetIOHDF5 { }
# Interface definition for thorn CarpetIOHDF5 IMPLEMENTS: IOHDF5 includes header: CarpetIOHDF5.hh in CarpetIOHDF5.hh uses include header: Timer.hh uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: vect.hh uses include header: data.hh uses include header...
# Parameter definitions for thorn CarpetIOHDF5 shares: IO USES STRING out_dir AS io_out_dir USES KEYWORD out_criterion AS io_out_criterion USES INT out_every AS io_out_every USES REAL out_dt AS io_out_dt USES BOOLEAN out_unchunked AS io_out_unchunked USES KEYWORD verbose USES BOOLEAN out_s...
# Schedule definitions for thorn CarpetIOHDF5 storage: next_output_iteration next_output_time this_iteration storage: last_output_iteration_slice last_output_time_slice this_iteration_slice schedule CarpetIOHDF5_Startup at STARTUP after IOUtil_Startup { LANG: C } "Startup routine" schedule CarpetIOHDF5_Init at INI...
util/hdf5toascii_slicer.cc
/*@@ @file hdf5toascii_slicer.cc @date Sun 30 July 2007 @author Thomas Radke @desc Utility program to extract a 1D line or 2D slice from 3D datasets in datafiles generated by CarpetIOHDF5. The extracted slab is written to stdout in CarpetIOASCII format. @end...
Carpet/CarpetIOHDF5
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOHDF5 REQUIRES Carpet CarpetLib IOUtil HDF5 OPTIONAL MPI { } PROVIDES CarpetIOHDF5 { }
# Interface definition for thorn CarpetIOHDF5 IMPLEMENTS: IOHDF5 includes header: CarpetIOHDF5.hh in CarpetIOHDF5.hh uses include header: Timer.hh uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: vect.hh uses include header: data.hh uses include header...
# Parameter definitions for thorn CarpetIOHDF5 shares: IO USES STRING out_dir AS io_out_dir USES KEYWORD out_criterion AS io_out_criterion USES INT out_every AS io_out_every USES REAL out_dt AS io_out_dt USES BOOLEAN out_unchunked AS io_out_unchunked USES KEYWORD verbose USES BOOLEAN out_s...
# Schedule definitions for thorn CarpetIOHDF5 storage: next_output_iteration next_output_time this_iteration storage: last_output_iteration_slice last_output_time_slice this_iteration_slice schedule CarpetIOHDF5_Startup at STARTUP after IOUtil_Startup { LANG: C } "Startup routine" schedule CarpetIOHDF5_Init at INI...
util/hdf5_slicer.cc
/*@@ @file hdf5_slicer.cc @date Fri 17 October 2008 @author Thomas Radke @desc Utility program to extract a 1D line or 2D slice from 3D datasets in datafiles generated by CarpetIOHDF5. @enddesc @@*/ #include <algorithm> #include <cassert> #include <iostream> #include <i...
Carpet/CarpetIOHDF5
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOHDF5 REQUIRES Carpet CarpetLib IOUtil HDF5 OPTIONAL MPI { } PROVIDES CarpetIOHDF5 { }
# Interface definition for thorn CarpetIOHDF5 IMPLEMENTS: IOHDF5 includes header: CarpetIOHDF5.hh in CarpetIOHDF5.hh uses include header: Timer.hh uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: vect.hh uses include header: data.hh uses include header...
# Parameter definitions for thorn CarpetIOHDF5 shares: IO USES STRING out_dir AS io_out_dir USES KEYWORD out_criterion AS io_out_criterion USES INT out_every AS io_out_every USES REAL out_dt AS io_out_dt USES BOOLEAN out_unchunked AS io_out_unchunked USES KEYWORD verbose USES BOOLEAN out_s...
# Schedule definitions for thorn CarpetIOHDF5 storage: next_output_iteration next_output_time this_iteration storage: last_output_iteration_slice last_output_time_slice this_iteration_slice schedule CarpetIOHDF5_Startup at STARTUP after IOUtil_Startup { LANG: C } "Startup routine" schedule CarpetIOHDF5_Init at INI...
util/hdf5_recombiner.cc
#include <cassert> #include <cstdio> #include <cstring> #include <iostream> #include <list> #include <string> #include <vector> #define H5_USE_16_API 1 #include <cctk_Config.h> #include <hdf5.h> using namespace std; // Global constants int const dim = 3; // Files and datasets int const num_input_files = 0; char co...
Carpet/CarpetIOHDF5
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOHDF5 REQUIRES Carpet CarpetLib IOUtil HDF5 OPTIONAL MPI { } PROVIDES CarpetIOHDF5 { }
# Interface definition for thorn CarpetIOHDF5 IMPLEMENTS: IOHDF5 includes header: CarpetIOHDF5.hh in CarpetIOHDF5.hh uses include header: Timer.hh uses include header: carpet.hh uses include header: defs.hh uses include header: bbox.hh uses include header: vect.hh uses include header: data.hh uses include header...
# Parameter definitions for thorn CarpetIOHDF5 shares: IO USES STRING out_dir AS io_out_dir USES KEYWORD out_criterion AS io_out_criterion USES INT out_every AS io_out_every USES REAL out_dt AS io_out_dt USES BOOLEAN out_unchunked AS io_out_unchunked USES KEYWORD verbose USES BOOLEAN out_s...
# Schedule definitions for thorn CarpetIOHDF5 storage: next_output_iteration next_output_time this_iteration storage: last_output_iteration_slice last_output_time_slice this_iteration_slice schedule CarpetIOHDF5_Startup at STARTUP after IOUtil_Startup { LANG: C } "Startup routine" schedule CarpetIOHDF5_Init at INI...
util/hdf5tobinary_slicer.cc
/*@@ @file hdf5tobinary_slicer.cc @date April 23, 2009 @author Erik Schnetter, based on hdf5toascii_slicer.cc by Thomas Radke @desc Utility program to extract a 1D line or 2D slice from 3D datasets in datafiles generated by CarpetIOHDF5. The extracted slab is ...
Carpet/CarpetIOScalar
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOScalar REQUIRES Carpet CarpetLib IOUtil
# Interface definition for thorn CarpetIOScalar IMPLEMENTS: IOScalar CCTK_INT last_output_iteration TYPE=scalar CCTK_REAL last_output_time TYPE=scalar CCTK_INT this_iteration TYPE=scalar USES INCLUDE HEADER: Timer.hh USES INCLUDE HEADER: carpet.hh USES INCLUDE HEADER: typecase.hh USES INCLUDE HEADER: typeprops.hh ...
# Parameter definitions for thorn CarpetIOScalar shares: IO USES STRING out_dir USES KEYWORD out_criterion USES CCTK_INT out_every USES CCTK_REAL out_dt USES BOOLEAN strict_io_parameter_check USES KEYWORD verbose USES KEYWORD out_fileinfo USES STRING out_group_separator private: BOOLEAN one_file_per_group "...
# Schedule definitions for thorn CarpetIOScalar storage: last_output_iteration last_output_time this_iteration schedule CarpetIOScalarStartup at STARTUP after IOUtil_Startup { LANG: C OPTIONS: global } "Startup routine" schedule CarpetIOScalarInit at INITIAL { LANG: C OPTIONS: global } "Initialisation routin...
make.code.defn
# Main make.code.defn file for thorn CarpetIOScalar # Source files in this directory SRCS = ioscalar.cc # Subdirectories containing source files SUBDIRS =
Carpet/CarpetIOScalar
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOScalar REQUIRES Carpet CarpetLib IOUtil
# Interface definition for thorn CarpetIOScalar IMPLEMENTS: IOScalar CCTK_INT last_output_iteration TYPE=scalar CCTK_REAL last_output_time TYPE=scalar CCTK_INT this_iteration TYPE=scalar USES INCLUDE HEADER: Timer.hh USES INCLUDE HEADER: carpet.hh USES INCLUDE HEADER: typecase.hh USES INCLUDE HEADER: typeprops.hh ...
# Parameter definitions for thorn CarpetIOScalar shares: IO USES STRING out_dir USES KEYWORD out_criterion USES CCTK_INT out_every USES CCTK_REAL out_dt USES BOOLEAN strict_io_parameter_check USES KEYWORD verbose USES KEYWORD out_fileinfo USES STRING out_group_separator private: BOOLEAN one_file_per_group "...
# Schedule definitions for thorn CarpetIOScalar storage: last_output_iteration last_output_time this_iteration schedule CarpetIOScalarStartup at STARTUP after IOUtil_Startup { LANG: C OPTIONS: global } "Startup routine" schedule CarpetIOScalarInit at INITIAL { LANG: C OPTIONS: global } "Initialisation routin...
ioscalar.cc
#include <cassert> #include <cctype> #include <cstdlib> #include <cstring> #include <fstream> #include <iomanip> #include <list> #include <sstream> #include <string> #include <vector> #include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <util_Network.h> #include <Timer.hh> #include "Ca...
Carpet/CarpetIOScalar
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetIOScalar REQUIRES Carpet CarpetLib IOUtil
# Interface definition for thorn CarpetIOScalar IMPLEMENTS: IOScalar CCTK_INT last_output_iteration TYPE=scalar CCTK_REAL last_output_time TYPE=scalar CCTK_INT this_iteration TYPE=scalar USES INCLUDE HEADER: Timer.hh USES INCLUDE HEADER: carpet.hh USES INCLUDE HEADER: typecase.hh USES INCLUDE HEADER: typeprops.hh ...
# Parameter definitions for thorn CarpetIOScalar shares: IO USES STRING out_dir USES KEYWORD out_criterion USES CCTK_INT out_every USES CCTK_REAL out_dt USES BOOLEAN strict_io_parameter_check USES KEYWORD verbose USES KEYWORD out_fileinfo USES STRING out_group_separator private: BOOLEAN one_file_per_group "...
# Schedule definitions for thorn CarpetIOScalar storage: last_output_iteration last_output_time this_iteration schedule CarpetIOScalarStartup at STARTUP after IOUtil_Startup { LANG: C OPTIONS: global } "Startup routine" schedule CarpetIOScalarInit at INITIAL { LANG: C OPTIONS: global } "Initialisation routin...
util/mergeCarpetIOScalar.pl
#! /usr/bin/perl -w #/*@@ # @file mergeCarpetIOScalar.pl # @date Tue 15 August 2006 # @author Thomas Radke # @desc # Perl script to merge CarpetIOScalar output files, # eliminating duplicate timesteps. # # Source code comments also by Thomas Radke :-) # @enddesc #@@...
Carpet/CarpetIntegrateTest
https://bitbucket.org/eschnett/carpet.git
REQUIRES Carpet
implements: CarpetIntegrateTest inherits: Reduce Grid Driver CCTK_REAL integrand TYPE=GF TIMELEVELS=3
REAL constant "Integrand constant" { *:* :: "" } 1.0 REAL timefact "Time dependence of integrand" { *:* :: "" } 0.0
STORAGE: integrand[3] schedule CarpetIntegrate_Local AT CCTK_INITIAL { LANG: C } "Setup integrand function" schedule CarpetIntegrate_Local AT CCTK_EVOL { LANG: C } "Setup integrand function" schedule CarpetIntegrate_Global AT CCTK_ANALYSIS { LANG: C OPTIONS: global } "Global integration by reduction"
make.code.defn
# Source files in this directory SRCS = Local.cc Global.cc # Subdirectories containing source files SUBDIRS =
Carpet/CarpetIntegrateTest
https://bitbucket.org/eschnett/carpet.git
REQUIRES Carpet
implements: CarpetIntegrateTest inherits: Reduce Grid Driver CCTK_REAL integrand TYPE=GF TIMELEVELS=3
REAL constant "Integrand constant" { *:* :: "" } 1.0 REAL timefact "Time dependence of integrand" { *:* :: "" } 0.0
STORAGE: integrand[3] schedule CarpetIntegrate_Local AT CCTK_INITIAL { LANG: C } "Setup integrand function" schedule CarpetIntegrate_Local AT CCTK_EVOL { LANG: C } "Setup integrand function" schedule CarpetIntegrate_Global AT CCTK_ANALYSIS { LANG: C OPTIONS: global } "Global integration by reduction"
Local.cc
#include "cctk.h" #include "cctk_Parameters.h" #include "cctk_Arguments.h" extern "C" void CarpetIntegrate_Local(CCTK_ARGUMENTS); void CarpetIntegrate_Local(CCTK_ARGUMENTS) { DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; int nx = cctk_lsh[0]; int ny = cctk_lsh[1]; int nz = cctk_lsh[2]; for (int k = 0...
Carpet/CarpetIntegrateTest
https://bitbucket.org/eschnett/carpet.git
REQUIRES Carpet
implements: CarpetIntegrateTest inherits: Reduce Grid Driver CCTK_REAL integrand TYPE=GF TIMELEVELS=3
REAL constant "Integrand constant" { *:* :: "" } 1.0 REAL timefact "Time dependence of integrand" { *:* :: "" } 0.0
STORAGE: integrand[3] schedule CarpetIntegrate_Local AT CCTK_INITIAL { LANG: C } "Setup integrand function" schedule CarpetIntegrate_Local AT CCTK_EVOL { LANG: C } "Setup integrand function" schedule CarpetIntegrate_Global AT CCTK_ANALYSIS { LANG: C OPTIONS: global } "Global integration by reduction"
Global.cc
#include <assert.h> #include <stdio.h> #include "cctk.h" #include "cctk_Parameters.h" #include "cctk_Arguments.h" #include "carpet.hh" #include "defs.hh" #include "vect.hh" #include "util_Table.h" extern "C" void CarpetIntegrate_Global(CCTK_ARGUMENTS); void CarpetIntegrate_Global(CCTK_ARGUMENTS) { DECLARE_CCTK_A...
Carpet/CarpetInterp
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetInterp REQUIRES Carpet CarpetLib MPI
# Interface definition for thorn CarpetInterp IMPLEMENTS: interp uses include header: nompi.h uses include header: data.hh uses include header: bbox.hh uses include header: data.hh uses include header: defs.hh uses include header: dist.hh uses include header: ggf.hh uses include header: timestat.hh uses include head...
# Parameter definitions for thorn CarpetInterp BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" CCTK_REAL poison "Poison value" STEERABLE=always { *:* :: "" } -4.20042e+30 CCTK_REAL ipoison "Integer poison value" STEERABLE=always { *:*...
# Schedule definitions for thorn CarpetInterp schedule CarpetInterpStartup at STARTUP { LANG: C } "Startup routine"
interp.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <util_ErrorCodes.h> #include <util_Table.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdlib> #include <cstring> #include <iostream> #include <map> #include <vector> #ifdef CCTK_MPI #include <mpi.h> #else #include "nompi.h" #endif #inc...
Carpet/CarpetInterp
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetInterp REQUIRES Carpet CarpetLib MPI
# Interface definition for thorn CarpetInterp IMPLEMENTS: interp uses include header: nompi.h uses include header: data.hh uses include header: bbox.hh uses include header: data.hh uses include header: defs.hh uses include header: dist.hh uses include header: ggf.hh uses include header: timestat.hh uses include head...
# Parameter definitions for thorn CarpetInterp BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" CCTK_REAL poison "Poison value" STEERABLE=always { *:* :: "" } -4.20042e+30 CCTK_REAL ipoison "Integer poison value" STEERABLE=always { *:*...
# Schedule definitions for thorn CarpetInterp schedule CarpetInterpStartup at STARTUP { LANG: C } "Startup routine"
interp.hh
#ifndef CARPETINTERP_HH #define CARPETINTERP_HH #include "cctk.h" #include "interp.h" namespace CarpetInterp { int InterpGridArrays( cGH const *const cGH, int const N_dims, int const local_interp_handle, int const param_table_handle, int const coord_system_handle, int const N_interp_points, int const in...
Carpet/CarpetInterp
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetInterp REQUIRES Carpet CarpetLib MPI
# Interface definition for thorn CarpetInterp IMPLEMENTS: interp uses include header: nompi.h uses include header: data.hh uses include header: bbox.hh uses include header: data.hh uses include header: defs.hh uses include header: dist.hh uses include header: ggf.hh uses include header: timestat.hh uses include head...
# Parameter definitions for thorn CarpetInterp BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" CCTK_REAL poison "Poison value" STEERABLE=always { *:* :: "" } -4.20042e+30 CCTK_REAL ipoison "Integer poison value" STEERABLE=always { *:*...
# Schedule definitions for thorn CarpetInterp schedule CarpetInterpStartup at STARTUP { LANG: C } "Startup routine"
make.code.defn
# Main make.code.defn file for thorn CarpetInterp # Source files in this directory SRCS = interp.cc # Subdirectories containing source files SUBDIRS =
Carpet/CarpetInterp
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetInterp REQUIRES Carpet CarpetLib MPI
# Interface definition for thorn CarpetInterp IMPLEMENTS: interp uses include header: nompi.h uses include header: data.hh uses include header: bbox.hh uses include header: data.hh uses include header: defs.hh uses include header: dist.hh uses include header: ggf.hh uses include header: timestat.hh uses include head...
# Parameter definitions for thorn CarpetInterp BOOLEAN barriers "Insert barriers at strategic places for debugging purposes (slows down execution)" STEERABLE=always { } "no" CCTK_REAL poison "Poison value" STEERABLE=always { *:* :: "" } -4.20042e+30 CCTK_REAL ipoison "Integer poison value" STEERABLE=always { *:*...
# Schedule definitions for thorn CarpetInterp schedule CarpetInterpStartup at STARTUP { LANG: C } "Startup routine"
interp.h
#ifndef CARPETINTERP_H #define CARPETINTERP_H #ifdef __cplusplus namespace CarpetInterp { extern "C" { #endif /* Scheduled functions */ int CarpetInterpStartup(void); #ifdef __cplusplus } /* extern "C" */ } /* namespace CarpetInterp */ #endif #endif /* !defined(CARPETINTERP_H) */
Carpet/CarpetInterp2
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetInterp2 REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetInterp2 IMPLEMENTS: interp2 INCLUDE HEADER: fasterp.hh IN carpetinterp2.hh USES INCLUDE HEADER: nompi.h USES INCLUDE HEADER: cacheinfo.hh USES INCLUDE HEADER: defs.hh USES INCLUDE HEADER: typeprops.hh USES INCLUDE HEADER: vect.hh USES INCLUDE HEADER: carpet.hh uses include ...
# Parameter definitions for thorn CarpetInterp2 BOOLEAN verbose "Produce info output" STEERABLE=always { } "no" BOOLEAN veryverbose "Produce debugging output" STEERABLE=always { } "no" BOOLEAN interp_barrier "Wait for all processes before and after interpolating" STEERABLE=always { } "no"
# Schedule definitions for thorn CarpetInterp2
interp2.cc
#include <cctk.h> #include "fasterp.hh" namespace CarpetInterp2 { extern "C" CCTK_INT CarpetInterp2_InterpGridArrays( CCTK_POINTER_TO_CONST const cctkGH_, CCTK_INT const N_dims, CCTK_INT const order, CCTK_INT const N_interp_points, CCTK_POINTER_TO_CONST const interp_coords_, CCTK_INT const N_input_arrays...
Carpet/CarpetInterp2
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetInterp2 REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetInterp2 IMPLEMENTS: interp2 INCLUDE HEADER: fasterp.hh IN carpetinterp2.hh USES INCLUDE HEADER: nompi.h USES INCLUDE HEADER: cacheinfo.hh USES INCLUDE HEADER: defs.hh USES INCLUDE HEADER: typeprops.hh USES INCLUDE HEADER: vect.hh USES INCLUDE HEADER: carpet.hh uses include ...
# Parameter definitions for thorn CarpetInterp2 BOOLEAN verbose "Produce info output" STEERABLE=always { } "no" BOOLEAN veryverbose "Produce debugging output" STEERABLE=always { } "no" BOOLEAN interp_barrier "Wait for all processes before and after interpolating" STEERABLE=always { } "no"
# Schedule definitions for thorn CarpetInterp2
fasterp.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstddef> #include <cstdlib> #include <iostream> #include <sstream> #ifdef CCTK_MPI #include <mpi.h> #else #include "nompi.h" #endif #include <cacheinfo.hh> #include <carpet.hh> #include <vect.hh> #includ...
Carpet/CarpetInterp2
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetInterp2 REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetInterp2 IMPLEMENTS: interp2 INCLUDE HEADER: fasterp.hh IN carpetinterp2.hh USES INCLUDE HEADER: nompi.h USES INCLUDE HEADER: cacheinfo.hh USES INCLUDE HEADER: defs.hh USES INCLUDE HEADER: typeprops.hh USES INCLUDE HEADER: vect.hh USES INCLUDE HEADER: carpet.hh uses include ...
# Parameter definitions for thorn CarpetInterp2 BOOLEAN verbose "Produce info output" STEERABLE=always { } "no" BOOLEAN veryverbose "Produce debugging output" STEERABLE=always { } "no" BOOLEAN interp_barrier "Wait for all processes before and after interpolating" STEERABLE=always { } "no"
# Schedule definitions for thorn CarpetInterp2
fasterp.hh
#ifndef FASTERP_HH #define FASTERP_HH #include <cassert> #include <cstdlib> #include <iostream> #include <vector> #include <cctk.h> #include <defs.hh> #include <dist.hh> #include <typeprops.hh> #include <vect.hh> #include <carpet.hh> // Define this at all times, because otherwise out-of-bounds // interpolations ma...
Carpet/CarpetInterp2
https://bitbucket.org/eschnett/carpet.git
# Configuration definitions for thorn CarpetInterp2 REQUIRES Carpet CarpetLib
# Interface definition for thorn CarpetInterp2 IMPLEMENTS: interp2 INCLUDE HEADER: fasterp.hh IN carpetinterp2.hh USES INCLUDE HEADER: nompi.h USES INCLUDE HEADER: cacheinfo.hh USES INCLUDE HEADER: defs.hh USES INCLUDE HEADER: typeprops.hh USES INCLUDE HEADER: vect.hh USES INCLUDE HEADER: carpet.hh uses include ...
# Parameter definitions for thorn CarpetInterp2 BOOLEAN verbose "Produce info output" STEERABLE=always { } "no" BOOLEAN veryverbose "Produce debugging output" STEERABLE=always { } "no" BOOLEAN interp_barrier "Wait for all processes before and after interpolating" STEERABLE=always { } "no"
# Schedule definitions for thorn CarpetInterp2
make.code.defn
# Main make.code.defn file for thorn CarpetInterp2 # Source files in this directory SRCS = fasterp.cc interp2.cc # Subdirectories containing source files SUBDIRS =
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.hh
#ifndef BBOXSET2_HH #define BBOXSET2_HH #include <algorithm> #include <cassert> #include <cstdlib> #include <functional> #include <iostream> #include <limits> #include <map> #include <memory> #include <set> #include <sstream> #include <utility> #include <vector> #include <cctk.h> #include "bbox.hh" #include "defs.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...
make.configuration.defn
# Main make.configuration.defn file for thorn CarpetLib -*-Makefile-*- # Ensure that MPI is available ifeq ($(strip $(HAVE_CAPABILITY_MPI)), ) $(error Configuration error: The Carpet thorns require MPI. Please configure with MPI, or remove the Carpet thorns from the ThornList.) 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...
timestat.cc
#include <cctk.h> #include <cctk_Arguments.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <cmath> #include <cstdio> #include <cstdlib> #include <fstream> #include <iomanip> #include <iostream> #include <limits> #include <sstream> #include <sys/time.h> #include <unistd.h> #ifdef CCTK...
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_4d_rf2.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...
ggf.hh
#ifndef GGF_HH #define GGF_HH #include <cctk.h> #include <cassert> #include <iostream> #include <set> #include <string> #include <vector> #include "defs.hh" #include "dh.hh" #include "gdata.hh" #include "gh.hh" #include "th.hh" using namespace std; // Forward declaration class ggf; // Output ostream &operator<<(o...
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_2tl.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...
data.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <climits> #include <cstdlib> #include <cmath> #include <iostream> #include <limits> #include <sstream> #include <string> #include <vector> #ifdef _OPENMP #include <omp.h> #endif #include "bbox.hh" #include "bboxset.hh" #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...
mem.hh
#ifndef MEM_HH #define MEM_HH #include <cctk.h> #include <cassert> #include <cstdlib> #include <stack> #include <vector> #include "defs.hh" using namespace std; // A chunk of memory, possibly shared between some clients class gmem { public: static double const KILO; static double const MEGA; static double 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...
backtrace.cc
// TOOD: Look at // <https://stackoverflow.com/questions/77005/how-to-generate-a-stacktrace-when-my-gcc-c-app-crashes>, // and see whether we can improve the code below // needed for dladdr, best at the top to avoid inconsistent includes #define _GNU_SOURCE 1 #include "backtrace.hh" //#include <cctk.h> #include <ss...
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_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...
interpolate_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...
prolongate_3d_cc_eno_rf2.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; // // Grid point locations and their indices: // // global 0 4 12 20 ...
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...
balance.cc
#include <cctk.h> #include <algorithm> #include <cassert> #include <cstdlib> #include <limits> #include <list> #include <vector> #include "region.hh" #include "balance.hh" using namespace std; namespace CarpetLib { // Interface for one item struct item_ifc { CCTK_REAL load() const; item_ifc split(CCTK_REAL ra...
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_o5_monotone_rf2.cc
// This is meant to reproduce the prolongation algorithm used in the // SACRA code (based on IH's interpretation of their papers and // comments in talks, so it might be an idea for someone to talk to // them! Of course, given that this is "general purpose" and SACRA is // very specific in the variables converted, it p...
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...
bintree.hh
#ifndef BINTREE_HH #define BINTREE_HH #include <cassert> #include <cmath> #include <cstdlib> #include <iostream> #include <vector> #include <vect.hh> using namespace std; // This is a binary tree data structure, i.e. a tree data structure // which decomposes a cuboid domain into two non-overlapping cuboid // subdom...
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_weno.F90
#ifndef OMIT_F90 !!$ -*-Fortran-*- #include "cctk.h" !!$ This routine performs "WENO" 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 di...
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...
dist.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <complex> #include <typeinfo> #ifdef CCTK_MPI #include <mpi.h> #else #include "nompi.h" #endif #ifdef _OPENMP #include <omp.h> #endif #include "backtrace.hh" #include "defs.hh" #include "limits.hh" #include "startup_time....
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...
bbox.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <iostream> #include <limits> #include <sstream> #include <string> #include <typeinfo> #include "defs.hh" #include "vect.hh" #include "bbox.hh" using namespace std; // Consistency checks template <typename T, int D> void...
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...
mem.cc
#include <cctk.h> #include <cctk_Parameters.h> #include <algorithm> #include <cassert> #include <cstdlib> #include <cstring> #include <fstream> #include <iomanip> #include <iostream> #include <sstream> #include <string> #include <vectors.h> #include "defs.hh" #include "mem.hh" using namespace std; double const gme...
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...
data.hh
#ifndef DATA_HH #define DATA_HH #include <cctk.h> #include <cassert> #include <iostream> #include <string> #include <vector> #include "defs.hh" #include "dist.hh" #include "bbox.hh" #include "gdata.hh" #include "mem.hh" #include "vect.hh" using namespace std; template <typename T> class data; // A distributed mul...
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_4tl.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...
backtrace.hh
#ifndef BACKTRACE_HH #define BACKTRACE_HH namespace CarpetLib { void request_backtraces(); } // namespace CarpetLib #endif // #ifndef BACKTRACE_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...
balance.hh
#ifndef BALANCE_HH #define BALANCE_HH #include <cctk.h> #include <vector> using namespace std; namespace CarpetLib { // This routine splits N items over P workers. It can split the // items if necessary to ensure a maximum imbalance, and it can // ensure (artificially) that each worker receives the same number //...
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...
bintree.cc
#include <algorithm> #include <cmath> #include <iostream> #include "defs.hh" #include "region.hh" #include "bintree.hh" // Create an empty tree template <typename T, int D, typename P> bintree<T, D, P>::bintree() : type(type_empty) { assert(invariant()); // This is unused assert(0); } // Create a tree bra...
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...
bbox.hh
#ifndef BBOX_HH #define BBOX_HH #include <cassert> #include <cstdlib> #include <functional> #include <iostream> #include <limits> #include "defs.hh" #include "vect.hh" using namespace std; #ifdef CARPET_DEBUG #define ASSERT_BBOX(x) assert(x) #else #define ASSERT_BBOX(x) #endif // Forward declaration template <type...
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...
dist.hh
#ifndef DIST_HH #define DIST_HH #include <cctk.h> #include <cassert> #include <cstdio> #include <cstdlib> #include <iostream> #ifdef CCTK_MPI #include <mpi.h> #else #include "nompi.h" #endif #ifdef _OPENMP #include <omp.h> #else static inline int omp_get_max_threads() { return 1; } static inline int omp_get_thread_n...
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_3d.hh
#ifndef OPERATOR_PROTOTYPES_3D #define OPERATOR_PROTOTYPES_3D #include <cctk.h> #include <cstdlib> #include "defs.hh" #include "bbox.hh" #include "vect.hh" #include "operator_prototypes.hh" namespace CarpetLib { using namespace std; static inline size_t index3(size_t const i, size_t const j, size_t const 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...
timestat.hh
#ifndef TIMESTAT_HH #define TIMESTAT_HH #include <iostream> #include <list> #include <string> #include <cctk.h> #include <cycleclock.h> #ifndef HAVE_TICK_COUNTER typedef int ticks; inline ticks getticks() { return 0; } inline double elapsed(ticks, ticks) { return 0.0; } inline double seconds_per_tick(void) { return ...
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...
typeprops.hh
#ifndef TYPEPROPS_HH #define TYPEPROPS_HH #include <cctk.h> template <typename T> struct typeprops { typedef T complex; typedef T real; // Create a complex number from a real number static inline complex const &fromreal(real const &x) { return x; } }; #ifdef HAVE_CCTK_COMPLEX8 template <> struct typeprops<CC...