Bimetric 3+1 toolkit for spherical symmetry
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
fld Namespace Reference

Contains the localized variable names for all known grid functions. More...

Data Structures

struct  EvolvedBy
 A pair of two grid functions where the first is evolved in time by the other. More...

Enumerations

enum  bimIndex {
  bimFirst = GFCNT - 1, gA, gB, gK,
  gKD, gDA, gDB, gSig,
  fA, fB, fK, fKD,
  fDA, fDB, fSig, pfD,
  pfS, pftau, p, q,
  gAlp, gDAlp, fAlp, fDAlp,
  Lt, R, pfv, mpiBoundary = pfv,
  g_rho, g_JK1, g_JK2, f_rho,
  f_JK1, f_JK2, gW, fW,
  cW, C_1, C_2, C_3,
  C_4, gHorz, fHorz, p_g,
  p_f, gA_t, gB_t, gK_t,
  gKD_t, gDA_t, gDB_t, gSig_t,
  fA_t, fB_t, fK_t, fKD_t,
  fDA_t, fDB_t, fSig_t, pfD_t,
  pfS_t, pftau_t, p_t, gAlp_t,
  gDAlp_t, gA_r, gB_r, gK_r,
  gKD_r, gDA_r, gDB_r, fA_r,
  fB_r, fK_r, fKD_r, fDA_r,
  fDB_r, pfD_r, pfS_r, pftau_r,
  pfv_r, p_r, p_rr, q_r,
  q_rr, eq_pr_r, eq_qr_r, gAlp_r,
  gDAlp_r, fAlp_r, fAlp_rr, fDAlp_r,
  tmp, gdbg, fdbg, bimLast
}
 The bimetric grid functions (indices on the grid). More...
enum  sysIndex { t = 0, r, sysLast }
 Identifiers of all known grid functions (the variables or fields on a grid). More...

Variables

static const std::vector< IntbimInput
 The grid functions that will be read from the initial data.
static const std::vector
< EvolvedBy
bimEvolvedGF
 The grid functions that are involved in time.
static const std::vector
< GF_Descriptor
bimOutput
 The grid functions which will be written to the output.
static const std::vector
< GF_Descriptor
bimShowDiagnostics
 Additional output diagnostics (e.g., with spatial derivatives).

Detailed Description

Contains the localized variable names for all known grid functions.


Enumeration Type Documentation

The bimetric grid functions (indices on the grid).

Enumerator:
bimFirst 
gA 
gB 
gK 
gKD 
gDA 
gDB 
gSig 

Evolved variables in the g-sector.

fA 
fB 
fK 
fKD 
fDA 
fDB 
fSig 

Evolved variables in the f-sector.

pfD 
pfS 
pftau 

State variables for the PF.

p 

Separation between two metrics (relative shift)

q 

Overall (geometric mean) shift.

gAlp 
gDAlp 
fAlp 
fDAlp 

Lapses and their log-derivatives.

Lt 

Lorentz factor (derived from p)

R 

Ratio fB/gB

pfv 

The three-velocity of the PF.

mpiBoundary 

The last grid function for which BC must be fixed.

Used in MPI when calling defineGhostChunk.

g_rho 
g_JK1 
g_JK2 

Cumulative sources in th g-sector.

f_rho 
f_JK1 
f_JK2 

Cumulative sources in the f-sector.

gW 
fW 
cW 

Lapse ratio, ( gW * gAlp + fW * fAlp ) / cW = 0

C_1 
C_2 
C_3 
C_4 

Constraints (more precise: constraint violations)

gHorz 
fHorz 

Apparent horizon finders.

p_g 
p_f 

Alt. expr. for the separation between two metrics.

gA_t 
gB_t 
gK_t 
gKD_t 
gDA_t 
gDB_t 
gSig_t 
fA_t 
fB_t 
fK_t 
fKD_t 
fDA_t 
fDB_t 
fSig_t 
pfD_t 
pfS_t 
pftau_t 
p_t 
gAlp_t 
gDAlp_t 
gA_r 
gB_r 
gK_r 
gKD_r 
gDA_r 
gDB_r 
fA_r 
fB_r 
fK_r 
fKD_r 
fDA_r 
fDB_r 
pfD_r 
pfS_r 
pftau_r 
pfv_r 
p_r 
p_rr 
q_r 
q_rr 
eq_pr_r 
eq_qr_r 
gAlp_r 
gDAlp_r 
fAlp_r 
fAlp_rr 
fDAlp_r 
tmp 
gdbg 
fdbg 
bimLast 

