NcHIQG1D

NcHIQG1D — Minisuperspace 1D quantum gravity models

Functions

void (*NcHIQG1DPsi) ()
NcHIQG1DGauss * nc_hiqg_1d_gauss_new ()
NcHIQG1DGauss * nc_hiqg_1d_gauss_dup ()
void nc_hiqg_1d_gauss_free ()
void nc_hiqg_1d_gauss_eval ()
void nc_hiqg_1d_gauss_eval_hermit ()
void nc_hiqg_1d_gauss_eval_lnRS ()
NcHIQG1DExp * nc_hiqg_1d_exp_new ()
NcHIQG1DExp * nc_hiqg_1d_exp_dup ()
void nc_hiqg_1d_exp_free ()
void nc_hiqg_1d_exp_eval ()
void nc_hiqg_1d_exp_eval_lnRS ()
NcHIQG1DSQ * nc_hiqg_1d_sq_new ()
NcHIQG1DSQ * nc_hiqg_1d_sq_dup ()
void nc_hiqg_1d_sq_free ()
void nc_hiqg_1d_sq_eval ()
void nc_hiqg_1d_sq_eval_lnRS ()
NcHIQG1D * nc_hiqg_1d_new ()
NcHIQG1D * nc_hiqg_1d_new_full ()
NcHIQG1D * nc_hiqg_1d_ref ()
void nc_hiqg_1d_free ()
void nc_hiqg_1d_clear ()
void nc_hiqg_1d_set_nknots ()
guint nc_hiqg_1d_get_nknots ()
void nc_hiqg_1d_set_init_cond ()
void nc_hiqg_1d_set_init_cond_gauss ()
void nc_hiqg_1d_set_init_cond_exp ()
void nc_hiqg_1d_set_init_cond_sq ()
gdouble nc_hiqg_1d_basis ()
gdouble nc_hiqg_1d_Hbasis ()
gdouble nc_hiqg_1d_Sbasis_x3 ()
gdouble nc_hiqg_1d_get_lambda ()
gdouble nc_hiqg_1d_get_basis_a ()
gdouble nc_hiqg_1d_get_acs_a ()
gdouble nc_hiqg_1d_get_nu ()
gdouble nc_hiqg_1d_get_mu ()
void nc_hiqg_1d_prepare ()
NcmVector * nc_hiqg_1d_peek_knots ()
gdouble nc_hiqg_1d_eval_ev ()
void nc_hiqg_1d_eval_psi0 ()
void nc_hiqg_1d_evol ()
void nc_hiqg_1d_eval_psi ()
gdouble nc_hiqg_1d_eval_dS ()
gdouble nc_hiqg_1d_int_rho_0_inf ()
gdouble nc_hiqg_1d_int_xrho_0_inf ()
gdouble nc_hiqg_1d_int_x2rho_0_inf ()
gdouble nc_hiqg_1d_expect_p ()
gdouble nc_hiqg_1d_expect_d ()
gint nc_hiqg_1d_nBohm ()
gdouble nc_hiqg_1d_Bohm ()
gdouble nc_hiqg_1d_Bohm_p ()

Properties

double abstol Read / Write / Construct
double lambda Read / Write / Construct
guint nknots Read / Write / Construct
gboolean noboundary Read / Write / Construct
double reltol Read / Write / Construct

Types and Values

struct NcHIQG1DGauss
struct NcHIQG1DExp
struct NcHIQG1DSQ

Object Hierarchy

    GBoxed
    ├── NcHIQG1DExp
    ├── NcHIQG1DGauss
    ╰── NcHIQG1DSQ
    GObject
    ╰── NcHIQG1D

Description

FIXME

Functions

NcHIQG1DPsi ()

void
(*NcHIQG1DPsi) (gpointer psi_data,
                const gdouble x,
                gdouble *psi);

Wave-function

Parameters

psi_data

object pointer

 

x

eval point $x$

 

psi

$\psi$.

[out caller-allocates][array fixed-size=2][element-type gdouble]

nc_hiqg_1d_gauss_new ()

NcHIQG1DGauss *
nc_hiqg_1d_gauss_new (const gdouble mean,
                      const gdouble alpha,
                      const gdouble sigma,
                      const gdouble Hi);

Creates a new Gaussian wave function.

Parameters

mean

gaussian mean

 

alpha

power-law

 

sigma

Gaussian width

 

Hi

linear imaginary phase

 

Returns

a new NcHIQG1DGauss.

[transfer full]


