NcHIPertComp

NcHIPertComp — Abstract class describing a general perturbation component.

Functions

Properties

NcHIPertGravGauge gauge Read / Write / Construct

Object Hierarchy

    GObject
    ╰── NcHIPertComp
        ╰── NcHIPertCompPB

Description

FIXME

Functions

NcHIPertCompNDynVar ()

guint
(*NcHIPertCompNDynVar) (NcHIPertComp *comp);

NcHIPertCompDeps ()

GArray *
(*NcHIPertCompDeps) (NcHIPertComp *comp,
                     guint vindex);

NcHIPertCompSetGauge ()

void
(*NcHIPertCompSetGauge) (NcHIPertComp *comp,
                         NcHIPertGravGauge gauge);

NcHIPertCompGetGauge ()

NcHIPertGravGauge
(*NcHIPertCompGetGauge) (NcHIPertComp *comp);

NcHIPertCompGetTScalarInfo ()

NcHIPertGravTScalarInfo *
(*NcHIPertCompGetTScalarInfo) (NcHIPertComp *comp);

NcHIPertCompGetTScalar ()

void
(*NcHIPertCompGetTScalar) (NcHIPertComp *comp,
                           NcHIPertBGVar *bg_var,
                           NcHIPertBGVarYDY *ydy,
                           NcHIPertGravTScalar *T_scalar);

NcHIPertCompGetTVector ()

void
(*NcHIPertCompGetTVector) (NcHIPertComp *comp,
                           NcHIPertBGVar *bg_var,
                           NcHIPertBGVarYDY *ydy,
                           NcHIPertGravTVector *T_vector);

NcHIPertCompGetTTensor ()

void
(*NcHIPertCompGetTTensor) (NcHIPertComp *comp,
                           NcHIPertBGVar *bg_var,
                           NcHIPertBGVarYDY *ydy,
                           NcHIPertGravTTensor *T_tensor);

NcHIPertCompGetDYScalar ()

void
(*NcHIPertCompGetDYScalar) (NcHIPertComp *comp,
                            NcHIPertBGVar *bg_var,
                            NcHIPertBGVarYDY *ydy,
                            NcHIPertGravTScalar *T_scalar,
                            NcHIPertGravScalar *G_scalar);

nc_hipert_comp_ref ()

NcHIPertComp *
nc_hipert_comp_ref (NcHIPertComp *comp);

Increases the reference count of comp .

Parameters

comp

a NcHIPertComp

 

Returns

comp .

[transfer full]


nc_hipert_comp_free ()

void
nc_hipert_comp_free (NcHIPertComp *comp);

Decreases the reference count of comp .

Parameters

comp

a NcHIPertComp

 

nc_hipert_comp_clear ()

void
nc_hipert_comp_clear (NcHIPertComp **comp);

Decreases the reference count of *comp and sets the pointer *comp to NULL.

Parameters

comp

a NcHIPertComp

 

nc_hipert_comp_get_id ()

NcHIPertBGVarID
nc_hipert_comp_get_id (NcHIPertComp *comp);

Parameters

comp

a NcHIPertComp

 

Returns

the NcHIPertBGVar id tied to this component.


nc_hipert_comp_ndyn_var ()

guint
nc_hipert_comp_ndyn_var (NcHIPertComp *comp);

[virtual ndyn_var]

Parameters

comp

a NcHIPertComp

 

Returns

the number of dynamical components in comp .


nc_hipert_comp_get_deps ()

GArray *
nc_hipert_comp_get_deps (NcHIPertComp *comp,
                         guint vindex);

[virtual get_deps]

Parameters

comp

a NcHIPertComp

 

vindex

a variable index

 

Returns

the array of dependencies of variable vindex in comp .

[transfer full][array][element-type gint]


nc_hipert_comp_set_gauge ()

void
nc_hipert_comp_set_gauge (NcHIPertComp *comp,
                          NcHIPertGravGauge gauge);

Sets the gauge NcHIPertGravGauge that the component comp should use.

[virtual set_gauge]

Parameters

comp

a NcHIPertComp

 

gauge

a NcHIPertGravGauge

 

nc_hipert_comp_get_gauge ()

NcHIPertGravGauge
nc_hipert_comp_get_gauge (NcHIPertComp *comp);

Gets the gauge NcHIPertGravGauge used by the component comp .

[virtual get_gauge]

Parameters

comp

a NcHIPertComp

 

Returns

current gauge of comp .


nc_hipert_comp_get_T_scalar_info ()

NcHIPertGravTScalarInfo *
nc_hipert_comp_get_T_scalar_info (NcHIPertComp *comp);

nc_hipert_comp_get_T_scalar ()

void
nc_hipert_comp_get_T_scalar (NcHIPertComp *comp,
                             NcHIPertBGVar *bg_var,
                             NcHIPertBGVarYDY *ydy,
                             NcHIPertGravTScalar *T_scalar);

Calculates the current value of the energy momentum tensor and stores it in T_scalar .

[virtual get_T_scalar]

Parameters

comp

a NcHIPertComp

 

bg_var

a NcHIPertBGVar

 

ydy

a NcHIPertBGVarYDY

 

T_scalar

a NcHIPertGravTScalar

 

nc_hipert_comp_get_dy_scalar ()

void
nc_hipert_comp_get_dy_scalar (NcHIPertComp *comp,
                              NcHIPertBGVar *bg_var,
                              NcHIPertBGVarYDY *ydy,
                              NcHIPertGravTScalar *T_scalar,
                              NcHIPertGravScalar *G_scalar);

Calculates the time derivative of the dynamical variables.

[virtual get_dy_scalar]

Parameters

comp

a NcHIPertComp

 

bg_var

a NcHIPertBGVar

 

ydy

a NcHIPertBGVarYDY

 

T_scalar

a NcHIPertGravTScalar

 

G_scalar

a NcHIPertGravScalar

 

Property Details

The “gauge” property

  “gauge”                    NcHIPertGravGauge

gauge.

Owner: NcHIPertComp

Flags: Read / Write / Construct

Default value: NC_HIPERT_GRAV_GAUGE_SYNCHRONOUS