Definition at line 31 of file bim-solver.cpp.

                  { bimFirst = GFCNT - 1,
    /////////////////////////////////////////////////////////////////////////////////////

        gA, gB, gK, gKD, gDA, gDB, gSig,  //!< Evolved variables in the `g`-sector
        fA, fB, fK, fKD, fDA, fDB, fSig,  //!< Evolved variables in the `f`-sector
        pfD, pfS, pftau,                  //!< State variables for the PF

        p,                         //!< Separation between two metrics (relative shift)
        q,                         //!< Overall (geometric mean) shift
        gAlp, gDAlp, fAlp, fDAlp,  //!< Lapses and their log-derivatives

        Lt,                        //!< Lorentz factor (derived from `p`)
        R,                         //!< Ratio `fB/gB`
        pfv,                       //!< The three-velocity of the PF

        mpiBoundary = pfv,         //!< The last grid function for which BC must be fixed.
                                   //!< Used in MPI when calling defineGhostChunk.

        g_rho, g_JK1, g_JK2,       //!< Cumulative sources in th `g`-sector
        f_rho, f_JK1, f_JK2,       //!< Cumulative sources in the `f`-sector

        gW, fW, cW,                //!< Lapse ratio, `( gW * gAlp + fW * fAlp ) / cW = 0`

        // Diagnostics
        //
        C_1, C_2, C_3, C_4,        //!< Constraints (more precise: constraint violations)
        gHorz, fHorz,              //!< Apparent horizon finders
        p_g, p_f,                  //!< Alt. expr. for the separation between two metrics

        // The RHS of the evolution equations
        //
        gA_t, gB_t, gK_t, gKD_t, gDA_t, gDB_t, gSig_t,
        fA_t, fB_t, fK_t, fKD_t, fDA_t, fDB_t, fSig_t,
        pfD_t, pfS_t, pftau_t, p_t,
        gAlp_t, gDAlp_t,

        // The cached values of the spatial derivatives
        //
        gA_r, gB_r, gK_r, gKD_r, gDA_r, gDB_r,
        fA_r, fB_r, fK_r, fKD_r, fDA_r, fDB_r,
        pfD_r, pfS_r, pftau_r, pfv_r,
        p_r, p_rr, q_r, q_rr, eq_pr_r, eq_qr_r,
        gAlp_r, gDAlp_r, fAlp_r, fAlp_rr, fDAlp_r,

        // Grid functions uses for storing temporary data
        //
        tmp, gdbg, fdbg,

    /////////////////////////////////////////////////////////////////////////////////////
    bimLast };

Identifiers of all known grid functions (the variables or fields on a grid).

Enumerator:
t 
r 

Coordinates.

sysLast 

Used as the size marker.

Definition at line 66 of file gridFunctions.h.

    {
        t = 0, r,  //!< Coordinates
        sysLast    //!< Used as the size marker
    };

Variable Documentation

const std::vector<EvolvedBy> fld::bimEvolvedGF [static]
Initial value:
 {
        { p,   p_t   },
        { gA,  gA_t  },  { gB,  gB_t  },  { gK,   gK_t   },  { gKD, gKD_t },
        { gDA, gDA_t },  { gDB, gDB_t },  { gSig, gSig_t },
        { fA,  fA_t  },  { fB,  fB_t  },  { fK,   fK_t   },  { fKD, fKD_t },
        { fDA, fDA_t },  { fDB, fDB_t },  { fSig, fSig_t },
        { pfD, pfD_t },  { pfS, pfS_t },  { pftau, pftau_t }
    }

The grid functions that are involved in time.

Definition at line 97 of file bim-solver.cpp.

const std::vector<Int> fld::bimInput [static]
Initial value:
 {
        gA, gB, gK, gKD, gDA, gDB, gSig,
        fA, fB, fK, fKD, fDA, fDB, fSig,
        q, gAlp, fAlp, gDAlp,
        p,
        pfD, pfS, pftau
    }

The grid functions that will be read from the initial data.

Definition at line 87 of file bim-solver.cpp.

const std::vector<GF_Descriptor> fld::bimOutput [static]

The grid functions which will be written to the output.

Definition at line 108 of file bim-solver.cpp.

const std::vector<GF_Descriptor> fld::bimShowDiagnostics [static]

Additional output diagnostics (e.g., with spatial derivatives).

Definition at line 176 of file bim-solver.cpp.