nc_hiqg_1d_gauss_dup ()

NcHIQG1DGauss *
nc_hiqg_1d_gauss_dup (NcHIQG1DGauss *qm_gauss);

Duplicates qm_gauss .

Parameters

qm_gauss

a NcHIQG1DGauss

 

Returns

a duplicate of qm_gauss .

[transfer full]


nc_hiqg_1d_gauss_free ()

void
nc_hiqg_1d_gauss_free (NcHIQG1DGauss *qm_gauss);

Frees qm_gauss .

Parameters

qm_gauss

a NcHIQG1DGauss

 

nc_hiqg_1d_gauss_eval ()

void
nc_hiqg_1d_gauss_eval (NcHIQG1DGauss *qm_gauss,
                       const gdouble x,
                       gdouble *psi);

Evaluates qm_gauss at x .

Parameters

qm_gauss

a NcHIQG1DGauss

 

x

the point where to evaluate $\psi(x)$

 

psi

$\psi$.

[out caller-allocates][array fixed-size=2][element-type gdouble]

nc_hiqg_1d_gauss_eval_hermit ()

void
nc_hiqg_1d_gauss_eval_hermit (NcHIQG1DGauss *qm_gauss,
                              const gdouble x,
                              gdouble *psi);

Evaluates qm_gauss at x removing the Hemite weight.

Parameters

qm_gauss

a NcHIQG1DGauss

 

x

the point where to evaluate $\psi(x)$

 

psi

$\psi$.

[out caller-allocates][array fixed-size=2][element-type gdouble]

nc_hiqg_1d_gauss_eval_lnRS ()

void
nc_hiqg_1d_gauss_eval_lnRS (NcHIQG1DGauss *qm_gauss,
                            const gdouble x,
                            gdouble *lnRS);

Evaluates qm_gauss at x .

Parameters

qm_gauss

a NcHIQG1DGauss

 

x

the point where to evaluate $\psi(x)$

 

lnRS

$\ln(R)$ and $S$ in $\psi = e^{\ln(R) + iS}$.

[out caller-allocates][array fixed-size=2][element-type gdouble]

nc_hiqg_1d_exp_new ()

NcHIQG1DExp *
nc_hiqg_1d_exp_new (const gdouble n,
                    const gdouble V,
                    const gdouble pV);

Creates a new Exponential wave function.

Parameters

n

power-law

 

V

Volume

 

pV

Volume momentum

 

Returns

a new NcHIQG1DExp.

[transfer full]


nc_hiqg_1d_exp_dup ()

NcHIQG1DExp *
nc_hiqg_1d_exp_dup (NcHIQG1DExp *qm_exp);

Duplicates qm_exp .

Parameters

qm_exp

a NcHIQG1DExp

 

Returns

a duplicate of qm_exp .

[transfer full]


nc_hiqg_1d_exp_free ()

void
nc_hiqg_1d_exp_free (NcHIQG1DExp *qm_exp);

Frees qm_exp .

Parameters

qm_exp

a NcHIQG1DExp

 

nc_hiqg_1d_exp_eval ()

void
nc_hiqg_1d_exp_eval (NcHIQG1DExp *qm_exp,
                     const gdouble x,
                     gdouble *psi);

Evaluates qm_exp at x .

Parameters

qm_exp

a NcHIQG1DExp

 

x

the point where to evaluate $\psi(x)$

 

psi

$psi$.

[out caller-allocates][array fixed-size=2][element-type gdouble]

nc_hiqg_1d_exp_eval_lnRS ()

void
nc_hiqg_1d_exp_eval_lnRS (NcHIQG1DExp *qm_exp,
                          const gdouble x,
                          gdouble *lnRS);

Evaluates qm_exp at x .

Parameters

qm_exp

a NcHIQG1DExp

 

x

the point where to evaluate $\psi(x)$

 

lnRS

$\ln(R)$ and $S$ in $\psi = e^{\ln(R) + iS}$.

[out caller-allocates][array fixed-size=2][element-type gdouble]

nc_hiqg_1d_sq_new ()

NcHIQG1DSQ *
nc_hiqg_1d_sq_new (const gdouble mu,
                   const gdouble V,
                   const gdouble pV);

Creates a new fiducial semi-quantum wave function.

Parameters

mu

$\mu$

 

V

Volume

 

pV

Volume momentum

 

Returns

a new NcHIQG1DExp.

[transfer full]


nc_hiqg_1d_sq_dup ()

NcHIQG1DSQ *
nc_hiqg_1d_sq_dup (NcHIQG1DSQ *qm_sq);

Duplicates qm_sq .

Parameters

qm_sq

a NcHIQG1DSQ

 

Returns

a duplicate of qm_sq .

[transfer full]


nc_hiqg_1d_sq_free ()

void
nc_hiqg_1d_sq_free (NcHIQG1DSQ *qm_sq);

Frees qm_sq .

Parameters

qm_sq

a NcHIQG1DSQ

 

nc_hiqg_1d_sq_eval ()

void
nc_hiqg_1d_sq_eval (NcHIQG1DSQ *qm_sq,
                    const gdouble x,
                    gdouble *psi);

Evaluates qm_sq at x .

Parameters

qm_sq

a NcHIQG1DSQ

 

x

the point where to evaluate $\psi(x)$

 

psi

$psi$.

[out caller-allocates][array fixed-size=2][element-type gdouble]

nc_hiqg_1d_sq_eval_lnRS ()

void
nc_hiqg_1d_sq_eval_lnRS (NcHIQG1DSQ *qm_sq,
                         const gdouble x,
                         gdouble *lnRS);

Evaluates qm_sq at x .

Parameters

qm_sq

a NcHIQG1DSQ

 

x

the point where to evaluate $\psi(x)$

 

lnRS

$\ln(R)$ and $S$ in $\psi = e^{\ln(R) + iS}$.

[out caller-allocates][array fixed-size=2][element-type gdouble]

nc_hiqg_1d_new ()

NcHIQG1D *
nc_hiqg_1d_new (void);

Creates a new NcHIQG1D object.

Returns

a new NcHIQG1D.

[transfer full]


nc_hiqg_1d_new_full ()

NcHIQG1D *
nc_hiqg_1d_new_full (guint nknots,
                     gdouble lambda);

Creates a new NcHIQG1D object.

Parameters

nknots

number of knots

 

lambda

$\lambda$

 

Returns

a new NcHIQG1D.

[transfer full]


nc_hiqg_1d_ref ()

NcHIQG1D *
nc_hiqg_1d_ref (NcHIQG1D *qg1d);

Increase the reference of qg1d by one.

Parameters

qg1d

a NcHIQG1D

 

Returns

qg1d .

[transfer full]


nc_hiqg_1d_free ()

void
nc_hiqg_1d_free (NcHIQG1D *qg1d);

Decrease the reference count of qg1d by one.

Parameters

qg1d

a NcHIQG1D

 

nc_hiqg_1d_clear ()

void
nc_hiqg_1d_clear (NcHIQG1D **qg1d);

Decrease the reference count of qg1d by one, and sets the pointer *qg1d to NULL.

Parameters

qg1d

a NcHIQG1D

 

nc_hiqg_1d_set_nknots ()

void
nc_hiqg_1d_set_nknots (NcHIQG1D *qg1d,
                       const guint nknots);

Sets the initial number of knots to be used in the wave function mesh.

Parameters

qg1d

a NcHIQG1D

 

nknots

number of knots

 

nc_hiqg_1d_get_nknots ()

guint
nc_hiqg_1d_get_nknots (NcHIQG1D *qg1d);

Gets the current number of knots used in the wave function mesh.

Parameters

qg1d

a NcHIQG1D

 

Returns

the current number of knots used in the wave function mesh.


nc_hiqg_1d_set_init_cond ()

void
nc_hiqg_1d_set_init_cond (NcHIQG1D *qg1d,
                          NcHIQG1DPsi psi0_lnRS,
                          gpointer psi_data,
                          const gdouble xi,
                          const gdouble xf);

Sets the initial condition using psi0 , it calculates the best mesh for the initial condition using the real part of psi0 .

Parameters

qg1d

a NcHIQG1D

 

psi0_lnRS

Initial wave-function in polar form.

[scope call]

psi_data

Initial wave-function data

 

xi

initial point

 

xf

final point

 

nc_hiqg_1d_set_init_cond_gauss ()

void
nc_hiqg_1d_set_init_cond_gauss (NcHIQG1D *qg1d,
                                NcHIQG1DGauss *qm_gauss,
                                const gdouble xi,
                                const gdouble xf);

Sets the initial condition using psi0 and nc_hiqg_1d_gauss_eval(), it calculates the best mesh for the initial condition using the real part of psi0 .

Parameters

qg1d

a NcHIQG1D

 

qm_gauss

Initial wave-function data

 

xi

initial point

 

