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

A structure that holds parameters which define a specific bimetric model. More...

#include <bimetricModel.h>

Inheritance diagram for BimetricModel:

Public Member Functions

 BimetricModel (Parameters &params)
 Constructs the bimetric model based on values from the parameter file.
bool isGR ()
 Returns true if the bimetric model comprises two decoupled GR sectors.
Real P_0_0 (Real R)
Real P_0_1 (Real R)
Real P_0_2 (Real R)
Real P_0_3 (Real R)
Real P_0_4 (Real R)
Real P_1_0 (Real R)
Real P_1_1 (Real R)
Real P_1_2 (Real R)
Real P_1_3 (Real R)
Real P_2_0 (Real R)
Real P_2_1 (Real R)
Real P_2_2 (Real R)

Data Fields

std::string title
 Description.
Real k_g
 kappa_g parameter
Real k_f
 kappa_f parameter
Real b_0
 beta_0 parameter
Real b_1
 beta_1 parameter
Real b_2
 beta_2 parameter
Real b_3
 beta_3 parameter
Real b_4
 beta_4 parameter

Detailed Description

A structure that holds parameters which define a specific bimetric model.

Definition at line 18 of file bimetricModel.h.


Constructor & Destructor Documentation

BimetricModel::BimetricModel ( Parameters params) [inline]

Constructs the bimetric model based on values from the parameter file.

Definition at line 32 of file bimetricModel.h.

    {
        params.get( "model.title", title, "" );
        params.get( "model.k_g",   k_g,   1.0 );
        params.get( "model.k_f",   k_f,   1.0 );
        params.get( "model.b_0",   b_0,   0.0 );
        params.get( "model.b_1",   b_1,   0.0 );
        params.get( "model.b_2",   b_2,   0.0 );
        params.get( "model.b_3",   b_3,   0.0 );
        params.get( "model.b_4",   b_4,   0.0 );

        slog << "Bimetric Model: " << std::endl << std::endl
            << "    title = " << title << std::endl
            << "    k_g = " << k_g << ",  k_f = " << k_f
            << ",  b_0 = " << b_0 << ",  b_1 = " << b_1
            << ",  b_2 = " << b_2 << ",  b_3 = " << b_3
            << ",  b_4 = " << b_4 << std::endl << std::endl;
    }

Member Function Documentation

bool BimetricModel::isGR ( ) [inline]

Returns true if the bimetric model comprises two decoupled GR sectors.

Definition at line 53 of file bimetricModel.h.

    {
        return b_1 == 0 && b_2 == 0 && b_3 == 0;
    }

Field Documentation

beta_0 parameter

Definition at line 24 of file bimetricModel.h.

beta_1 parameter

Definition at line 25 of file bimetricModel.h.

beta_2 parameter

Definition at line 26 of file bimetricModel.h.

beta_3 parameter

Definition at line 27 of file bimetricModel.h.

beta_4 parameter

Definition at line 28 of file bimetricModel.h.

kappa_f parameter

Definition at line 23 of file bimetricModel.h.

kappa_g parameter

Definition at line 22 of file bimetricModel.h.

std::string BimetricModel::title

Description.

Definition at line 20 of file bimetricModel.h.


The documentation for this struct was generated from the following file: