BubbleProfiler  0.3.0
by Peter Athron, Csaba Balazs, Michael Bardsley, Andrew Fowlie, Dylan Harries & Graham White
Namespaces | Functions
euclidean_action.cpp File Reference

implementation of helper functions for calculating Euclidean action More...

#include "euclidean_action.hpp"
#include "error.hpp"
#include "field_profiles.hpp"
#include "numeric.hpp"
#include "potential.hpp"
#include <cmath>

Go to the source code of this file.

Namespaces

 BubbleProfiler
 

Functions

double BubbleProfiler::calculate_kinetic_action (const Potential &potential, const Field_profiles &profiles, std::size_t max_intervals=1000, double rel_tol=1.e-4, double abs_tol=1.e-4, Integration_rule rule=Integration_rule::GK31)
 Calculates the action using only the kinetic term contributions. More...
 
double BubbleProfiler::calculate_potential_action (const Potential &potential, const Field_profiles &profiles, std::size_t max_intervals=1000, double rel_tol=1.e-4, double abs_tol=1.e-4, Integration_rule rule=Integration_rule::GK31)
 Calculates the action using only the potential term contributions. More...
 
double BubbleProfiler::calculate_full_action (const Potential &potential, const Field_profiles &profiles, std::size_t max_intervals=1000, double rel_tol=1.e-4, double abs_tol=1.e-4, Integration_rule rule=Integration_rule::GK31)
 Calculates the action using all terms in the action integrand. More...
 
double BubbleProfiler::calculate_action (const Potential &potential, const Field_profiles &profiles, std::size_t max_intervals=1000, double rel_tol=1.e-4, double abs_tol=1.e-4, Integration_rule rule=Integration_rule::GK31, bool use_kinetic=true)
 Calculates the action using either the kinetic or potential terms. More...
 

Detailed Description

implementation of helper functions for calculating Euclidean action

Definition in file euclidean_action.cpp.