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::Logarithmic_observer Class Reference

#include <logarithmic_observer.hpp>

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

Public Member Functions

 Logarithmic_observer (const Logarithmic_potential &potential_, const std::string &output_file_)
 
void operator() (const Field_profiles &profile, const Field_profiles &perturbation)
 

Private Member Functions

void write_file_header ()
 
void write_data (const Field_profiles &, const Field_profiles &, const Field_profiles &)
 

Private Attributes

int iteration_count {0}
 
Logarithmic_potential potential {}
 
std::string output_file {}
 
std::ofstream output_stream
 

Detailed Description

Definition at line 30 of file logarithmic_observer.hpp.

Constructor & Destructor Documentation

BubbleProfiler::Logarithmic_observer::Logarithmic_observer ( const Logarithmic_potential potential_,
const std::string &  output_file_ 
)

Definition at line 26 of file logarithmic_observer.cpp.

References output_file, and output_stream.

Member Function Documentation

void BubbleProfiler::Logarithmic_observer::operator() ( const Field_profiles profile,
const Field_profiles perturbation 
)
void BubbleProfiler::Logarithmic_observer::write_data ( const Field_profiles profile,
const Field_profiles perturbation,
const Field_profiles exact 
)
private
void BubbleProfiler::Logarithmic_observer::write_file_header ( )
private

Definition at line 35 of file logarithmic_observer.cpp.

References output_file, and output_stream.

Referenced by operator()().

Member Data Documentation

int BubbleProfiler::Logarithmic_observer::iteration_count {0}
private

Definition at line 38 of file logarithmic_observer.hpp.

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

std::string BubbleProfiler::Logarithmic_observer::output_file {}
private

Definition at line 40 of file logarithmic_observer.hpp.

Referenced by Logarithmic_observer(), write_data(), and write_file_header().

std::ofstream BubbleProfiler::Logarithmic_observer::output_stream
private

Definition at line 41 of file logarithmic_observer.hpp.

Referenced by Logarithmic_observer(), write_data(), and write_file_header().

Logarithmic_potential BubbleProfiler::Logarithmic_observer::potential {}
private

Definition at line 39 of file logarithmic_observer.hpp.

Referenced by operator()().


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