BubbleProfiler  0.3.0
by Peter Athron, Csaba Balazs, Michael Bardsley, Andrew Fowlie, Dylan Harries & Graham White
Public Member Functions | Private Member Functions | Private Attributes | List of all members
BubbleProfiler::Perturbations_ODE_system Class Reference

Class implementing the system of ODEs obeyed by profile perturbations. More...

#include <perturbations_ode_system.hpp>

Collaboration diagram for BubbleProfiler::Perturbations_ODE_system:
Collaboration graph
[legend]

Public Member Functions

 Perturbations_ODE_system (Potential &potential_, Field_profiles &profiles_, int n_spacetime_dimensions_)
 Constructs the system of ODEs for the given potential. More...
 
void operator() (const Eigen::VectorXd &eps, Eigen::VectorXd &depsdr, double r) const
 Calculate the derivatives of the perturbations. More...
 

Private Member Functions

bool is_finite (const Eigen::VectorXd &) const
 
Eigen::VectorXd calculate_inhomogeneities (double) const
 
Eigen::MatrixXd calculate_mass_matrix (double) const
 

Private Attributes

int n_fields {1}
 
int n_spacetime_dimensions {3}
 
Potentialpotential {nullptr}
 
Field_profilesprofiles {nullptr}
 

Detailed Description

Class implementing the system of ODEs obeyed by profile perturbations.

This class provides for the calculation of the first-order system of ODEs obeyed by the perturbations to the field profiles, and their first derivatives, that arise when using the perturbative method.

Definition at line 36 of file perturbations_ode_system.hpp.

Constructor & Destructor Documentation

BubbleProfiler::Perturbations_ODE_system::Perturbations_ODE_system ( Potential potential_,
Field_profiles profiles_,
int  n_spacetime_dimensions_ 
)

Constructs the system of ODEs for the given potential.

Parameters
[in]potential_the potential to calculate profile perturbations for
[in]profiles_the current estimate for the bubble profile for which perturbations are to be computed
[in]n_spacetime_dimensions_the number of spacetime dimensions

Definition at line 28 of file perturbations_ode_system.cpp.

Member Function Documentation

Eigen::VectorXd BubbleProfiler::Perturbations_ODE_system::calculate_inhomogeneities ( double  rho) const
private
Eigen::MatrixXd BubbleProfiler::Perturbations_ODE_system::calculate_mass_matrix ( double  rho) const
private
bool BubbleProfiler::Perturbations_ODE_system::is_finite ( const Eigen::VectorXd &  x) const
private

Definition at line 70 of file perturbations_ode_system.cpp.

Referenced by operator()().

void BubbleProfiler::Perturbations_ODE_system::operator() ( const Eigen::VectorXd &  eps,
Eigen::VectorXd &  depsdr,
double  r 
) const

Calculate the derivatives of the perturbations.

The state vector eps is assumed to contain the values of the perturbations in the first n_fields entries, and the values of their first derivatives in the remaining n_fields entries.

Parameters
[in]epsthe values of the perturbations and their derivatives
[out]depsdrthe values of the derivatives of the perturbations
[in]rthe value of the radial coordinate

Definition at line 38 of file perturbations_ode_system.cpp.

References calculate_inhomogeneities(), calculate_mass_matrix(), is_finite(), n_fields, and n_spacetime_dimensions.

Member Data Documentation

int BubbleProfiler::Perturbations_ODE_system::n_fields {1}
private

Number of fields in the potential

Definition at line 64 of file perturbations_ode_system.hpp.

Referenced by calculate_inhomogeneities(), calculate_mass_matrix(), and operator()().

int BubbleProfiler::Perturbations_ODE_system::n_spacetime_dimensions {3}
private

Number of spacetime dimensions

Definition at line 66 of file perturbations_ode_system.hpp.

Referenced by calculate_inhomogeneities(), and operator()().

Potential* BubbleProfiler::Perturbations_ODE_system::potential {nullptr}
private

Potential for which profile is calculated

Definition at line 68 of file perturbations_ode_system.hpp.

Referenced by calculate_inhomogeneities(), and calculate_mass_matrix().

Field_profiles* BubbleProfiler::Perturbations_ODE_system::profiles {nullptr}
private

Current estimate for bubble profile to be perturbed

Definition at line 70 of file perturbations_ode_system.hpp.

Referenced by calculate_inhomogeneities(), and calculate_mass_matrix().


The documentation for this class was generated from the following files: