18 #ifndef BUBBLEPROFILER_OBSERVERS_HPP_INCLUDED 19 #define BUBBLEPROFILER_OBSERVERS_HPP_INCLUDED 53 const std::string& output_path_,
61 int iteration_count{0};
62 std::vector<std::string> fields{};
63 std::string output_path{};
71 void write_initial_profiles_to_file(
const Field_profiles& profiles);
72 void write_initial_perturbations_to_file();
74 void write_field_profiles_to_file(std::ofstream& stream,
A default observer that does not perform any actions when called.
void operator()(const Field_profiles &, const Field_profiles &) const
std::ofstream profiles_file
std::ofstream perturbations_file
std::ofstream action_file
Observes the profile during iteration and writes out profile, perturbations and action for each step ...
const Potential & potential
Abstract base class for a generic potential.
Discretized set of field profiles.