xf

final point

 

nc_hiqg_1d_set_init_cond_exp ()

void
nc_hiqg_1d_set_init_cond_exp (NcHIQG1D *qg1d,
                              NcHIQG1DExp *qm_exp,
                              const gdouble xi,
                              const gdouble xf);

Sets the initial condition using psi0 and nc_hiqg_1d_exp_eval(), it calculates the best mesh for the initial condition using the real part of psi0 .

Parameters

qg1d

a NcHIQG1D

 

qm_exp

Initial wave-function data

 

xi

initial point

 

xf

final point

 

nc_hiqg_1d_set_init_cond_sq ()

void
nc_hiqg_1d_set_init_cond_sq (NcHIQG1D *qg1d,
                             NcHIQG1DSQ *qm_sq,
                             const gdouble xi,
                             const gdouble xf);

Sets the initial condition using psi0 and nc_hiqg_1d_sq_eval(), it calculates the best mesh for the initial condition using the real part of psi0 .

Parameters

qg1d

a NcHIQG1D

 

qm_sq

Initial wave-function data

 

xi

initial point

 

xf

final point

 

nc_hiqg_1d_basis ()

gdouble
nc_hiqg_1d_basis (NcHIQG1D *qg1d,
                  const gdouble x,
                  const gdouble y,
                  const gdouble h,
                  const gdouble a);

FIXME

Parameters

qg1d

a NcHIQG1D

 

x

FIXME

 

y

FIXME

 

h

FIXME

 

a

FIXME

 

Returns

FIXME


nc_hiqg_1d_Hbasis ()

gdouble
nc_hiqg_1d_Hbasis (NcHIQG1D *qg1d,
                   const gdouble x,
                   const gdouble y,
                   const gdouble h,
                   const gdouble a);

FIXME

Parameters

qg1d

a NcHIQG1D

 

x

FIXME

 

y

FIXME

 

h

FIXME

 

a

FIXME

 

Returns

FIXME


nc_hiqg_1d_Sbasis_x3 ()

gdouble
nc_hiqg_1d_Sbasis_x3 (NcHIQG1D *qg1d,
                      const gdouble x,
                      const gdouble y1,
                      const gdouble y2,
                      const gdouble h,
                      const gdouble a);

FIXME

Parameters

qg1d

a NcHIQG1D

 

x

FIXME

 

y1

FIXME

 

y2

FIXME

 

h

FIXME

 

a

FIXME

 

Returns

FIXME


nc_hiqg_1d_get_lambda ()

gdouble
nc_hiqg_1d_get_lambda (NcHIQG1D *qg1d);

FIXME

Parameters

qg1d

a NcHIQG1D

 

Returns

FIXME


nc_hiqg_1d_get_basis_a ()

gdouble
nc_hiqg_1d_get_basis_a (NcHIQG1D *qg1d);

FIXME

Parameters

qg1d

a NcHIQG1D

 

Returns

FIXME


nc_hiqg_1d_get_acs_a ()

gdouble
nc_hiqg_1d_get_acs_a (NcHIQG1D *qg1d);

FIXME

Parameters

qg1d

a NcHIQG1D

 

Returns

FIXME


nc_hiqg_1d_get_nu ()

gdouble
nc_hiqg_1d_get_nu (NcHIQG1D *qg1d);

FIXME

Parameters

qg1d

a NcHIQG1D

 

Returns

FIXME


nc_hiqg_1d_get_mu ()

gdouble
nc_hiqg_1d_get_mu (NcHIQG1D *qg1d);

FIXME

Parameters

qg1d

a NcHIQG1D

 

Returns

FIXME


nc_hiqg_1d_prepare ()

void
nc_hiqg_1d_prepare (NcHIQG1D *qg1d);

FIXME

READ HERE

Parameters

qg1d

a NcHIQG1D

 

nc_hiqg_1d_peek_knots ()

NcmVector *
nc_hiqg_1d_peek_knots (NcHIQG1D *qg1d);

FIXME

Parameters

qg1d

a NcHIQG1D

 

Returns

FIXME.

[transfer none]


nc_hiqg_1d_eval_ev ()

gdouble
nc_hiqg_1d_eval_ev (NcHIQG1D *qg1d,
                    const gint i,
                    const gdouble x);

FIXME

Parameters

qg1d

a NcHIQG1D

 

i

FIXME

 

x

FIXME

 

Returns

FIXME


nc_hiqg_1d_eval_psi0 ()

