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 |
|---|---|---|---|---|---|---|---|
EinsteinInitialData/IDLinearWaves | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Interface definition for thorn IDLinearWaves
implements: idlinearwaves
inherits: ADMBase StaticConformal Grid
| # Parameter definitions for thorn IDLinearWaves
shares: ADMBase
EXTENDS KEYWORD initial_data
{
"teukwaves" :: "linear waves initial data- Teukolsky waves"
"planewaves" :: "linear waves initial data- plane waves"
"standing_planewaves" :: "linear waves initial data- standing plane waves"
"sine_plane... | # Schedule definitions for thorn IDLinearWaves
if (CCTK_Equals(initial_data,"planewaves"))
{
schedule IDLinearWaves_ParamChecker at CCTK_PARAMCHECK
{
LANG: C
OPTIONS: global
} "Check that the metric_type is recognised"
schedule IDLinearWaves_PlaneWaves in ADMBase_InitialData
{
LANG: Fortran
}... | planewaves.F77 | /*@@
@file planewaves.f
@date Wed Jan 24 16:51:03 1996
@author Malcolm Tobias + Joan Masso
@desc
Routine to initialize linear plane wave spacetime
@enddesc
@hdate Tue Mar 16 12:38:04 1999 @hauthor Gerd Lanfermann
@hdesc Converted to Cactus4.0. the code and its comments of the
ori... | |
EinsteinInitialData/IDLinearWaves | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Interface definition for thorn IDLinearWaves
implements: idlinearwaves
inherits: ADMBase StaticConformal Grid
| # Parameter definitions for thorn IDLinearWaves
shares: ADMBase
EXTENDS KEYWORD initial_data
{
"teukwaves" :: "linear waves initial data- Teukolsky waves"
"planewaves" :: "linear waves initial data- plane waves"
"standing_planewaves" :: "linear waves initial data- standing plane waves"
"sine_plane... | # Schedule definitions for thorn IDLinearWaves
if (CCTK_Equals(initial_data,"planewaves"))
{
schedule IDLinearWaves_ParamChecker at CCTK_PARAMCHECK
{
LANG: C
OPTIONS: global
} "Check that the metric_type is recognised"
schedule IDLinearWaves_PlaneWaves in ADMBase_InitialData
{
LANG: Fortran
}... | make.code.defn | # Main make.code.defn file for thorn IDLinearWaves
# $Header$
# Source files in this directory
SRCS = ParamCheck.c\
planewaves.F77\
sine_planewaves.F77\
standing_planewaves.F77\
teukwaves.F77
# Subdirectories containing source files
SUBDIRS =
| |
EinsteinInitialData/IDLinearWaves | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Interface definition for thorn IDLinearWaves
implements: idlinearwaves
inherits: ADMBase StaticConformal Grid
| # Parameter definitions for thorn IDLinearWaves
shares: ADMBase
EXTENDS KEYWORD initial_data
{
"teukwaves" :: "linear waves initial data- Teukolsky waves"
"planewaves" :: "linear waves initial data- plane waves"
"standing_planewaves" :: "linear waves initial data- standing plane waves"
"sine_plane... | # Schedule definitions for thorn IDLinearWaves
if (CCTK_Equals(initial_data,"planewaves"))
{
schedule IDLinearWaves_ParamChecker at CCTK_PARAMCHECK
{
LANG: C
OPTIONS: global
} "Check that the metric_type is recognised"
schedule IDLinearWaves_PlaneWaves in ADMBase_InitialData
{
LANG: Fortran
}... | teukwaves.F77 | #include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Parameters.h"
/*@@
@file teukwaves.F
@date Jan 96
@author Joan Masso + Malcolm Tobias
@desc
Routines for the teukolsky waves initialization.
@enddesc
@@*/
/*@@
@routine IDLinearWaves_TeukWaves
@date Jan 96
... | |
EinsteinInitialData/IDLinearWaves | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Interface definition for thorn IDLinearWaves
implements: idlinearwaves
inherits: ADMBase StaticConformal Grid
| # Parameter definitions for thorn IDLinearWaves
shares: ADMBase
EXTENDS KEYWORD initial_data
{
"teukwaves" :: "linear waves initial data- Teukolsky waves"
"planewaves" :: "linear waves initial data- plane waves"
"standing_planewaves" :: "linear waves initial data- standing plane waves"
"sine_plane... | # Schedule definitions for thorn IDLinearWaves
if (CCTK_Equals(initial_data,"planewaves"))
{
schedule IDLinearWaves_ParamChecker at CCTK_PARAMCHECK
{
LANG: C
OPTIONS: global
} "Check that the metric_type is recognised"
schedule IDLinearWaves_PlaneWaves in ADMBase_InitialData
{
LANG: Fortran
}... | sine_planewaves.F77 | c $Header$
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Functions.h"
#include "cctk_Parameters.h"
subroutine IDLinearWaves_SinePlaneWaves (CCTK_ARGUMENTS)
implicit none
DECLARE_CCTK_ARGUMENTS
DECLARE_CCTK_FUNCTIONS
DECLARE_CCTK_PARAMETERS
CCTK_RE... | |
EinsteinInitialData/Meudon_Bin_BH | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn ID_Bin_BH
REQUIRES LORENE (<<2014-04-19)
| # Interface definition for thorn ID_Bin_BH
IMPLEMENTS: ID_Bin_BH
INHERITS: grid SummationByParts ADMBase
SUBROUTINE Diff_gv (CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN dir, \
CCTK_REAL IN ARRAY var, \
CCTK_REAL OUT ARRAY dvar, \
CC... | # Parameter definitions for thorn ID_Bin_BH
SHARES: ADMBase
EXTENDS KEYWORD initial_data
{
"ID_Bin_BH" :: ""
}
EXTENDS KEYWORD initial_lapse
{
"ID_Bin_BH" :: ""
}
EXTENDS KEYWORD initial_shift
{
"ID_Bin_BH" :: ""
}
EXTENDS KEYWORD initial_dtlapse
{
"ID_Bin_BH" :: ""
}
EXTENDS KEYWORD initial_dtshift
{
"... | # Schedule definitions for thorn ID_Bin_BH
if (CCTK_EQUALS (initial_data, "ID_Bin_BH") ||
CCTK_EQUALS (initial_lapse, "ID_Bin_BH") ||
CCTK_EQUALS (initial_shift, "ID_Bin_BH") ||
CCTK_EQUALS (initial_dtlapse, "ID_Bin_BH") ||
CCTK_EQUALS (initial_dtshift, "ID_Bin_BH"))
{
SCHEDULE ID_Bin_BH_check... | check_parameters.cc | #include <cctk.h>
#include <cctk_Arguments.h>
#include <cctk_Parameters.h>
extern "C"
void ID_Bin_BH_check_parameters (CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;
if (not CCTK_EQUALS (initial_data, "ID_Bin_BH") or
not CCTK_EQUALS (initial_lapse, "ID_Bin_BH") or
not CC... |
EinsteinInitialData/Meudon_Bin_BH | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn ID_Bin_BH
REQUIRES LORENE (<<2014-04-19)
| # Interface definition for thorn ID_Bin_BH
IMPLEMENTS: ID_Bin_BH
INHERITS: grid SummationByParts ADMBase
SUBROUTINE Diff_gv (CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN dir, \
CCTK_REAL IN ARRAY var, \
CCTK_REAL OUT ARRAY dvar, \
CC... | # Parameter definitions for thorn ID_Bin_BH
SHARES: ADMBase
EXTENDS KEYWORD initial_data
{
"ID_Bin_BH" :: ""
}
EXTENDS KEYWORD initial_lapse
{
"ID_Bin_BH" :: ""
}
EXTENDS KEYWORD initial_shift
{
"ID_Bin_BH" :: ""
}
EXTENDS KEYWORD initial_dtlapse
{
"ID_Bin_BH" :: ""
}
EXTENDS KEYWORD initial_dtshift
{
"... | # Schedule definitions for thorn ID_Bin_BH
if (CCTK_EQUALS (initial_data, "ID_Bin_BH") ||
CCTK_EQUALS (initial_lapse, "ID_Bin_BH") ||
CCTK_EQUALS (initial_shift, "ID_Bin_BH") ||
CCTK_EQUALS (initial_dtlapse, "ID_Bin_BH") ||
CCTK_EQUALS (initial_dtshift, "ID_Bin_BH"))
{
SCHEDULE ID_Bin_BH_check... | make.code.defn | # Main make.code.defn file for thorn ID_Bin_BH
# Source files in this directory
SRCS = Bin_BH.cc check_parameters.cc
# Subdirectories containing source files
SUBDIRS =
|
EinsteinInitialData/Meudon_Bin_BH | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn ID_Bin_BH
REQUIRES LORENE (<<2014-04-19)
| # Interface definition for thorn ID_Bin_BH
IMPLEMENTS: ID_Bin_BH
INHERITS: grid SummationByParts ADMBase
SUBROUTINE Diff_gv (CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN dir, \
CCTK_REAL IN ARRAY var, \
CCTK_REAL OUT ARRAY dvar, \
CC... | # Parameter definitions for thorn ID_Bin_BH
SHARES: ADMBase
EXTENDS KEYWORD initial_data
{
"ID_Bin_BH" :: ""
}
EXTENDS KEYWORD initial_lapse
{
"ID_Bin_BH" :: ""
}
EXTENDS KEYWORD initial_shift
{
"ID_Bin_BH" :: ""
}
EXTENDS KEYWORD initial_dtlapse
{
"ID_Bin_BH" :: ""
}
EXTENDS KEYWORD initial_dtshift
{
"... | # Schedule definitions for thorn ID_Bin_BH
if (CCTK_EQUALS (initial_data, "ID_Bin_BH") ||
CCTK_EQUALS (initial_lapse, "ID_Bin_BH") ||
CCTK_EQUALS (initial_shift, "ID_Bin_BH") ||
CCTK_EQUALS (initial_dtlapse, "ID_Bin_BH") ||
CCTK_EQUALS (initial_dtshift, "ID_Bin_BH"))
{
SCHEDULE ID_Bin_BH_check... | Bin_BH.cc | #include <cassert>
#include <cmath>
#include <cstdio>
#include <vector>
#include <ios>
#include <cctk.h>
#include <cctk_Arguments.h>
#include <cctk_Parameters.h>
#include <bin_bh.h>
using namespace std;
static void set_dt_from_domega (CCTK_ARGUMENTS,
CCTK_REAL const* const var,
... |
EinsteinInitialData/Meudon_Bin_NS | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn Meudon_Bin_NS
REQUIRES LORENE (<<2014-04-19)
| # Interface definition for thorn Meudon_Bin_NS
IMPLEMENTS: Meudon_Bin_NS
INHERITS: grid SummationByParts ADMBase HydroBase
SUBROUTINE Diff_gv (CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN dir, \
CCTK_REAL IN ARRAY var, \
CCTK_REAL OUT ARRAY dvar, \
... | # Parameter definitions for thorn Meudon_Bin_NS
SHARES: ADMBase
EXTENDS KEYWORD initial_data
{
"Meudon_Bin_NS" :: ""
}
EXTENDS KEYWORD initial_lapse
{
"Meudon_Bin_NS" :: ""
}
EXTENDS KEYWORD initial_shift
{
"Meudon_Bin_NS" :: ""
}
EXTENDS KEYWORD initial_dtlapse
{
"Meudon_Bin_NS" :: ""
}
EXTENDS KEYWORD i... | # Schedule definitions for thorn Meudon_Bin_NS
if (CCTK_EQUALS (initial_data, "Meudon_Bin_NS") ||
CCTK_EQUALS (initial_lapse, "Meudon_Bin_NS") ||
CCTK_EQUALS (initial_shift, "Meudon_Bin_NS") ||
CCTK_EQUALS (initial_dtlapse, "Meudon_Bin_NS") ||
CCTK_EQUALS (initial_dtshift, "Meudon_Bin_NS") ||
... | make.code.defn | # Main make.code.defn file for thorn Meudon_Bin_NS
# Source files in this directory
SRCS = Bin_NS.cc
# Subdirectories containing source files
SUBDIRS =
|
EinsteinInitialData/Meudon_Bin_NS | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn Meudon_Bin_NS
REQUIRES LORENE (<<2014-04-19)
| # Interface definition for thorn Meudon_Bin_NS
IMPLEMENTS: Meudon_Bin_NS
INHERITS: grid SummationByParts ADMBase HydroBase
SUBROUTINE Diff_gv (CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN dir, \
CCTK_REAL IN ARRAY var, \
CCTK_REAL OUT ARRAY dvar, \
... | # Parameter definitions for thorn Meudon_Bin_NS
SHARES: ADMBase
EXTENDS KEYWORD initial_data
{
"Meudon_Bin_NS" :: ""
}
EXTENDS KEYWORD initial_lapse
{
"Meudon_Bin_NS" :: ""
}
EXTENDS KEYWORD initial_shift
{
"Meudon_Bin_NS" :: ""
}
EXTENDS KEYWORD initial_dtlapse
{
"Meudon_Bin_NS" :: ""
}
EXTENDS KEYWORD i... | # Schedule definitions for thorn Meudon_Bin_NS
if (CCTK_EQUALS (initial_data, "Meudon_Bin_NS") ||
CCTK_EQUALS (initial_lapse, "Meudon_Bin_NS") ||
CCTK_EQUALS (initial_shift, "Meudon_Bin_NS") ||
CCTK_EQUALS (initial_dtlapse, "Meudon_Bin_NS") ||
CCTK_EQUALS (initial_dtshift, "Meudon_Bin_NS") ||
... | Bin_NS.cc | /* (c) 2009 Erik Schnetter
* (c) 2010 Frank Loeffler */
#include <cstdio>
#include <cassert>
#include <vector>
#include <ios>
#include <cctk.h>
#include <cctk_Arguments.h>
#include <cctk_Parameters.h>
#include <bin_ns.h>
#include <unites.h>
using namespace std;
static void set_dt_from_domega (CCTK_ARGUMENTS,
... |
EinsteinInitialData/Meudon_Mag_NS | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn ID_Mag_NS
REQUIRES LORENE (<<2014-04-19)
| # Interface definition for thorn ID_Mag_NS
IMPLEMENTS: ID_Mag_NS
INHERITS: grid ADMBase HydroBase
| # Parameter definitions for thorn ID_Mag_NS
SHARES: ADMBase
EXTENDS KEYWORD initial_data
{
"ID_Mag_NS" :: ""
}
EXTENDS KEYWORD initial_lapse
{
"ID_Mag_NS" :: ""
}
EXTENDS KEYWORD initial_shift
{
"ID_Mag_NS" :: ""
}
EXTENDS KEYWORD initial_dtlapse
{
"ID_Mag_NS" :: ""
}
EXTENDS KEYWORD initial_dtshift
{
"... | # Schedule definitions for thorn ID_Mag_NS
if (CCTK_EQUALS (initial_data, "ID_Mag_NS") ||
CCTK_EQUALS (initial_lapse, "ID_Mag_NS") ||
CCTK_EQUALS (initial_shift, "ID_Mag_NS") ||
CCTK_EQUALS (initial_dtlapse, "ID_Mag_NS") ||
CCTK_EQUALS (initial_dtshift, "ID_Mag_NS") ||
CCTK_EQUALS (initial_h... | check_parameters.cc | #include <cctk.h>
#include <cctk_Arguments.h>
#include <cctk_Parameters.h>
extern "C"
void ID_Mag_NS_check_parameters (CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;
if (not CCTK_EQUALS (initial_data, "ID_Mag_NS") or
not CCTK_EQUALS (initial_lapse, "ID_Mag_NS") or
not CC... |
EinsteinInitialData/Meudon_Mag_NS | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn ID_Mag_NS
REQUIRES LORENE (<<2014-04-19)
| # Interface definition for thorn ID_Mag_NS
IMPLEMENTS: ID_Mag_NS
INHERITS: grid ADMBase HydroBase
| # Parameter definitions for thorn ID_Mag_NS
SHARES: ADMBase
EXTENDS KEYWORD initial_data
{
"ID_Mag_NS" :: ""
}
EXTENDS KEYWORD initial_lapse
{
"ID_Mag_NS" :: ""
}
EXTENDS KEYWORD initial_shift
{
"ID_Mag_NS" :: ""
}
EXTENDS KEYWORD initial_dtlapse
{
"ID_Mag_NS" :: ""
}
EXTENDS KEYWORD initial_dtshift
{
"... | # Schedule definitions for thorn ID_Mag_NS
if (CCTK_EQUALS (initial_data, "ID_Mag_NS") ||
CCTK_EQUALS (initial_lapse, "ID_Mag_NS") ||
CCTK_EQUALS (initial_shift, "ID_Mag_NS") ||
CCTK_EQUALS (initial_dtlapse, "ID_Mag_NS") ||
CCTK_EQUALS (initial_dtshift, "ID_Mag_NS") ||
CCTK_EQUALS (initial_h... | Mag_NS.cc | #include <cassert>
#include <cstdio>
#include <vector>
#include <ios>
#include <cctk.h>
#include <cctk_Arguments.h>
#include <cctk_Parameters.h>
#include <mag_ns.h>
using namespace std;
extern "C"
void ID_Mag_NS_initialise (CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;
CCTK_INFO ("Se... |
EinsteinInitialData/Meudon_Mag_NS | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn ID_Mag_NS
REQUIRES LORENE (<<2014-04-19)
| # Interface definition for thorn ID_Mag_NS
IMPLEMENTS: ID_Mag_NS
INHERITS: grid ADMBase HydroBase
| # Parameter definitions for thorn ID_Mag_NS
SHARES: ADMBase
EXTENDS KEYWORD initial_data
{
"ID_Mag_NS" :: ""
}
EXTENDS KEYWORD initial_lapse
{
"ID_Mag_NS" :: ""
}
EXTENDS KEYWORD initial_shift
{
"ID_Mag_NS" :: ""
}
EXTENDS KEYWORD initial_dtlapse
{
"ID_Mag_NS" :: ""
}
EXTENDS KEYWORD initial_dtshift
{
"... | # Schedule definitions for thorn ID_Mag_NS
if (CCTK_EQUALS (initial_data, "ID_Mag_NS") ||
CCTK_EQUALS (initial_lapse, "ID_Mag_NS") ||
CCTK_EQUALS (initial_shift, "ID_Mag_NS") ||
CCTK_EQUALS (initial_dtlapse, "ID_Mag_NS") ||
CCTK_EQUALS (initial_dtshift, "ID_Mag_NS") ||
CCTK_EQUALS (initial_h... | make.code.defn | # Main make.code.defn file for thorn ID_Mag_NS
# Source files in this directory
SRCS = Mag_NS.cc check_parameters.cc
# Subdirectories containing source files
SUBDIRS =
|
EinsteinInitialData/NoExcision | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn NoExcision
OPTIONAL_IFACTIVE Carpet
{
}
| # Interface definition for thorn NoExcision
# $Header$
IMPLEMENTS: NoExcision
INHERITS: ADMBase StaticConformal grid SphericalSurface Boundary
USES INCLUDE: Boundary.h
USES INCLUDE: carpet.hh
CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex)
USES FUNCTION MoLQueryEvolvedRHS
CCTK_INT FUNCTION Boundar... | # Parameter definitions for thorn NoExcision
# $Header$
BOOLEAN verbose "Produce some screen output"
{
} "no"
KEYWORD method "Method to use"
{
"old" :: "Use old method"
"new" :: "Use new method"
} "old"
INT num_regions "Number of no-excision regions"
{
0:10 :: ""
} 0
BOOLEAN overwrite_geometry[10] "Set the g... | # Schedule definitions for thorn NoExcision
# $Header$
STORAGE: reduction_mask
if (CCTK_EQUALS(method,"old")) {
SCHEDULE NoExcision_Overwrite IN ADMBase_PostInitial
{
LANG: Fortran
} "Overwrite regions with Minkowski"
}
if (CCTK_Equals(method,"new")) {
schedule NoExcision_SetSym at CCTK_BASEGRID
{
... | smooth.F90 | ! $Header$
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Functions.h"
#include "cctk_Parameters.h"
subroutine NoExcision_Smooth (CCTK_ARGUMENTS)
implicit none
DECLARE_CCTK_ARGUMENTS
DECLARE_CCTK_FUNCTIONS
DECLARE_CCTK_PARAMETERS
CCTK_REAL, parameter :: zero=0
CCTK_REAL :: mask (cctk_lsh(1)... |
EinsteinInitialData/NoExcision | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn NoExcision
OPTIONAL_IFACTIVE Carpet
{
}
| # Interface definition for thorn NoExcision
# $Header$
IMPLEMENTS: NoExcision
INHERITS: ADMBase StaticConformal grid SphericalSurface Boundary
USES INCLUDE: Boundary.h
USES INCLUDE: carpet.hh
CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex)
USES FUNCTION MoLQueryEvolvedRHS
CCTK_INT FUNCTION Boundar... | # Parameter definitions for thorn NoExcision
# $Header$
BOOLEAN verbose "Produce some screen output"
{
} "no"
KEYWORD method "Method to use"
{
"old" :: "Use old method"
"new" :: "Use new method"
} "old"
INT num_regions "Number of no-excision regions"
{
0:10 :: ""
} 0
BOOLEAN overwrite_geometry[10] "Set the g... | # Schedule definitions for thorn NoExcision
# $Header$
STORAGE: reduction_mask
if (CCTK_EQUALS(method,"old")) {
SCHEDULE NoExcision_Overwrite IN ADMBase_PostInitial
{
LANG: Fortran
} "Overwrite regions with Minkowski"
}
if (CCTK_Equals(method,"new")) {
schedule NoExcision_SetSym at CCTK_BASEGRID
{
... | copy_mask.hh | #include <cctk.h>
#include <cctk_Arguments.h>
namespace CarpetMask {
extern "C" {
void
CopyMask (CCTK_ARGUMENTS);
}
} // namespace CarpetMask
|
EinsteinInitialData/NoExcision | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn NoExcision
OPTIONAL_IFACTIVE Carpet
{
}
| # Interface definition for thorn NoExcision
# $Header$
IMPLEMENTS: NoExcision
INHERITS: ADMBase StaticConformal grid SphericalSurface Boundary
USES INCLUDE: Boundary.h
USES INCLUDE: carpet.hh
CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex)
USES FUNCTION MoLQueryEvolvedRHS
CCTK_INT FUNCTION Boundar... | # Parameter definitions for thorn NoExcision
# $Header$
BOOLEAN verbose "Produce some screen output"
{
} "no"
KEYWORD method "Method to use"
{
"old" :: "Use old method"
"new" :: "Use new method"
} "old"
INT num_regions "Number of no-excision regions"
{
0:10 :: ""
} 0
BOOLEAN overwrite_geometry[10] "Set the g... | # Schedule definitions for thorn NoExcision
# $Header$
STORAGE: reduction_mask
if (CCTK_EQUALS(method,"old")) {
SCHEDULE NoExcision_Overwrite IN ADMBase_PostInitial
{
LANG: Fortran
} "Overwrite regions with Minkowski"
}
if (CCTK_Equals(method,"new")) {
schedule NoExcision_SetSym at CCTK_BASEGRID
{
... | reduce.c | /* $Header$ */
#include <assert.h>
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Parameters.h"
void CCTK_FCALL
CCTK_FNAME(NoExcision_Reduce) (int const * cctk_iteration,
int const * cctk_lsh,
CCTK_REAL * rhs,
... |
EinsteinInitialData/NoExcision | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn NoExcision
OPTIONAL_IFACTIVE Carpet
{
}
| # Interface definition for thorn NoExcision
# $Header$
IMPLEMENTS: NoExcision
INHERITS: ADMBase StaticConformal grid SphericalSurface Boundary
USES INCLUDE: Boundary.h
USES INCLUDE: carpet.hh
CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex)
USES FUNCTION MoLQueryEvolvedRHS
CCTK_INT FUNCTION Boundar... | # Parameter definitions for thorn NoExcision
# $Header$
BOOLEAN verbose "Produce some screen output"
{
} "no"
KEYWORD method "Method to use"
{
"old" :: "Use old method"
"new" :: "Use new method"
} "old"
INT num_regions "Number of no-excision regions"
{
0:10 :: ""
} 0
BOOLEAN overwrite_geometry[10] "Set the g... | # Schedule definitions for thorn NoExcision
# $Header$
STORAGE: reduction_mask
if (CCTK_EQUALS(method,"old")) {
SCHEDULE NoExcision_Overwrite IN ADMBase_PostInitial
{
LANG: Fortran
} "Overwrite regions with Minkowski"
}
if (CCTK_Equals(method,"new")) {
schedule NoExcision_SetSym at CCTK_BASEGRID
{
... | cg.F90 | ! $Header$
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Functions.h"
#include "cctk_Parameters.h"
subroutine NoExcision_CGInit_1 (CCTK_ARGUMENTS)
use NoExcision_mod
implicit none
DECLARE_CCTK_ARGUMENTS
DECLARE_CCTK_FUNCTIONS
DECLARE_CCTK_PARAMETERS
CCTK_INT :: my_level, n_levels
nx ... |
EinsteinInitialData/NoExcision | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn NoExcision
OPTIONAL_IFACTIVE Carpet
{
}
| # Interface definition for thorn NoExcision
# $Header$
IMPLEMENTS: NoExcision
INHERITS: ADMBase StaticConformal grid SphericalSurface Boundary
USES INCLUDE: Boundary.h
USES INCLUDE: carpet.hh
CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex)
USES FUNCTION MoLQueryEvolvedRHS
CCTK_INT FUNCTION Boundar... | # Parameter definitions for thorn NoExcision
# $Header$
BOOLEAN verbose "Produce some screen output"
{
} "no"
KEYWORD method "Method to use"
{
"old" :: "Use old method"
"new" :: "Use new method"
} "old"
INT num_regions "Number of no-excision regions"
{
0:10 :: ""
} 0
BOOLEAN overwrite_geometry[10] "Set the g... | # Schedule definitions for thorn NoExcision
# $Header$
STORAGE: reduction_mask
if (CCTK_EQUALS(method,"old")) {
SCHEDULE NoExcision_Overwrite IN ADMBase_PostInitial
{
LANG: Fortran
} "Overwrite regions with Minkowski"
}
if (CCTK_Equals(method,"new")) {
schedule NoExcision_SetSym at CCTK_BASEGRID
{
... | copy_mask.cc | #include <cmath>
#include <cctk.h>
#include <cctk_Arguments.h>
#include <cctk_Parameters.h>
#include "copy_mask.hh"
namespace NoExcision {
#ifdef HAVE_CARPET
using namespace Carpet;
#endif
/**
* Modify the mask according to the CarpetReduce mask in order to be able to do the local reductions.
*/
exter... |
EinsteinInitialData/NoExcision | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn NoExcision
OPTIONAL_IFACTIVE Carpet
{
}
| # Interface definition for thorn NoExcision
# $Header$
IMPLEMENTS: NoExcision
INHERITS: ADMBase StaticConformal grid SphericalSurface Boundary
USES INCLUDE: Boundary.h
USES INCLUDE: carpet.hh
CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex)
USES FUNCTION MoLQueryEvolvedRHS
CCTK_INT FUNCTION Boundar... | # Parameter definitions for thorn NoExcision
# $Header$
BOOLEAN verbose "Produce some screen output"
{
} "no"
KEYWORD method "Method to use"
{
"old" :: "Use old method"
"new" :: "Use new method"
} "old"
INT num_regions "Number of no-excision regions"
{
0:10 :: ""
} 0
BOOLEAN overwrite_geometry[10] "Set the g... | # Schedule definitions for thorn NoExcision
# $Header$
STORAGE: reduction_mask
if (CCTK_EQUALS(method,"old")) {
SCHEDULE NoExcision_Overwrite IN ADMBase_PostInitial
{
LANG: Fortran
} "Overwrite regions with Minkowski"
}
if (CCTK_Equals(method,"new")) {
schedule NoExcision_SetSym at CCTK_BASEGRID
{
... | reduce.F90 | ! $Header$
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Functions.h"
#include "cctk_Parameters.h"
subroutine NoExcision_Reduce (cctk_iteration, cctk_lsh, rhs, x, y, z)
implicit none
DECLARE_CCTK_FUNCTIONS
DECLARE_CCTK_PARAMETERS
integer :: cctk_iteration
integer :: cctk_lsh(3)
CCTK_REAL... |
EinsteinInitialData/NoExcision | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn NoExcision
OPTIONAL_IFACTIVE Carpet
{
}
| # Interface definition for thorn NoExcision
# $Header$
IMPLEMENTS: NoExcision
INHERITS: ADMBase StaticConformal grid SphericalSurface Boundary
USES INCLUDE: Boundary.h
USES INCLUDE: carpet.hh
CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex)
USES FUNCTION MoLQueryEvolvedRHS
CCTK_INT FUNCTION Boundar... | # Parameter definitions for thorn NoExcision
# $Header$
BOOLEAN verbose "Produce some screen output"
{
} "no"
KEYWORD method "Method to use"
{
"old" :: "Use old method"
"new" :: "Use new method"
} "old"
INT num_regions "Number of no-excision regions"
{
0:10 :: ""
} 0
BOOLEAN overwrite_geometry[10] "Set the g... | # Schedule definitions for thorn NoExcision
# $Header$
STORAGE: reduction_mask
if (CCTK_EQUALS(method,"old")) {
SCHEDULE NoExcision_Overwrite IN ADMBase_PostInitial
{
LANG: Fortran
} "Overwrite regions with Minkowski"
}
if (CCTK_Equals(method,"new")) {
schedule NoExcision_SetSym at CCTK_BASEGRID
{
... | overwrite.F90 | ! $Header$
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Functions.h"
#include "cctk_Parameters.h"
subroutine NoExcision_Overwrite (CCTK_ARGUMENTS)
implicit none
DECLARE_CCTK_ARGUMENTS
DECLARE_CCTK_FUNCTIONS
DECLARE_CCTK_PARAMETERS
CCTK_REAL, parameter :: zero=0
CCTK_REAL :: dist2 (cctk_ls... |
EinsteinInitialData/NoExcision | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn NoExcision
OPTIONAL_IFACTIVE Carpet
{
}
| # Interface definition for thorn NoExcision
# $Header$
IMPLEMENTS: NoExcision
INHERITS: ADMBase StaticConformal grid SphericalSurface Boundary
USES INCLUDE: Boundary.h
USES INCLUDE: carpet.hh
CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex)
USES FUNCTION MoLQueryEvolvedRHS
CCTK_INT FUNCTION Boundar... | # Parameter definitions for thorn NoExcision
# $Header$
BOOLEAN verbose "Produce some screen output"
{
} "no"
KEYWORD method "Method to use"
{
"old" :: "Use old method"
"new" :: "Use new method"
} "old"
INT num_regions "Number of no-excision regions"
{
0:10 :: ""
} 0
BOOLEAN overwrite_geometry[10] "Set the g... | # Schedule definitions for thorn NoExcision
# $Header$
STORAGE: reduction_mask
if (CCTK_EQUALS(method,"old")) {
SCHEDULE NoExcision_Overwrite IN ADMBase_PostInitial
{
LANG: Fortran
} "Overwrite regions with Minkowski"
}
if (CCTK_Equals(method,"new")) {
schedule NoExcision_SetSym at CCTK_BASEGRID
{
... | make.code.defn | # Main make.code.defn file for thorn NoExcision
# $Header$
# Source files in this directory
SRCS = NoExcision_mod.F90 overwrite.F90 smooth.F90 reduce.F90 reduce.c getlevelinfo.cc copy_mask.cc cg.F90
# Subdirectories containing source files
SUBDIRS =
|
EinsteinInitialData/NoExcision | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn NoExcision
OPTIONAL_IFACTIVE Carpet
{
}
| # Interface definition for thorn NoExcision
# $Header$
IMPLEMENTS: NoExcision
INHERITS: ADMBase StaticConformal grid SphericalSurface Boundary
USES INCLUDE: Boundary.h
USES INCLUDE: carpet.hh
CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex)
USES FUNCTION MoLQueryEvolvedRHS
CCTK_INT FUNCTION Boundar... | # Parameter definitions for thorn NoExcision
# $Header$
BOOLEAN verbose "Produce some screen output"
{
} "no"
KEYWORD method "Method to use"
{
"old" :: "Use old method"
"new" :: "Use new method"
} "old"
INT num_regions "Number of no-excision regions"
{
0:10 :: ""
} 0
BOOLEAN overwrite_geometry[10] "Set the g... | # Schedule definitions for thorn NoExcision
# $Header$
STORAGE: reduction_mask
if (CCTK_EQUALS(method,"old")) {
SCHEDULE NoExcision_Overwrite IN ADMBase_PostInitial
{
LANG: Fortran
} "Overwrite regions with Minkowski"
}
if (CCTK_Equals(method,"new")) {
schedule NoExcision_SetSym at CCTK_BASEGRID
{
... | overwriteBSSN.F90 | ! $Header$
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Functions.h"
#include "cctk_Parameters.h"
subroutine NoExcision_OverwriteBSSN (CCTK_ARGUMENTS)
implicit none
DECLARE_CCTK_ARGUMENTS
DECLARE_CCTK_FUNCTIONS
DECLARE_CCTK_PARAMETERS
CCTK_REAL, parameter :: zero=0
CCTK_REAL :: dist2 (c... |
EinsteinInitialData/NoExcision | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn NoExcision
OPTIONAL_IFACTIVE Carpet
{
}
| # Interface definition for thorn NoExcision
# $Header$
IMPLEMENTS: NoExcision
INHERITS: ADMBase StaticConformal grid SphericalSurface Boundary
USES INCLUDE: Boundary.h
USES INCLUDE: carpet.hh
CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex)
USES FUNCTION MoLQueryEvolvedRHS
CCTK_INT FUNCTION Boundar... | # Parameter definitions for thorn NoExcision
# $Header$
BOOLEAN verbose "Produce some screen output"
{
} "no"
KEYWORD method "Method to use"
{
"old" :: "Use old method"
"new" :: "Use new method"
} "old"
INT num_regions "Number of no-excision regions"
{
0:10 :: ""
} 0
BOOLEAN overwrite_geometry[10] "Set the g... | # Schedule definitions for thorn NoExcision
# $Header$
STORAGE: reduction_mask
if (CCTK_EQUALS(method,"old")) {
SCHEDULE NoExcision_Overwrite IN ADMBase_PostInitial
{
LANG: Fortran
} "Overwrite regions with Minkowski"
}
if (CCTK_Equals(method,"new")) {
schedule NoExcision_SetSym at CCTK_BASEGRID
{
... | NoExcision_mod.F90 | ! $Header$
#include "cctk.h"
module NoExcision_mod
implicit none
CCTK_REAL, parameter :: zero = 0.0
integer, parameter :: wp = kind(zero)
CCTK_REAL, parameter :: one = 1.0_wp
CCTK_REAL, parameter :: two = 2.0_wp
CCTK_INT :: infnorm_handle, sum_handle
CCTK_INT :: sym_selector
CCTK_INT :: loop_counter... |
EinsteinInitialData/NoExcision | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn NoExcision
OPTIONAL_IFACTIVE Carpet
{
}
| # Interface definition for thorn NoExcision
# $Header$
IMPLEMENTS: NoExcision
INHERITS: ADMBase StaticConformal grid SphericalSurface Boundary
USES INCLUDE: Boundary.h
USES INCLUDE: carpet.hh
CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex)
USES FUNCTION MoLQueryEvolvedRHS
CCTK_INT FUNCTION Boundar... | # Parameter definitions for thorn NoExcision
# $Header$
BOOLEAN verbose "Produce some screen output"
{
} "no"
KEYWORD method "Method to use"
{
"old" :: "Use old method"
"new" :: "Use new method"
} "old"
INT num_regions "Number of no-excision regions"
{
0:10 :: ""
} 0
BOOLEAN overwrite_geometry[10] "Set the g... | # Schedule definitions for thorn NoExcision
# $Header$
STORAGE: reduction_mask
if (CCTK_EQUALS(method,"old")) {
SCHEDULE NoExcision_Overwrite IN ADMBase_PostInitial
{
LANG: Fortran
} "Overwrite regions with Minkowski"
}
if (CCTK_Equals(method,"new")) {
schedule NoExcision_SetSym at CCTK_BASEGRID
{
... | make.code.deps | cg.F90.o: NoExcision_mod.F90.o
|
EinsteinInitialData/NoExcision | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn NoExcision
OPTIONAL_IFACTIVE Carpet
{
}
| # Interface definition for thorn NoExcision
# $Header$
IMPLEMENTS: NoExcision
INHERITS: ADMBase StaticConformal grid SphericalSurface Boundary
USES INCLUDE: Boundary.h
USES INCLUDE: carpet.hh
CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex)
USES FUNCTION MoLQueryEvolvedRHS
CCTK_INT FUNCTION Boundar... | # Parameter definitions for thorn NoExcision
# $Header$
BOOLEAN verbose "Produce some screen output"
{
} "no"
KEYWORD method "Method to use"
{
"old" :: "Use old method"
"new" :: "Use new method"
} "old"
INT num_regions "Number of no-excision regions"
{
0:10 :: ""
} 0
BOOLEAN overwrite_geometry[10] "Set the g... | # Schedule definitions for thorn NoExcision
# $Header$
STORAGE: reduction_mask
if (CCTK_EQUALS(method,"old")) {
SCHEDULE NoExcision_Overwrite IN ADMBase_PostInitial
{
LANG: Fortran
} "Overwrite regions with Minkowski"
}
if (CCTK_Equals(method,"new")) {
schedule NoExcision_SetSym at CCTK_BASEGRID
{
... | getlevelinfo.cc | /* $Header$ */
#include <cstdio>
#include <cmath>
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Parameters.h"
#include "cctk_DefineThorn.h"
#include "carpet.hh"
namespace NoExcision {
#ifdef HAVE_CARPET
using namespace Carpet;
#endif
extern "C"
void NoExcision_levelinfo(const cGH * cctkGH,
... |
EinsteinInitialData/RotatingDBHIVP | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Interface definition for thorn RotatingDBHIVP
# $Header$
implements: rotatingdbhivp
inherits: ADMBase grid StaticConformal
private:
real sph_to_car_coord TYPE=GF
{
eta,
abseta,
sign_eta,
q,
phi
} "coordinate"
real sph_to_car_psi TYPE=GF
{
psi3d,
detapsi3d,
dqpsi3d,
dphipsi3d,
detaetapsi3d,
detaqpsi3d,
detaphipsi3... | # Parameter definitions for thorn RotatingDBHIVP
# $Header$
shares: StaticConformal
USES KEYWORD conformal_storage
shares:ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_lapse
{
"schwarz" :: "Set lapse to Schwarzschild"
}
EXTENDS KEYWORD initial_data
{
"rotatingdbh" :: "Non-Aix BH + Brill Wave IVP"... | # Schedule definitions for thorn RotatingDBHIVP
# $Header$
if (CCTK_Equals(initial_data,"rotatingdbh"))
{
STORAGE: sph_to_car_coord, sph_to_car_psi
schedule RotatingDBHIVP_ParamCheck at PARAMCHECK
{
LANG: C
} "Check Parameters"
schedule RotatingDBHIVP IN ADMBase_InitialData
{
LANG: Fortran
} "... | RotatingDBHIVP.F | /*@@
c @file RotatingDBH.F
c @date 8 June 1999
c @author Ryoji Takahashi
c @desc
c
c @enddesc
c@@*/
#include "cctk.h"
#include "cctk_Parameters.h"
#include "cctk_Arguments.h"
#include "cctk_Functions.h"
c/*@@
c @routine RotatingDBHIVP
c @date
c @author
c @desc
c
c @enddes... | |
EinsteinInitialData/RotatingDBHIVP | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Interface definition for thorn RotatingDBHIVP
# $Header$
implements: rotatingdbhivp
inherits: ADMBase grid StaticConformal
private:
real sph_to_car_coord TYPE=GF
{
eta,
abseta,
sign_eta,
q,
phi
} "coordinate"
real sph_to_car_psi TYPE=GF
{
psi3d,
detapsi3d,
dqpsi3d,
dphipsi3d,
detaetapsi3d,
detaqpsi3d,
detaphipsi3... | # Parameter definitions for thorn RotatingDBHIVP
# $Header$
shares: StaticConformal
USES KEYWORD conformal_storage
shares:ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_lapse
{
"schwarz" :: "Set lapse to Schwarzschild"
}
EXTENDS KEYWORD initial_data
{
"rotatingdbh" :: "Non-Aix BH + Brill Wave IVP"... | # Schedule definitions for thorn RotatingDBHIVP
# $Header$
if (CCTK_Equals(initial_data,"rotatingdbh"))
{
STORAGE: sph_to_car_coord, sph_to_car_psi
schedule RotatingDBHIVP_ParamCheck at PARAMCHECK
{
LANG: C
} "Check Parameters"
schedule RotatingDBHIVP IN ADMBase_InitialData
{
LANG: Fortran
} "... | ParamCheck.c | /*@@
@file ParamCheck.c
@date Fri Apr 26 18:03:09 2002
@author Tom Goodale
@desc
Check the parameters for RotatingDBHIVP
@enddesc
@version $Header: /arrangements/PerturbedBH2/RotatingDBHIVP/src/ParamCheck.c,v 1.1 2002/04/30 guzman
@@*/
#include "cctk.h"
#include "cctk_... | |
EinsteinInitialData/RotatingDBHIVP | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Interface definition for thorn RotatingDBHIVP
# $Header$
implements: rotatingdbhivp
inherits: ADMBase grid StaticConformal
private:
real sph_to_car_coord TYPE=GF
{
eta,
abseta,
sign_eta,
q,
phi
} "coordinate"
real sph_to_car_psi TYPE=GF
{
psi3d,
detapsi3d,
dqpsi3d,
dphipsi3d,
detaetapsi3d,
detaqpsi3d,
detaphipsi3... | # Parameter definitions for thorn RotatingDBHIVP
# $Header$
shares: StaticConformal
USES KEYWORD conformal_storage
shares:ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_lapse
{
"schwarz" :: "Set lapse to Schwarzschild"
}
EXTENDS KEYWORD initial_data
{
"rotatingdbh" :: "Non-Aix BH + Brill Wave IVP"... | # Schedule definitions for thorn RotatingDBHIVP
# $Header$
if (CCTK_Equals(initial_data,"rotatingdbh"))
{
STORAGE: sph_to_car_coord, sph_to_car_psi
schedule RotatingDBHIVP_ParamCheck at PARAMCHECK
{
LANG: C
} "Check Parameters"
schedule RotatingDBHIVP IN ADMBase_InitialData
{
LANG: Fortran
} "... | gauss.x | gtil = amp*(exp(-((-eta0 + etagrd(i))**2/sigma**2)) + exp(-((eta0 +
& etagrd(i))**2/sigma**2)))
dngtil = amp*((-2.00000000000000d0*(-eta0 + etagrd(i))*exp(-((-eta0
& + etagrd(i))**2/sigma**2)))/sigma**2 - (2.00000000000000d0*(eta0 +
& etagrd(i))*exp(-((eta0 + etagrd(i))**2/sigma**2)... | |
EinsteinInitialData/RotatingDBHIVP | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Interface definition for thorn RotatingDBHIVP
# $Header$
implements: rotatingdbhivp
inherits: ADMBase grid StaticConformal
private:
real sph_to_car_coord TYPE=GF
{
eta,
abseta,
sign_eta,
q,
phi
} "coordinate"
real sph_to_car_psi TYPE=GF
{
psi3d,
detapsi3d,
dqpsi3d,
dphipsi3d,
detaetapsi3d,
detaqpsi3d,
detaphipsi3... | # Parameter definitions for thorn RotatingDBHIVP
# $Header$
shares: StaticConformal
USES KEYWORD conformal_storage
shares:ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_lapse
{
"schwarz" :: "Set lapse to Schwarzschild"
}
EXTENDS KEYWORD initial_data
{
"rotatingdbh" :: "Non-Aix BH + Brill Wave IVP"... | # Schedule definitions for thorn RotatingDBHIVP
# $Header$
if (CCTK_Equals(initial_data,"rotatingdbh"))
{
STORAGE: sph_to_car_coord, sph_to_car_psi
schedule RotatingDBHIVP_ParamCheck at PARAMCHECK
{
LANG: C
} "Check Parameters"
schedule RotatingDBHIVP IN ADMBase_InitialData
{
LANG: Fortran
} "... | psi_2nd_deriv.x | o1 = 5.0000000000000d-1*eta(i,j,k)
o2 = exp(o1)
o3 = psi3d(i,j,k)
o4 = 1/o3
o5 = cos(phi(i,j,k))
o6 = o5**2
o7 = cos(q(i,j,k))
o8 = o7**2
o9 = detapsi3d(i,j,k)
o10 = -2.50000000000000d0*eta(i,j,k)
o11 = exp(o10)
o12 = dqqpsi... | |
EinsteinInitialData/RotatingDBHIVP | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Interface definition for thorn RotatingDBHIVP
# $Header$
implements: rotatingdbhivp
inherits: ADMBase grid StaticConformal
private:
real sph_to_car_coord TYPE=GF
{
eta,
abseta,
sign_eta,
q,
phi
} "coordinate"
real sph_to_car_psi TYPE=GF
{
psi3d,
detapsi3d,
dqpsi3d,
dphipsi3d,
detaetapsi3d,
detaqpsi3d,
detaphipsi3... | # Parameter definitions for thorn RotatingDBHIVP
# $Header$
shares: StaticConformal
USES KEYWORD conformal_storage
shares:ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_lapse
{
"schwarz" :: "Set lapse to Schwarzschild"
}
EXTENDS KEYWORD initial_data
{
"rotatingdbh" :: "Non-Aix BH + Brill Wave IVP"... | # Schedule definitions for thorn RotatingDBHIVP
# $Header$
if (CCTK_Equals(initial_data,"rotatingdbh"))
{
STORAGE: sph_to_car_coord, sph_to_car_psi
schedule RotatingDBHIVP_ParamCheck at PARAMCHECK
{
LANG: C
} "Check Parameters"
schedule RotatingDBHIVP IN ADMBase_InitialData
{
LANG: Fortran
} "... | gij.x | gxx(i,j,k) = 1.00000000000000d0
c dxgxx(i,j,k) = 0
c dygxx(i,j,k) = 0
c dzgxx(i,j,k) = 0
gxy(i,j,k) = 0
c dxgxy(i,j,k) = 0
c dygxy(i,j,k) = 0
c dzgxy(i,j,k) = 0
gxz(i,j,k) = 0
c dxgxz(i,j,k) = 0
c dygxz(i,j,k) = 0
c dzgxz(i,j,k) = 0
... | |
EinsteinInitialData/RotatingDBHIVP | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Interface definition for thorn RotatingDBHIVP
# $Header$
implements: rotatingdbhivp
inherits: ADMBase grid StaticConformal
private:
real sph_to_car_coord TYPE=GF
{
eta,
abseta,
sign_eta,
q,
phi
} "coordinate"
real sph_to_car_psi TYPE=GF
{
psi3d,
detapsi3d,
dqpsi3d,
dphipsi3d,
detaetapsi3d,
detaqpsi3d,
detaphipsi3... | # Parameter definitions for thorn RotatingDBHIVP
# $Header$
shares: StaticConformal
USES KEYWORD conformal_storage
shares:ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_lapse
{
"schwarz" :: "Set lapse to Schwarzschild"
}
EXTENDS KEYWORD initial_data
{
"rotatingdbh" :: "Non-Aix BH + Brill Wave IVP"... | # Schedule definitions for thorn RotatingDBHIVP
# $Header$
if (CCTK_Equals(initial_data,"rotatingdbh"))
{
STORAGE: sph_to_car_coord, sph_to_car_psi
schedule RotatingDBHIVP_ParamCheck at PARAMCHECK
{
LANG: C
} "Check Parameters"
schedule RotatingDBHIVP IN ADMBase_InitialData
{
LANG: Fortran
} "... | ksq_odd.x | o1 = mm**2
o2 = 5.0000000000000d1*o1
o3 = -8.0000000000000d1 + o2
o4 = 1/o3
o5 = 2.00000000000000d0*qgrd(j)
o6 = cos(o5)
o7 = 5.0000000000000d0*o6
o8 = 3.00000000000000d0 + o7
o9 = dnnnnngtil
o10 = mm*phigrd(k)
o11 = sin(o10)
... | |
EinsteinInitialData/RotatingDBHIVP | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Interface definition for thorn RotatingDBHIVP
# $Header$
implements: rotatingdbhivp
inherits: ADMBase grid StaticConformal
private:
real sph_to_car_coord TYPE=GF
{
eta,
abseta,
sign_eta,
q,
phi
} "coordinate"
real sph_to_car_psi TYPE=GF
{
psi3d,
detapsi3d,
dqpsi3d,
dphipsi3d,
detaetapsi3d,
detaqpsi3d,
detaphipsi3... | # Parameter definitions for thorn RotatingDBHIVP
# $Header$
shares: StaticConformal
USES KEYWORD conformal_storage
shares:ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_lapse
{
"schwarz" :: "Set lapse to Schwarzschild"
}
EXTENDS KEYWORD initial_data
{
"rotatingdbh" :: "Non-Aix BH + Brill Wave IVP"... | # Schedule definitions for thorn RotatingDBHIVP
# $Header$
if (CCTK_Equals(initial_data,"rotatingdbh"))
{
STORAGE: sph_to_car_coord, sph_to_car_psi
schedule RotatingDBHIVP_ParamCheck at PARAMCHECK
{
LANG: C
} "Check Parameters"
schedule RotatingDBHIVP IN ADMBase_InitialData
{
LANG: Fortran
} "... | kij_odd.x | o1 = mm**2
o2 = 5.0000000000000d1*o1
o3 = -8.0000000000000d1 + o2
o4 = 1/o3
o5 = 2.00000000000000d0*q(i,j,k)
o6 = cos(o5)
o7 = 5.0000000000000d0*o6
o8 = 3.00000000000000d0 + o7
o9 = dnnnnngtil
o10 = dnnngtil
o11 = -2.60000000000000d... | |
EinsteinInitialData/RotatingDBHIVP | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Interface definition for thorn RotatingDBHIVP
# $Header$
implements: rotatingdbhivp
inherits: ADMBase grid StaticConformal
private:
real sph_to_car_coord TYPE=GF
{
eta,
abseta,
sign_eta,
q,
phi
} "coordinate"
real sph_to_car_psi TYPE=GF
{
psi3d,
detapsi3d,
dqpsi3d,
dphipsi3d,
detaetapsi3d,
detaqpsi3d,
detaphipsi3... | # Parameter definitions for thorn RotatingDBHIVP
# $Header$
shares: StaticConformal
USES KEYWORD conformal_storage
shares:ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_lapse
{
"schwarz" :: "Set lapse to Schwarzschild"
}
EXTENDS KEYWORD initial_data
{
"rotatingdbh" :: "Non-Aix BH + Brill Wave IVP"... | # Schedule definitions for thorn RotatingDBHIVP
# $Header$
if (CCTK_Equals(initial_data,"rotatingdbh"))
{
STORAGE: sph_to_car_coord, sph_to_car_psi
schedule RotatingDBHIVP_ParamCheck at PARAMCHECK
{
LANG: C
} "Check Parameters"
schedule RotatingDBHIVP IN ADMBase_InitialData
{
LANG: Fortran
} "... | Stab3d.F | subroutine rbicgst3d(cc,ce,cw,cn,cs,ct,cb,u,rhs,
& eps,rmax,ier,im,jm,km)
c
c This routine was lifted from stab.f. Minor modifications have
c been made.
c
implicit none
c
integer,intent(in) :: im,jm,km
real*8,intent(inout) :: cc(im,jm,km),cn(im,jm,km),cs(im,jm,km),
$ ce... | |
EinsteinInitialData/RotatingDBHIVP | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Interface definition for thorn RotatingDBHIVP
# $Header$
implements: rotatingdbhivp
inherits: ADMBase grid StaticConformal
private:
real sph_to_car_coord TYPE=GF
{
eta,
abseta,
sign_eta,
q,
phi
} "coordinate"
real sph_to_car_psi TYPE=GF
{
psi3d,
detapsi3d,
dqpsi3d,
dphipsi3d,
detaetapsi3d,
detaqpsi3d,
detaphipsi3... | # Parameter definitions for thorn RotatingDBHIVP
# $Header$
shares: StaticConformal
USES KEYWORD conformal_storage
shares:ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_lapse
{
"schwarz" :: "Set lapse to Schwarzschild"
}
EXTENDS KEYWORD initial_data
{
"rotatingdbh" :: "Non-Aix BH + Brill Wave IVP"... | # Schedule definitions for thorn RotatingDBHIVP
# $Header$
if (CCTK_Equals(initial_data,"rotatingdbh"))
{
STORAGE: sph_to_car_coord, sph_to_car_psi
schedule RotatingDBHIVP_ParamCheck at PARAMCHECK
{
LANG: C
} "Check Parameters"
schedule RotatingDBHIVP IN ADMBase_InitialData
{
LANG: Fortran
} "... | ksq2d_odd.x | o1 = cos(q)
o2 = 1.
o3 = o2**2
o4 = 1/o3
o5 = sin(q)
o6 = 2.00000000000000d0 + 3.0d0
o7 = o5**2
o8 = -(o6*o7)
o9 = 1.00000000000000d0 + 3.0d0 + o8
o10 = o3**2
o11 = o10**2
o12 = dngtil**2
o13 = o1**2
o14 = gt... | |
EinsteinInitialData/RotatingDBHIVP | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Interface definition for thorn RotatingDBHIVP
# $Header$
implements: rotatingdbhivp
inherits: ADMBase grid StaticConformal
private:
real sph_to_car_coord TYPE=GF
{
eta,
abseta,
sign_eta,
q,
phi
} "coordinate"
real sph_to_car_psi TYPE=GF
{
psi3d,
detapsi3d,
dqpsi3d,
dphipsi3d,
detaetapsi3d,
detaqpsi3d,
detaphipsi3... | # Parameter definitions for thorn RotatingDBHIVP
# $Header$
shares: StaticConformal
USES KEYWORD conformal_storage
shares:ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_lapse
{
"schwarz" :: "Set lapse to Schwarzschild"
}
EXTENDS KEYWORD initial_data
{
"rotatingdbh" :: "Non-Aix BH + Brill Wave IVP"... | # Schedule definitions for thorn RotatingDBHIVP
# $Header$
if (CCTK_Equals(initial_data,"rotatingdbh"))
{
STORAGE: sph_to_car_coord, sph_to_car_psi
schedule RotatingDBHIVP_ParamCheck at PARAMCHECK
{
LANG: C
} "Check Parameters"
schedule RotatingDBHIVP IN ADMBase_InitialData
{
LANG: Fortran
} "... | psi_1st_deriv.x | o1 = 5.0000000000000d-1*eta(i,j,k)
o2 = exp(o1)
o3 = psi3d(i,j,k)
o4 = 1/o3
o5 = cos(phi(i,j,k))
o6 = cos(q(i,j,k))
o7 = dqpsi3d(i,j,k)
o8 = -1.50000000000000d0*eta(i,j,k)
o9 = exp(o8)
o10 = dphipsi3d(i,j,k)
o11 = sin(phi(i,j,k))
... | |
EinsteinInitialData/RotatingDBHIVP | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Interface definition for thorn RotatingDBHIVP
# $Header$
implements: rotatingdbhivp
inherits: ADMBase grid StaticConformal
private:
real sph_to_car_coord TYPE=GF
{
eta,
abseta,
sign_eta,
q,
phi
} "coordinate"
real sph_to_car_psi TYPE=GF
{
psi3d,
detapsi3d,
dqpsi3d,
dphipsi3d,
detaetapsi3d,
detaqpsi3d,
detaphipsi3... | # Parameter definitions for thorn RotatingDBHIVP
# $Header$
shares: StaticConformal
USES KEYWORD conformal_storage
shares:ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_lapse
{
"schwarz" :: "Set lapse to Schwarzschild"
}
EXTENDS KEYWORD initial_data
{
"rotatingdbh" :: "Non-Aix BH + Brill Wave IVP"... | # Schedule definitions for thorn RotatingDBHIVP
# $Header$
if (CCTK_Equals(initial_data,"rotatingdbh"))
{
STORAGE: sph_to_car_coord, sph_to_car_psi
schedule RotatingDBHIVP_ParamCheck at PARAMCHECK
{
LANG: C
} "Check Parameters"
schedule RotatingDBHIVP IN ADMBase_InitialData
{
LANG: Fortran
} "... | make.code.defn | # Main make.code.defn file for thorn RotatingDBHIVP
# $Header$
# Source files in this directory
SRCS = RotatingDBHIVP.F Stab3d.F ParamCheck.c
# Subdirectories containing source files
SUBDIRS =
| |
EinsteinInitialData/RotatingDBHIVP | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Interface definition for thorn RotatingDBHIVP
# $Header$
implements: rotatingdbhivp
inherits: ADMBase grid StaticConformal
private:
real sph_to_car_coord TYPE=GF
{
eta,
abseta,
sign_eta,
q,
phi
} "coordinate"
real sph_to_car_psi TYPE=GF
{
psi3d,
detapsi3d,
dqpsi3d,
dphipsi3d,
detaetapsi3d,
detaqpsi3d,
detaphipsi3... | # Parameter definitions for thorn RotatingDBHIVP
# $Header$
shares: StaticConformal
USES KEYWORD conformal_storage
shares:ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_lapse
{
"schwarz" :: "Set lapse to Schwarzschild"
}
EXTENDS KEYWORD initial_data
{
"rotatingdbh" :: "Non-Aix BH + Brill Wave IVP"... | # Schedule definitions for thorn RotatingDBHIVP
# $Header$
if (CCTK_Equals(initial_data,"rotatingdbh"))
{
STORAGE: sph_to_car_coord, sph_to_car_psi
schedule RotatingDBHIVP_ParamCheck at PARAMCHECK
{
LANG: C
} "Check Parameters"
schedule RotatingDBHIVP IN ADMBase_InitialData
{
LANG: Fortran
} "... | kij_axi.x | o1 = cos(phi)
o2 = cos(q)
o3 = o2**2
o4 = -3.00000000000000d0*eta
o5 = exp(o4)
o6 = sin(phi)
o7 = sin(q)
o8 = o7**2
o9 = dnnnnngtil
o10 = -3.6000000000000d1*o9
o11 = dnnnnnnngtil
o12 = -4.0000000000000d0*o11*o8
o13 =... | |
EinsteinInitialData/RotatingDBHIVP | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Interface definition for thorn RotatingDBHIVP
# $Header$
implements: rotatingdbhivp
inherits: ADMBase grid StaticConformal
private:
real sph_to_car_coord TYPE=GF
{
eta,
abseta,
sign_eta,
q,
phi
} "coordinate"
real sph_to_car_psi TYPE=GF
{
psi3d,
detapsi3d,
dqpsi3d,
dphipsi3d,
detaetapsi3d,
detaqpsi3d,
detaphipsi3... | # Parameter definitions for thorn RotatingDBHIVP
# $Header$
shares: StaticConformal
USES KEYWORD conformal_storage
shares:ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_lapse
{
"schwarz" :: "Set lapse to Schwarzschild"
}
EXTENDS KEYWORD initial_data
{
"rotatingdbh" :: "Non-Aix BH + Brill Wave IVP"... | # Schedule definitions for thorn RotatingDBHIVP
# $Header$
if (CCTK_Equals(initial_data,"rotatingdbh"))
{
STORAGE: sph_to_car_coord, sph_to_car_psi
schedule RotatingDBHIVP_ParamCheck at PARAMCHECK
{
LANG: C
} "Check Parameters"
schedule RotatingDBHIVP IN ADMBase_InitialData
{
LANG: Fortran
} "... | cgauss.x | gtil = amp*(exp(-((-eta0 + eta(i,j,k))**2/sigma**2)) + exp(-((eta0 +
& eta(i,j,k))**2/sigma**2)))
dngtil = amp*((-2.00000000000000d0*(-eta0 + eta(i,j,k))*exp(-((-eta0
& + eta(i,j,k))**2/sigma**2)))/sigma**2 - (2.00000000000000d0*(eta0 +
& eta(i,j,k))*exp(-((eta0 + eta(i,j,k))**2/sig... | |
EinsteinInitialData/RotatingDBHIVP | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Interface definition for thorn RotatingDBHIVP
# $Header$
implements: rotatingdbhivp
inherits: ADMBase grid StaticConformal
private:
real sph_to_car_coord TYPE=GF
{
eta,
abseta,
sign_eta,
q,
phi
} "coordinate"
real sph_to_car_psi TYPE=GF
{
psi3d,
detapsi3d,
dqpsi3d,
dphipsi3d,
detaetapsi3d,
detaqpsi3d,
detaphipsi3... | # Parameter definitions for thorn RotatingDBHIVP
# $Header$
shares: StaticConformal
USES KEYWORD conformal_storage
shares:ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_lapse
{
"schwarz" :: "Set lapse to Schwarzschild"
}
EXTENDS KEYWORD initial_data
{
"rotatingdbh" :: "Non-Aix BH + Brill Wave IVP"... | # Schedule definitions for thorn RotatingDBHIVP
# $Header$
if (CCTK_Equals(initial_data,"rotatingdbh"))
{
STORAGE: sph_to_car_coord, sph_to_car_psi
schedule RotatingDBHIVP_ParamCheck at PARAMCHECK
{
LANG: C
} "Check Parameters"
schedule RotatingDBHIVP IN ADMBase_InitialData
{
LANG: Fortran
} "... | ksq_axi.x | o1 = cos(q)
o2 = 2.00000000000000d0*q
o3 = cos(o2)
o4 = dnnnnngtil
o5 = sin(q)
o6 = o5**2
o7 = o5*o6
o8 = dnnngtil
o9 = dngtil
o10 = dnnnnnnngtil
o11 = o6**2
o12 = 4.0000000000000d0*q
o13 = cos(o12)
o14 = dnn... | |
EinsteinInitialData/TOVSolver | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn TOVSolver
REQUIRES THORNS: Boundary CartGrid3D SpaceMask
| # Interface definition for thorn TOVSolver
implements: TOVSolver
inherits: ADMBase, HydroBase, Constants, StaticConformal
USES INCLUDE: constants.h
public:
CCTK_INT FUNCTION Set_Rho_ADM( \
CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN size, \
CCTK_REAL ARRAY ... | # Parameter definitions for thorn TOVSolver
CCTK_INT TOV_Num_TOVs "The number of TOVs"
{
1:* :: "Greater than 0"
} 1
CCTK_INT TOV_Solve_for_TOVs "Solve for TOVs even if no TOV initial data was requested?"
{
0:3 :: "depreciated in favour of TOVSolver::TOV_Enforce_Interpolation"
} 3
BOOLEAN TOV_Enforce_Interpolati... | # Schedule definitions for thorn TOVSolver
schedule TOV_C_ParamCheck AT PARAMCHECK
{
LANG: C
OPTIONS: GLOBAL
} "Check parameters"
schedule TOV_C_AllocateMemory AT WRAGH
{
LANG: C
OPTIONS: GLOBAL
} "Allocate memory for TOVSolver_C"
if (!TOV_fake_evolution)
{
schedule TOV_C_FreeMemory AT POSTPOSTINITIAL
{
... | tov.h |
void TOVSolverC_export_local_variables(CCTK_REAL **exported_TOV_press_1d, CCTK_REAL **exported_TOV_m_1d, CCTK_REAL **exported_TOV_phi_1d, CCTK_REAL **exported_TOV_rbar_1d, CCTK_REAL **exported_TOV_r_1d );
|
EinsteinInitialData/TOVSolver | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn TOVSolver
REQUIRES THORNS: Boundary CartGrid3D SpaceMask
| # Interface definition for thorn TOVSolver
implements: TOVSolver
inherits: ADMBase, HydroBase, Constants, StaticConformal
USES INCLUDE: constants.h
public:
CCTK_INT FUNCTION Set_Rho_ADM( \
CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN size, \
CCTK_REAL ARRAY ... | # Parameter definitions for thorn TOVSolver
CCTK_INT TOV_Num_TOVs "The number of TOVs"
{
1:* :: "Greater than 0"
} 1
CCTK_INT TOV_Solve_for_TOVs "Solve for TOVs even if no TOV initial data was requested?"
{
0:3 :: "depreciated in favour of TOVSolver::TOV_Enforce_Interpolation"
} 3
BOOLEAN TOV_Enforce_Interpolati... | # Schedule definitions for thorn TOVSolver
schedule TOV_C_ParamCheck AT PARAMCHECK
{
LANG: C
OPTIONS: GLOBAL
} "Check parameters"
schedule TOV_C_AllocateMemory AT WRAGH
{
LANG: C
OPTIONS: GLOBAL
} "Allocate memory for TOVSolver_C"
if (!TOV_fake_evolution)
{
schedule TOV_C_FreeMemory AT POSTPOSTINITIAL
{
... | external.inc |
/* for debug output the location of the points */
void TOV_debug_input_points(CCTK_INT size,
const CCTK_REAL *x,
const CCTK_REAL *y,
const CCTK_REAL *z);
void TOV_debug_input_points(CCTK_INT size,
const CCTK_REAL *x,
... |
EinsteinInitialData/TOVSolver | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn TOVSolver
REQUIRES THORNS: Boundary CartGrid3D SpaceMask
| # Interface definition for thorn TOVSolver
implements: TOVSolver
inherits: ADMBase, HydroBase, Constants, StaticConformal
USES INCLUDE: constants.h
public:
CCTK_INT FUNCTION Set_Rho_ADM( \
CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN size, \
CCTK_REAL ARRAY ... | # Parameter definitions for thorn TOVSolver
CCTK_INT TOV_Num_TOVs "The number of TOVs"
{
1:* :: "Greater than 0"
} 1
CCTK_INT TOV_Solve_for_TOVs "Solve for TOVs even if no TOV initial data was requested?"
{
0:3 :: "depreciated in favour of TOVSolver::TOV_Enforce_Interpolation"
} 3
BOOLEAN TOV_Enforce_Interpolati... | # Schedule definitions for thorn TOVSolver
schedule TOV_C_ParamCheck AT PARAMCHECK
{
LANG: C
OPTIONS: GLOBAL
} "Check parameters"
schedule TOV_C_AllocateMemory AT WRAGH
{
LANG: C
OPTIONS: GLOBAL
} "Allocate memory for TOVSolver_C"
if (!TOV_fake_evolution)
{
schedule TOV_C_FreeMemory AT POSTPOSTINITIAL
{
... | tov.c | /* file tov.c
* author Frank Loeffler, converted from fortran thorn by Ian Hawke
* date 2002/10/21
* desc TOV initial data
*/
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <assert.h>
#include <cctk.h>
#include <cctk_Arguments.h>
#include <cctk_Parameters.h>
#include "constants.h"
#... |
EinsteinInitialData/TOVSolver | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn TOVSolver
REQUIRES THORNS: Boundary CartGrid3D SpaceMask
| # Interface definition for thorn TOVSolver
implements: TOVSolver
inherits: ADMBase, HydroBase, Constants, StaticConformal
USES INCLUDE: constants.h
public:
CCTK_INT FUNCTION Set_Rho_ADM( \
CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN size, \
CCTK_REAL ARRAY ... | # Parameter definitions for thorn TOVSolver
CCTK_INT TOV_Num_TOVs "The number of TOVs"
{
1:* :: "Greater than 0"
} 1
CCTK_INT TOV_Solve_for_TOVs "Solve for TOVs even if no TOV initial data was requested?"
{
0:3 :: "depreciated in favour of TOVSolver::TOV_Enforce_Interpolation"
} 3
BOOLEAN TOV_Enforce_Interpolati... | # Schedule definitions for thorn TOVSolver
schedule TOV_C_ParamCheck AT PARAMCHECK
{
LANG: C
OPTIONS: GLOBAL
} "Check parameters"
schedule TOV_C_AllocateMemory AT WRAGH
{
LANG: C
OPTIONS: GLOBAL
} "Allocate memory for TOVSolver_C"
if (!TOV_fake_evolution)
{
schedule TOV_C_FreeMemory AT POSTPOSTINITIAL
{
... | make.code.defn | # Main make.code.defn file for thorn TOVSolverC
# Source files in this directory
SRCS = tov.c
# Subdirectories containing source files
SUBDIRS =
|
EinsteinInitialData/TOVSolver | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn TOVSolver
REQUIRES THORNS: Boundary CartGrid3D SpaceMask
| # Interface definition for thorn TOVSolver
implements: TOVSolver
inherits: ADMBase, HydroBase, Constants, StaticConformal
USES INCLUDE: constants.h
public:
CCTK_INT FUNCTION Set_Rho_ADM( \
CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN size, \
CCTK_REAL ARRAY ... | # Parameter definitions for thorn TOVSolver
CCTK_INT TOV_Num_TOVs "The number of TOVs"
{
1:* :: "Greater than 0"
} 1
CCTK_INT TOV_Solve_for_TOVs "Solve for TOVs even if no TOV initial data was requested?"
{
0:3 :: "depreciated in favour of TOVSolver::TOV_Enforce_Interpolation"
} 3
BOOLEAN TOV_Enforce_Interpolati... | # Schedule definitions for thorn TOVSolver
schedule TOV_C_ParamCheck AT PARAMCHECK
{
LANG: C
OPTIONS: GLOBAL
} "Check parameters"
schedule TOV_C_AllocateMemory AT WRAGH
{
LANG: C
OPTIONS: GLOBAL
} "Allocate memory for TOVSolver_C"
if (!TOV_fake_evolution)
{
schedule TOV_C_FreeMemory AT POSTPOSTINITIAL
{
... | utils.inc |
void TOV_C_AllocateMemory(CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;
assert(TOV_Surface==0);
assert(TOV_R_Surface==0);
assert(TOV_RProp_Surface==0);
assert(TOV_r_1d==0);
assert(TOV_rbar_1d==0);
assert(TOV_press_1d==0);
assert(TOV_phi_1d==0);
assert(TOV_m_1d==0);
assert(T... |
EinsteinInitialData/TOVSolver | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn TOVSolver
REQUIRES THORNS: Boundary CartGrid3D SpaceMask
| # Interface definition for thorn TOVSolver
implements: TOVSolver
inherits: ADMBase, HydroBase, Constants, StaticConformal
USES INCLUDE: constants.h
public:
CCTK_INT FUNCTION Set_Rho_ADM( \
CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN size, \
CCTK_REAL ARRAY ... | # Parameter definitions for thorn TOVSolver
CCTK_INT TOV_Num_TOVs "The number of TOVs"
{
1:* :: "Greater than 0"
} 1
CCTK_INT TOV_Solve_for_TOVs "Solve for TOVs even if no TOV initial data was requested?"
{
0:3 :: "depreciated in favour of TOVSolver::TOV_Enforce_Interpolation"
} 3
BOOLEAN TOV_Enforce_Interpolati... | # Schedule definitions for thorn TOVSolver
schedule TOV_C_ParamCheck AT PARAMCHECK
{
LANG: C
OPTIONS: GLOBAL
} "Check parameters"
schedule TOV_C_AllocateMemory AT WRAGH
{
LANG: C
OPTIONS: GLOBAL
} "Allocate memory for TOVSolver_C"
if (!TOV_fake_evolution)
{
schedule TOV_C_FreeMemory AT POSTPOSTINITIAL
{
... | make.code.deps | tov.o: utils.inc external.inc
|
EinsteinInitialData/TOVSolver | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn TOVSolver
REQUIRES THORNS: Boundary CartGrid3D SpaceMask
| # Interface definition for thorn TOVSolver
implements: TOVSolver
inherits: ADMBase, HydroBase, Constants, StaticConformal
USES INCLUDE: constants.h
public:
CCTK_INT FUNCTION Set_Rho_ADM( \
CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN size, \
CCTK_REAL ARRAY ... | # Parameter definitions for thorn TOVSolver
CCTK_INT TOV_Num_TOVs "The number of TOVs"
{
1:* :: "Greater than 0"
} 1
CCTK_INT TOV_Solve_for_TOVs "Solve for TOVs even if no TOV initial data was requested?"
{
0:3 :: "depreciated in favour of TOVSolver::TOV_Enforce_Interpolation"
} 3
BOOLEAN TOV_Enforce_Interpolati... | # Schedule definitions for thorn TOVSolver
schedule TOV_C_ParamCheck AT PARAMCHECK
{
LANG: C
OPTIONS: GLOBAL
} "Check parameters"
schedule TOV_C_AllocateMemory AT WRAGH
{
LANG: C
OPTIONS: GLOBAL
} "Allocate memory for TOVSolver_C"
if (!TOV_fake_evolution)
{
schedule TOV_C_FreeMemory AT POSTPOSTINITIAL
{
... | util/mode_spectrum.py | #!/usr/bin/python
# -*- coding: utf-8 -*-
# © Frank Löffler <knarf@cct.lsu.edu>
# License: GPLv2+
# Compute power spectral density of given data
from plot_defaults import *
from matplotlib.mlab import detrend_linear
xlim = (0,10)
ylim = (-140,-100)
# load data
Fx, Fy = np.loadtxt("hydrobase::rho.maximum.asc.bz2", c... |
EinsteinInitialData/TwoPunctures | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn TwoPunctures
REQUIRES GSL
| # Interface definition for thorn TwoPunctures
IMPLEMENTS: TwoPunctures
INHERITS: ADMBase StaticConformal grid
REAL puncture_u TYPE=gf tags='prolongation="none"'
CCTK_INT FUNCTION Set_Rho_ADM( \
CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN size, \
CCTK_REAL ARR... | # Parameter definitions for thorn TwoPunctures
SHARES: ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_data
{
"twopunctures" :: "two puncture black holes"
}
EXTENDS KEYWORD initial_lapse
{
"twopunctures-antisymmetric" :: "antisymmetric lapse for two puncture black holes, -1 <= alpha <= +1"
"twopunc... | # Schedule definitions for thorn TwoPunctures
if (CCTK_Equals(initial_data, "twopunctures"))
{
STORAGE: energy, angular_momentum, puncture_adm_mass
if (keep_u_around) {
STORAGE: puncture_u bare_mass
}
SCHEDULE TwoPunctures_ParamCheck AT PARAMCHECK
{
LANG: C
} "Check parameters and thorn needs"
... | ParamCheck.c | /* TwoPunctures: File "TwoPunctures.c"*/
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <ctype.h>
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Parameters.h"
#include "TP_utilities.h"
#include "TwoPunctures.h"
/* -----------------------------... |
EinsteinInitialData/TwoPunctures | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn TwoPunctures
REQUIRES GSL
| # Interface definition for thorn TwoPunctures
IMPLEMENTS: TwoPunctures
INHERITS: ADMBase StaticConformal grid
REAL puncture_u TYPE=gf tags='prolongation="none"'
CCTK_INT FUNCTION Set_Rho_ADM( \
CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN size, \
CCTK_REAL ARR... | # Parameter definitions for thorn TwoPunctures
SHARES: ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_data
{
"twopunctures" :: "two puncture black holes"
}
EXTENDS KEYWORD initial_lapse
{
"twopunctures-antisymmetric" :: "antisymmetric lapse for two puncture black holes, -1 <= alpha <= +1"
"twopunc... | # Schedule definitions for thorn TwoPunctures
if (CCTK_Equals(initial_data, "twopunctures"))
{
STORAGE: energy, angular_momentum, puncture_adm_mass
if (keep_u_around) {
STORAGE: puncture_u bare_mass
}
SCHEDULE TwoPunctures_ParamCheck AT PARAMCHECK
{
LANG: C
} "Check parameters and thorn needs"
... | TwoPunctures.h | /* TwoPunctures: File "TwoPunctures.h"*/
#define StencilSize 19
#define N_PlaneRelax 1
#define NRELAX 200
#define Step_Relax 1
typedef struct DERIVS
{
CCTK_REAL *d0, *d1, *d2, *d3, *d11, *d12, *d13, *d22, *d23, *d33;
} derivs;
/*
Files of "TwoPunctures":
TwoPunctures.c
FuncAndJacobian.c
CoordTransf.c
Equatio... |
EinsteinInitialData/TwoPunctures | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn TwoPunctures
REQUIRES GSL
| # Interface definition for thorn TwoPunctures
IMPLEMENTS: TwoPunctures
INHERITS: ADMBase StaticConformal grid
REAL puncture_u TYPE=gf tags='prolongation="none"'
CCTK_INT FUNCTION Set_Rho_ADM( \
CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN size, \
CCTK_REAL ARR... | # Parameter definitions for thorn TwoPunctures
SHARES: ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_data
{
"twopunctures" :: "two puncture black holes"
}
EXTENDS KEYWORD initial_lapse
{
"twopunctures-antisymmetric" :: "antisymmetric lapse for two puncture black holes, -1 <= alpha <= +1"
"twopunc... | # Schedule definitions for thorn TwoPunctures
if (CCTK_Equals(initial_data, "twopunctures"))
{
STORAGE: energy, angular_momentum, puncture_adm_mass
if (keep_u_around) {
STORAGE: puncture_u bare_mass
}
SCHEDULE TwoPunctures_ParamCheck AT PARAMCHECK
{
LANG: C
} "Check parameters and thorn needs"
... | Newton.c | /* TwoPunctures: File "Newton.c"*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <ctype.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_linalg.h>
#include "cctk_Parameters.h"
#include "TP_utilities.h"
#include "TwoPunctures.h"
static int
bicgstab (CCTK_POINTER_TO_CONST const... |
EinsteinInitialData/TwoPunctures | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn TwoPunctures
REQUIRES GSL
| # Interface definition for thorn TwoPunctures
IMPLEMENTS: TwoPunctures
INHERITS: ADMBase StaticConformal grid
REAL puncture_u TYPE=gf tags='prolongation="none"'
CCTK_INT FUNCTION Set_Rho_ADM( \
CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN size, \
CCTK_REAL ARR... | # Parameter definitions for thorn TwoPunctures
SHARES: ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_data
{
"twopunctures" :: "two puncture black holes"
}
EXTENDS KEYWORD initial_lapse
{
"twopunctures-antisymmetric" :: "antisymmetric lapse for two puncture black holes, -1 <= alpha <= +1"
"twopunc... | # Schedule definitions for thorn TwoPunctures
if (CCTK_Equals(initial_data, "twopunctures"))
{
STORAGE: energy, angular_momentum, puncture_adm_mass
if (keep_u_around) {
STORAGE: puncture_u bare_mass
}
SCHEDULE TwoPunctures_ParamCheck AT PARAMCHECK
{
LANG: C
} "Check parameters and thorn needs"
... | TP_utilities.h | /* TwoPunctures: File "utilities.h"*/
#include <math.h>
#include "cctk.h"
#define Pi 3.14159265358979323846264338328
#define Pih 1.57079632679489661923132169164 /* Pi/2*/
#define Piq 0.78539816339744830961566084582 /* Pi/4*/
#define TINY 1.0e-20
#define SWAP(a,b) {temp=(a);(a)=(b);(b)=temp;}
#define nrerror TP_... |
EinsteinInitialData/TwoPunctures | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn TwoPunctures
REQUIRES GSL
| # Interface definition for thorn TwoPunctures
IMPLEMENTS: TwoPunctures
INHERITS: ADMBase StaticConformal grid
REAL puncture_u TYPE=gf tags='prolongation="none"'
CCTK_INT FUNCTION Set_Rho_ADM( \
CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN size, \
CCTK_REAL ARR... | # Parameter definitions for thorn TwoPunctures
SHARES: ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_data
{
"twopunctures" :: "two puncture black holes"
}
EXTENDS KEYWORD initial_lapse
{
"twopunctures-antisymmetric" :: "antisymmetric lapse for two puncture black holes, -1 <= alpha <= +1"
"twopunc... | # Schedule definitions for thorn TwoPunctures
if (CCTK_Equals(initial_data, "twopunctures"))
{
STORAGE: energy, angular_momentum, puncture_adm_mass
if (keep_u_around) {
STORAGE: puncture_u bare_mass
}
SCHEDULE TwoPunctures_ParamCheck AT PARAMCHECK
{
LANG: C
} "Check parameters and thorn needs"
... | Equations.c | /* TwoPunctures: File "Equations.c"*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <ctype.h>
#include "cctk_Parameters.h"
#include "TP_utilities.h"
#include "TwoPunctures.h"
/* U.d0[ivar] = U[ivar]; (ivar = 0..nvar-1) */
/* U.d1[ivar] = U[ivar]_x; */
/* U.d2[ivar] = ... |
EinsteinInitialData/TwoPunctures | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn TwoPunctures
REQUIRES GSL
| # Interface definition for thorn TwoPunctures
IMPLEMENTS: TwoPunctures
INHERITS: ADMBase StaticConformal grid
REAL puncture_u TYPE=gf tags='prolongation="none"'
CCTK_INT FUNCTION Set_Rho_ADM( \
CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN size, \
CCTK_REAL ARR... | # Parameter definitions for thorn TwoPunctures
SHARES: ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_data
{
"twopunctures" :: "two puncture black holes"
}
EXTENDS KEYWORD initial_lapse
{
"twopunctures-antisymmetric" :: "antisymmetric lapse for two puncture black holes, -1 <= alpha <= +1"
"twopunc... | # Schedule definitions for thorn TwoPunctures
if (CCTK_Equals(initial_data, "twopunctures"))
{
STORAGE: energy, angular_momentum, puncture_adm_mass
if (keep_u_around) {
STORAGE: puncture_u bare_mass
}
SCHEDULE TwoPunctures_ParamCheck AT PARAMCHECK
{
LANG: C
} "Check parameters and thorn needs"
... | make.code.defn | # Main make.code.defn file for thorn TwoPunctures
# Source files in this directory
SRCS = CoordTransf.c Equations.c FuncAndJacobian.c Newton.c TwoPunctures.c TP_utilities.c ParamCheck.c Metadata.cc
# Subdirectories containing source files
SUBDIRS =
|
EinsteinInitialData/TwoPunctures | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn TwoPunctures
REQUIRES GSL
| # Interface definition for thorn TwoPunctures
IMPLEMENTS: TwoPunctures
INHERITS: ADMBase StaticConformal grid
REAL puncture_u TYPE=gf tags='prolongation="none"'
CCTK_INT FUNCTION Set_Rho_ADM( \
CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN size, \
CCTK_REAL ARR... | # Parameter definitions for thorn TwoPunctures
SHARES: ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_data
{
"twopunctures" :: "two puncture black holes"
}
EXTENDS KEYWORD initial_lapse
{
"twopunctures-antisymmetric" :: "antisymmetric lapse for two puncture black holes, -1 <= alpha <= +1"
"twopunc... | # Schedule definitions for thorn TwoPunctures
if (CCTK_Equals(initial_data, "twopunctures"))
{
STORAGE: energy, angular_momentum, puncture_adm_mass
if (keep_u_around) {
STORAGE: puncture_u bare_mass
}
SCHEDULE TwoPunctures_ParamCheck AT PARAMCHECK
{
LANG: C
} "Check parameters and thorn needs"
... | TwoPunctures.c | /* TwoPunctures: File "TwoPunctures.c"*/
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <ctype.h>
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Parameters.h"
#include "TP_utilities.h"
#include "TwoPunctures.h"
/* Swap two variables */
stati... |
EinsteinInitialData/TwoPunctures | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn TwoPunctures
REQUIRES GSL
| # Interface definition for thorn TwoPunctures
IMPLEMENTS: TwoPunctures
INHERITS: ADMBase StaticConformal grid
REAL puncture_u TYPE=gf tags='prolongation="none"'
CCTK_INT FUNCTION Set_Rho_ADM( \
CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN size, \
CCTK_REAL ARR... | # Parameter definitions for thorn TwoPunctures
SHARES: ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_data
{
"twopunctures" :: "two puncture black holes"
}
EXTENDS KEYWORD initial_lapse
{
"twopunctures-antisymmetric" :: "antisymmetric lapse for two puncture black holes, -1 <= alpha <= +1"
"twopunc... | # Schedule definitions for thorn TwoPunctures
if (CCTK_Equals(initial_data, "twopunctures"))
{
STORAGE: energy, angular_momentum, puncture_adm_mass
if (keep_u_around) {
STORAGE: puncture_u bare_mass
}
SCHEDULE TwoPunctures_ParamCheck AT PARAMCHECK
{
LANG: C
} "Check parameters and thorn needs"
... | TP_utilities.c | /* TwoPunctures: File "utilities.c"*/
#include <math.h>
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <assert.h>
#include "TP_utilities.h"
#include "cctk_Functions.h"
/*---------------------------------------------------------------------------*/
int *
ivector (long nl, long nh)
/* allocate a... |
EinsteinInitialData/TwoPunctures | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn TwoPunctures
REQUIRES GSL
| # Interface definition for thorn TwoPunctures
IMPLEMENTS: TwoPunctures
INHERITS: ADMBase StaticConformal grid
REAL puncture_u TYPE=gf tags='prolongation="none"'
CCTK_INT FUNCTION Set_Rho_ADM( \
CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN size, \
CCTK_REAL ARR... | # Parameter definitions for thorn TwoPunctures
SHARES: ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_data
{
"twopunctures" :: "two puncture black holes"
}
EXTENDS KEYWORD initial_lapse
{
"twopunctures-antisymmetric" :: "antisymmetric lapse for two puncture black holes, -1 <= alpha <= +1"
"twopunc... | # Schedule definitions for thorn TwoPunctures
if (CCTK_Equals(initial_data, "twopunctures"))
{
STORAGE: energy, angular_momentum, puncture_adm_mass
if (keep_u_around) {
STORAGE: puncture_u bare_mass
}
SCHEDULE TwoPunctures_ParamCheck AT PARAMCHECK
{
LANG: C
} "Check parameters and thorn needs"
... | FuncAndJacobian.c | /* TwoPunctures: File "FuncAndJacobian.c"*/
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <ctype.h>
#include <time.h>
#include "cctk.h"
#include "cctk_Parameters.h"
#include "TP_utilities.h"
#include "TwoPunctures.h"
#define FAC sin(al)*sin(be)*sin(al)*sin... |
EinsteinInitialData/TwoPunctures | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn TwoPunctures
REQUIRES GSL
| # Interface definition for thorn TwoPunctures
IMPLEMENTS: TwoPunctures
INHERITS: ADMBase StaticConformal grid
REAL puncture_u TYPE=gf tags='prolongation="none"'
CCTK_INT FUNCTION Set_Rho_ADM( \
CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN size, \
CCTK_REAL ARR... | # Parameter definitions for thorn TwoPunctures
SHARES: ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_data
{
"twopunctures" :: "two puncture black holes"
}
EXTENDS KEYWORD initial_lapse
{
"twopunctures-antisymmetric" :: "antisymmetric lapse for two puncture black holes, -1 <= alpha <= +1"
"twopunc... | # Schedule definitions for thorn TwoPunctures
if (CCTK_Equals(initial_data, "twopunctures"))
{
STORAGE: energy, angular_momentum, puncture_adm_mass
if (keep_u_around) {
STORAGE: puncture_u bare_mass
}
SCHEDULE TwoPunctures_ParamCheck AT PARAMCHECK
{
LANG: C
} "Check parameters and thorn needs"
... | CoordTransf.c | /* TwoPunctures: File "CoordTransf.c"*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <ctype.h>
#include <time.h>
#include <gsl/gsl_complex.h>
#include <gsl/gsl_complex_math.h>
#include "cctk_Parameters.h"
#include "TP_utilities.h"
#include "TwoPunctures.h"
/*----------------... |
EinsteinInitialData/TwoPunctures | https://bitbucket.org/einsteintoolkit/einsteininitialdata.git | # Configuration definition for thorn TwoPunctures
REQUIRES GSL
| # Interface definition for thorn TwoPunctures
IMPLEMENTS: TwoPunctures
INHERITS: ADMBase StaticConformal grid
REAL puncture_u TYPE=gf tags='prolongation="none"'
CCTK_INT FUNCTION Set_Rho_ADM( \
CCTK_POINTER_TO_CONST IN cctkGH, \
CCTK_INT IN size, \
CCTK_REAL ARR... | # Parameter definitions for thorn TwoPunctures
SHARES: ADMBase
USES KEYWORD metric_type
EXTENDS KEYWORD initial_data
{
"twopunctures" :: "two puncture black holes"
}
EXTENDS KEYWORD initial_lapse
{
"twopunctures-antisymmetric" :: "antisymmetric lapse for two puncture black holes, -1 <= alpha <= +1"
"twopunc... | # Schedule definitions for thorn TwoPunctures
if (CCTK_Equals(initial_data, "twopunctures"))
{
STORAGE: energy, angular_momentum, puncture_adm_mass
if (keep_u_around) {
STORAGE: puncture_u bare_mass
}
SCHEDULE TwoPunctures_ParamCheck AT PARAMCHECK
{
LANG: C
} "Check parameters and thorn needs"
... | Metadata.cc |
#include <iostream>
#include <fstream>
#include <iomanip>
#include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Parameters.h"
using namespace std;
extern "C"
void TwoPunctures_Metadata (CCTK_ARGUMENTS)
{
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;
if (CCTK_MyProc(cctkGH) == 0)
{
ofstream o;... |
EinsteinUtils/SetMask_SphericalSurface | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Interface definition for thorn SetMask_SphericalSurface
implements: SetMask_SphericalSurface
inherits: HydroBase SphericalSurface
USES INCLUDE: HydroBase.h
# translate SphericalSurface name into ID
CCTK_INT \
FUNCTION sf_IdFromName (CCTK_INT IN id, CCTK_POINTER_TO_CONST IN name)
USES FUNCTION sf_IdFromName
| # Parameter definitions for thorn SetMask_SphericalSurface
STRING SetMask_MaskName "Full variable name of the mask to be set" STEERABLE=always
{
".+" :: "Any full Cactus variable name, GF of type CCTK_BYTE"
} "HydroBase::hydro_excision_mask"
#BOOLEAN SetMask_ResetAll "'yes' (default): Overwrite complete mask, 'no':... | # Schedule definitions for thorn SetMask_SphericalSurface
# we need global loop-local since SphericalSurface_Set and AHFinderDirect run in global mode
schedule SetMask_SphericalSurface AT CCTK_POSTSTEP after SphericalSurface_HasBeenSet before HydroBase_ExcisionHasBeenSet
{
LANG: C
options: global loop-local
} "Set... | SetMask.c | #include "cctk.h"
#include "cctk_Arguments.h"
#include "cctk_Parameters.h"
#include "cctk_Functions.h"
#include "loopcontrol.h"
#include "HydroBase.h"
#include <math.h>
// given a (theta, phi), return minimum radius of spherical shape of all neighboring points on sphere
// This algorithm assumes that the spherical s... | |
EinsteinUtils/SetMask_SphericalSurface | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Interface definition for thorn SetMask_SphericalSurface
implements: SetMask_SphericalSurface
inherits: HydroBase SphericalSurface
USES INCLUDE: HydroBase.h
# translate SphericalSurface name into ID
CCTK_INT \
FUNCTION sf_IdFromName (CCTK_INT IN id, CCTK_POINTER_TO_CONST IN name)
USES FUNCTION sf_IdFromName
| # Parameter definitions for thorn SetMask_SphericalSurface
STRING SetMask_MaskName "Full variable name of the mask to be set" STEERABLE=always
{
".+" :: "Any full Cactus variable name, GF of type CCTK_BYTE"
} "HydroBase::hydro_excision_mask"
#BOOLEAN SetMask_ResetAll "'yes' (default): Overwrite complete mask, 'no':... | # Schedule definitions for thorn SetMask_SphericalSurface
# we need global loop-local since SphericalSurface_Set and AHFinderDirect run in global mode
schedule SetMask_SphericalSurface AT CCTK_POSTSTEP after SphericalSurface_HasBeenSet before HydroBase_ExcisionHasBeenSet
{
LANG: C
options: global loop-local
} "Set... | make.code.defn | # Main make.code.defn file for thorn SetMask_SphericalSurface
# Source files in this directory
SRCS = SetMask.c
# Subdirectories containing source files
SUBDIRS =
| |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| constants.F90 | ! $Header$
#include "cctk.h"
module constants
implicit none
private
public delta1, delta2, delta3, delta4
public eta4
public epsilon1, epsilon2, epsilon3, epsilon4
public pi
CCTK_REAL, parameter :: zero = 0
integer, parameter :: rk = kind(zero)
CCTK_REAL, parameter :: delt... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| derivs2.F90 | ! $Header$
#ifndef TGR_INCLUDED
#include "cctk.h"
#include "cctk_Parameters.h"
module derivs2
implicit none
private
public get_2derivs
public get_2derivs2
public get_2derivs3
contains
#endif
subroutine get_2derivs (a, f, pos, off, dx, order)
CCTK_REAL, intent(in) :: a(*)
CCTK_REAL, int... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| covderivs.F90 | ! $Header$
#include "cctk.h"
module covderivs
implicit none
private
public calc_scalargrad
public calc_covectorgrad
public calc_vectorgrad
public calc_tensorgrad
public calc_scalargradgrad
public calc_covectorgradgrad
public calc_longitudinal
public calc_gradlongitudinal
contains
subrou... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| pointwise2.F90 | ! $Header$
#include "cctk.h"
module pointwise2
!!$ use derivs2
implicit none
private
public calc_2position
public calc_2offsets
public get_2scalar
public get_2vector
public get_2tensor
public set_2scalar
public set_2vector
public set_2tensor
public get_2scalarderivs
public get_2vectorderivs
... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| covderivs2.F90 | ! $Header$
#include "cctk.h"
module covderivs2
implicit none
private
public calc_2scalargrad
public calc_2covectorgrad
public calc_2vectorgrad
public calc_2tensorgrad
public calc_2scalargradgrad
public calc_2covectorgradgrad
public calc_2vectorgradgrad
public calc_2longitudinal
public c... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| ricci2.F90 | ! $Header$
#include "cctk.h"
module ricci2
implicit none
private
public calc_2connections
public calc_2connectionderivs
public calc_2ricci
contains
subroutine calc_2connections (gu, dgg, gamma)
CCTK_REAL, intent(in) :: gu(2,2), dgg(2,2,2)
CCTK_REAL, intent(out) :: gamma(2,2,2)
integer :... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| matexp.F90 | ! $Header$
#include "cctk.h"
module matexp
use constants
implicit none
private
public calc_exp3
contains
subroutine calc_exp3 (h3, g3)
CCTK_REAL, intent(in) :: h3(3,3)
CCTK_REAL, intent(out) :: g3(3,3)
CCTK_REAL :: nfact
CCTK_REAL :: tmp(3,3)
integer :: n
g3 = delta3... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| classify.c | /* $Header$ */
#include <math.h>
#include "cctk.h"
int CCTK_FCALL CCTK_FNAME(TAT_isnan) (const CCTK_REAL * restrict const x)
{
#ifdef HAVE_ISNAN
return isnan(*x);
#else
return 0;
#endif
}
int CCTK_FCALL CCTK_FNAME(TAT_isinf) (const CCTK_REAL * restrict const x)
{
#ifdef HAVE_ISINF
return isinf(*x);
#else
re... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| derivs.F90 | ! $Header$
#ifndef TGR_INCLUDED
#include "cctk.h"
#include "cctk_Parameters.h"
module derivs
implicit none
private
public get_derivs
public get_derivs2
public get_derivs3
contains
#endif
subroutine get_derivs (a, f, pos, off, dx, order)
CCTK_REAL, intent(in) :: a(*)
CCTK_REAL, intent(o... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| ricci4.F90 | ! $Header$
#include "cctk.h"
#undef DEBUG
module ricci4
implicit none
private
public calc_4connections
public calc_4connectionderivs
public calc_4ricci
public calc_4riemann
public calc_4weyl
contains
subroutine calc_4connections (gu, dg, gamma)
CCTK_REAL, intent(in) :: gu(4,4), dg(4,4,4)
... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| adm_metric_simple.F90 | ! $Header$
#include "cctk.h"
module adm_metric_simple
! This module assumes that alpha=1 and beta^i=0
use constants
use tensor
implicit none
private
public calc_4metric_simple
public calc_4metricderivs_simple
public calc_4metricderivs2_simple
public calc_3metric_simple
public calc_3metricder... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| matinv.F90 | ! $Header$
#include "cctk.h"
module matinv
use constants
use lapack
implicit none
private
integer, parameter :: lik = lapack_integer_kind
public calc_inv2
public calc_posinv3
public calc_syminv3
public calc_inv3
public calc_syminv4
public calc_inv4
contains
subroutine calc_inv2... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| tensor.F90 | ! $Header$
#include "cctk.h"
module tensor
implicit none
private
public calc_trace
public calc_det
public calc_detderiv
public calc_detdot
public calc_inv
public calc_invderiv
public calc_invderiv2
public calc_invdot
contains
subroutine calc_trace (kk, gu, trk)
CCTK_REAL, inte... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| adm_metric.F90 | ! $Header$
#include "cctk.h"
module adm_metric
use constants
use tensor
implicit none
private
public calc_4metric
public calc_4metricderivs
public calc_4metricderivs2
public calc_3metric
public calc_3metricderivs
public calc_extcurv
public calc_3metricdot
public calc_3metricderivdot
!!$ pu... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| conversion.F90 | ! $Header$
#include "cctk.h"
module conversion
implicit none
private
public make_cylindrical2cartesian
public make_spherical2cartesian
public make_cartesian2spherical
contains
subroutine make_cylindrical2cartesian (xx, tt)
CCTK_REAL, intent(in) :: xx(3)
CCTK_REAL, intent(out) :: tt(3,3)
... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| make.code.defn | # Main make.code.defn file for thorn TGRtensor -*-Makefile-*-
# $Header$
# Source files in this directory
SRCS = adm_metric.F90 \
adm_metric_simple.F90 \
cactus.F90 \
classify.c \
classify.F90 \
constants.F90 \
conversion.F90 \
covderivs.F90 \
covderivs2.F90 \
derivs.F90 \
deri... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| rotation.F90 | ! $Header$
#include "cctk.h"
module rotation
use constants
implicit none
private
public make_euler
contains
subroutine make_euler1 (phi, tt)
CCTK_REAL, intent(in) :: phi
CCTK_REAL, intent(out) :: tt(0:3,0:3)
! y^a = T^a_b x^b
tt = delta4
tt(1,1) = cos(phi)
tt(1,2) = -sin(p... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| timederivs.F90 | ! $Header$
#include "cctk.h"
module timederivs
implicit none
private
public abs2
public timederiv
public timederiv2
public timederiv_uneven
public timederiv2_uneven
public operator(.outer.)
public operator(.dot.)
interface timederiv
module procedure rtimederiv
end interface
interfac... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| gram_schmidt.F90 | ! $Header$
#include "cctk.h"
module gram_schmidt
implicit none
private
public gram_schmidt_project4
public gram_schmidt_normalise4
contains
subroutine gram_schmidt_project4 (g, y, dy, ddy, y2, x, dx, ddx)
CCTK_REAL, intent(in) :: g(0:3,0:3)
CCTK_REAL, intent(in) :: y(0:3), dy(0:3,0:3), d... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| matdet.F90 | ! $Header$
#include "cctk.h"
module matdet
use lapack
implicit none
private
integer, parameter :: lik = lapack_integer_kind
public calc_symdet3
public calc_det3
public calc_symdet4
contains
subroutine calc_symdet3 (gg, dtg, lerr)
CCTK_REAL, intent(in) :: gg(3,3)
CCTK_... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| tensor4.F90 | ! $Header$
#include "cctk.h"
module tensor4
use matinv
implicit none
private
public calc_4trace
public calc_4inv
public calc_4invderiv
contains
subroutine calc_4trace (kk, gu, trk)
CCTK_REAL, intent(in) :: kk(0:3,0:3)
CCTK_REAL, intent(in) :: gu(0:3,0:3)
CCTK_REAL, intent(out) ... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| cactus.F90 | ! $Header$
#include "cctk.h"
module cactus
implicit none
public
external cctk_pointerto
CCTK_POINTER cctk_pointerto
interface
! from Cactus:
subroutine cctk_barrier (ierr, cctkgh)
implicit none
integer ierr
CCTK_POINTER cctkgh
end subroutine cct... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| pointwise.F90 | ! $Header$
#include "cctk.h"
module pointwise
!!$ use derivs
implicit none
private
public calc_position
public calc_offsets
public get_scalar
public get_vector
public get_tensor
public get_connections
public set_scalar
public set_vector
public set_tensor
public set_connections
public get_sc... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| ricci.F90 | ! $Header$
#include "cctk.h"
#undef DEBUG
module ricci
implicit none
private
public calc_connections
public calc_connectionderivs
public calc_connectionderivs2
public calc_ricci
public calc_ricciderivs
contains
subroutine calc_connections (gu, dgg, gamma)
CCTK_REAL, intent(in) :: gu(3,3), ... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| tensor2.F90 | ! $Header$
#include "cctk.h"
module tensor2
implicit none
private
public calc_2trace
public calc_2det
public calc_2detderiv
public calc_2detdot
public calc_2inv
public calc_2invderiv
public calc_2invdot
contains
subroutine calc_2trace (kk, gu, trk)
CCTK_REAL, intent(in) :: kk(2... |
EinsteinUtils/TGRtensor | https://bitbucket.org/einsteintoolkit/einsteinutils.git | # Configuration definition for thorn TGRtensor
# $Header$
PROVIDES TGRtensor
{
}
REQUIRES LAPACK
| # Interface definition for thorn TGRtensor
# $Header$
IMPLEMENTS: TGRtensor
| # Parameter definitions for thorn TGRtensor
# $Header$
| # Schedule definitions for thorn TGRtensor
# $Header$
| classify.F90 | ! $Header$
#include "cctk.h"
module classify
implicit none
interface
elemental integer function TAT_isnan (x)
implicit none
CCTK_REAL, intent(in) :: x
end function TAT_isnan
end interface
interface
elemental integer function TAT_isinf (x)
implicit none
CCTK_REA... |
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... | UnusedMask.cc | #include <cctk.h>
#include <cctk_Arguments.h>
#include <cctk_Parameters.h>
#include <carpet.hh>
#include <loopcontrol.h>
namespace Carpet {
using namespace std;
void CarpetUnusedMask(CCTK_ARGUMENTS) {
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;
dh const &dd = *vdd.AT(map);
ibbox const &ext =
dd... |
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... | Restrict.cc | #include <cassert>
#include <cmath>
#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;
// restricts a set of groups
static void RestrictGroups(const cGH *... |
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... | Doxygen.hh | /**
\file
\mainpage
\author Erik Schnetter
\date August, 2010
http://www.carpetcode.org
%Carpet is a parallel AMR (adaptive mesh refinement) driver with MPI
for Cactus. This documentation is for developers of %Carpet (users
of %Carpet should instead see the User Documentation obtained by
... |
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... | Initialise.cc | #include <cassert>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <string>
#include <sstream>
#include <fstream>
#include <cctk.h>
#include <cctk_Parameters.h>
#include <cctki_GHExtensions.h>
#include <cctki_ScheduleBindings.h>
#include <cctki_WarnLevel.h>
#include <Requirements.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... | carpet_public.hh | #ifndef CARPET_PUBLIC_HH
#define CARPET_PUBLIC_HH
// Stuff with C linkage
#include "carpet_public.h"
// Other declarations
#include "functions.hh"
#include "modes.hh"
#include "variables.hh"
#endif // !defined(CARPET_PUBLIC_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... | CarpetParamCheck.cc | #include <cassert>
#include <cstdlib>
#include <cctk.h>
#include <cctk_Arguments.h>
#include <cctk_Parameters.h>
#include <carpet.hh>
namespace Carpet {
using namespace std;
/** Ensure that the parameters have legal values.
*
* Note that this checking happens only after most of Carpet has
* already been set up.... |
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... | helpers.cc | #include <cctk.h>
#include <cctk_FortranString.h>
#include <cctk_Parameters.h>
#include <util_Table.h>
#include <algorithm>
#include <cassert>
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#ifdef CCTK_MPI
#include <mpi.h>
#else
#include "nompi.h"
#endif
#include <defs.hh>
#include <dist.... |
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... | OutputGH.cc | #include <cassert>
#include <cstdio>
#include <cstdlib>
#include <sstream>
#include <cctk.h>
#include <cctk_Parameters.h>
#include <Timer.hh>
#include <dist.hh>
#include <carpet.hh>
namespace Carpet {
using namespace std;
int OutputGH(cGH const *const cctkGH) {
DECLARE_CCTK_PARAMETERS;
static Timers::Timer ... |
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... | SetupGH.cc | #define _GNU_SOURCE \
1 // needed for sched_getaffinity, best at the top to avoid inconsistent
// includes
#include <algorithm>
#include <cassert>
#include <climits>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <iost... |
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... | Timing.cc | #include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdlib>
#include <cctk.h>
#include <cctk_Arguments.h>
#include <cctk_Parameters.h>
// IRIX wants this before <time.h>
#if HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#if TIME_WITH_SYS_TIME
#include <sys/time.h>
#include <time.h>
#else
#if HAVE_SY... |
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... | Storage.cc | #include <algorithm>
#include <cassert>
#include <climits>
#include <cstdlib>
#include <cctk.h>
#include <cctk_Parameters.h>
#include <Requirements.hh>
#include <defs.hh>
#include <dh.hh>
#include <gf.hh>
#include <operators.hh>
#include <typeprops.hh>
#include <carpet.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... | variables.cc | #include <variables.hh>
namespace Carpet {
using namespace std;
// Handle from CCTK_RegisterGHExtension
int GHExtension;
// Maximum number of refinement levels
int maxreflevels;
// Maximum number of time levels
int maxtimelevels;
// Timelevels
int timelevels;
// Refinement levels
int reflevels;
// Temporal refi... |
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... | make.code.defn | # Main make.code.defn file for thorn Carpet -*-Makefile-*-
# Source files in this directory
SRCS = CallFunction.cc \
CarpetBasegrid.cc \
CarpetParamCheck.cc \
CarpetStartup.cc \
Checksum.cc \
Comm.cc \
Cycle.cc \
Evolve.cc \
Hosts.cc \
Initialise.cc \
MultiModel.cc \
OutputG... |
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... | CarpetBasegrid.cc | #include <limits>
#include <cctk.h>
#include <cctk_Arguments.h>
#include <cctk_Parameters.h>
#include <carpet.hh>
namespace Carpet {
using namespace std;
void CarpetRefineTimeStep(CCTK_ARGUMENTS) {
DECLARE_CCTK_ARGUMENTS;
DECLARE_CCTK_PARAMETERS;
// Find the smallest CFL factor for all refinement levels
C... |
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... | ScheduleWrapper.cc | #include <cassert>
#include <list>
#include <cctk.h>
#include <cctk_Arguments.h>
#include <carpet.hh>
namespace Carpet {
using namespace std;
typedef CCTK_INT (*func)(CCTK_POINTER_TO_CONST cctkGH, CCTK_POINTER function,
CCTK_POINTER attribute, CCTK_POINTER data);
typedef list<func> flist;
... |
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... | CarpetStartup.cc | #include <cassert>
#include <cstdlib>
#include <iomanip>
#include <limits>
#include <cctk.h>
#include <cctk_Parameters.h>
#include <dist.hh>
#include <carpet.hh>
namespace Carpet {
using namespace std;
int CarpetMultiModelStartup() {
DECLARE_CCTK_PARAMETERS;
// Increase the default output precision, so that ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.