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

Program that tabulates action for a one-dimensional potential. More...

#include "error.hpp"
#include "gsl_root_finder.hpp"
#include "kink_profile_guesser.hpp"
#include "logging_manager.hpp"
#include "perturbative_profiler.hpp"
#include "relative_convergence_tester.hpp"
#include "restricted_quartic_potential.hpp"
#include "shooting.hpp"
#include <chrono>
#include <iostream>
#include <map>
#include <string>
#include <tuple>
#include <vector>

Go to the source code of this file.

Classes

struct  BubbleProfiler::Tabulate_options
 
struct  BubbleProfiler::Profiler_result
 

Namespaces

 BubbleProfiler
 

Typedefs

using BubbleProfiler::Profiler_data = std::map< std::string, std::vector< Profiler_result > >
 

Functions

void BubbleProfiler::print_usage ()
 
bool BubbleProfiler::starts_with (const std::string &option, const std::string &prefix)
 
void BubbleProfiler::parse_positional_args (const std::vector< std::string > &args, Tabulate_options &options)
 
Bubble_profiler_inputs BubbleProfiler::parse_cmd_line_args (int argc, const char *argv[])
 
Profiler_result BubbleProfiler::run_shooting_profiler (const Restricted_quartic_potential &potential, int dim)
 
Profiler_result BubbleProfiler::run_perturbative_profiler (Restricted_quartic_potential potential, int dim)
 
Profiler_result BubbleProfiler::run_profiler (const std::string &profiler, const Restricted_quartic_potential &potential, int dim)
 
void BubbleProfiler::write_table_header (const std::vector< std::string > &profiler_labels)
 
void BubbleProfiler::write_table (int dim, double E, const std::vector< double > &alpha_data, const Profiler_data &profiler_data)
 
int main (int argc, const char *argv[])
 

Detailed Description

Program that tabulates action for a one-dimensional potential.

The potential is

\[ V(\phi) = E\left[\frac{-4 \alpha +3}{2} \phi^2 - \phi ^3 + \alpha \phi ^4\right]. \]

We pick \(E = 1\) and vary \(\alpha\).

Usage:

./tabulate <dim> <min_alpha> <max_alpha> <step>

Definition in file tabulate.cpp.

Function Documentation

int main ( int  argc,
const char *  argv[] 
)