void
nc_hiqg_1d_eval_psi0 (NcHIQG1D *qg1d,
                      const gdouble x,
                      gdouble *psi0);

FIXME

Parameters

qg1d

a NcHIQG1D

 

x

FIXME

 

psi0

$\psi_0$.

[out caller-allocates][array fixed-size=2][element-type gdouble]

nc_hiqg_1d_evol ()

void
nc_hiqg_1d_evol (NcHIQG1D *qg1d,
                 const gdouble t);

FIXME

Parameters

qg1d

a NcHIQG1D

 

t

FIXME

 

nc_hiqg_1d_eval_psi ()

void
nc_hiqg_1d_eval_psi (NcHIQG1D *qg1d,
                     const gdouble x,
                     gdouble *psi);

FIXME

Parameters

qg1d

a NcHIQG1D

 

x

FIXME

 

psi

$\psi_0$.

[out caller-allocates][array fixed-size=2][element-type gdouble]

nc_hiqg_1d_eval_dS ()

gdouble
nc_hiqg_1d_eval_dS (NcHIQG1D *qg1d,
                    const gdouble x);

FIXME

Parameters

qg1d

a NcHIQG1D

 

x

FIXME

 

Returns

FIXME


nc_hiqg_1d_int_rho_0_inf ()

gdouble
nc_hiqg_1d_int_rho_0_inf (NcHIQG1D *qg1d);

FIXME

Parameters

qg1d

a NcHIQG1D

 

Returns

FIXME


nc_hiqg_1d_int_xrho_0_inf ()

gdouble
nc_hiqg_1d_int_xrho_0_inf (NcHIQG1D *qg1d);

FIXME

Parameters

qg1d

a NcHIQG1D

 

Returns

FIXME


nc_hiqg_1d_int_x2rho_0_inf ()

gdouble
nc_hiqg_1d_int_x2rho_0_inf (NcHIQG1D *qg1d);

FIXME

Parameters

qg1d

a NcHIQG1D

 

Returns

FIXME


nc_hiqg_1d_expect_p ()

gdouble
nc_hiqg_1d_expect_p (NcHIQG1D *qg1d);

FIXME

Parameters

qg1d

a NcHIQG1D

 

Returns

FIXME


nc_hiqg_1d_expect_d ()

gdouble
nc_hiqg_1d_expect_d (NcHIQG1D *qg1d);

FIXME

Parameters

qg1d

a NcHIQG1D

 

Returns

FIXME


nc_hiqg_1d_nBohm ()

gint
nc_hiqg_1d_nBohm (NcHIQG1D *qg1d);

FIXME

Parameters

qg1d

a NcHIQG1D

 

Returns

FIXME


nc_hiqg_1d_Bohm ()

gdouble
nc_hiqg_1d_Bohm (NcHIQG1D *qg1d,
                 gint i);

FIXME

Parameters

qg1d

a NcHIQG1D

 

i

FIXME

 

Returns

FIXME


nc_hiqg_1d_Bohm_p ()

gdouble
nc_hiqg_1d_Bohm_p (NcHIQG1D *qg1d,
                   gint i);

FIXME

Parameters

qg1d

a NcHIQG1D

 

i

FIXME

 

Returns

FIXME

Types and Values

struct NcHIQG1DGauss

struct NcHIQG1DGauss {
};

Gaussian wave-function.


struct NcHIQG1DExp

struct NcHIQG1DExp {
};

Exponential wave-function.


struct NcHIQG1DSQ

struct NcHIQG1DSQ {
};

Semi-Quantum approximation fiducial wave-function.

Property Details

The “abstol” property

  “abstol”                   double

absolute tolerance.

Owner: NcHIQG1D

Flags: Read / Write / Construct

Allowed values: >= 0

Default value: 1e-50


The “lambda” property

  “lambda”                   double

\lambda.

Owner: NcHIQG1D

Flags: Read / Write / Construct

Allowed values: >= 0

Default value: 0.5


The “nknots” property

  “nknots”                   guint

n_k.

Owner: NcHIQG1D

Flags: Read / Write / Construct

Allowed values: >= 6

Default value: 50


The “noboundary” property

  “noboundary”               gboolean

no boundary condition at x_f.

Owner: NcHIQG1D

Flags: Read / Write / Construct

Default value: TRUE


The “reltol” property

  “reltol”                   double

relative tolerance.

Owner: NcHIQG1D

Flags: Read / Write / Construct

Allowed values: [0,1]

Default value: 1e-09