27 const std::string& output_file_)
39 << std::setw(12) <<
"iteration" <<
' ' 40 << std::setw(16) <<
"rho" <<
' ' 41 << std::setw(16) <<
"perturbation" <<
' ' 42 << std::setw(16) <<
"profile" 57 const int n_grid_points = coord_values.size();
58 for (
int i = 0; i < n_grid_points; ++i) {
61 << std::setw(16) << std::setprecision(8)
62 << std::scientific << coord_values(i) <<
' ' 63 << std::setw(16) << std::setprecision(8)
64 << std::scientific << perturbation_values(i, 0) <<
' ' 65 << std::setw(16) << std::setprecision(8)
66 << std::scientific << numerical_values(i, 0) << std::endl;
contains the definition of the Field_profiles clas
const Eigen::VectorXd & get_spatial_grid() const
Get a vector of the grid point coordinates.
void write_data(const Field_profiles &, const Field_profiles &)
Thin_wall_observer(const std::string &output_file_)
Exception indicating generic input/output error.
void operator()(const Field_profiles &profile, const Field_profiles &perturbation)
Discretized set of field profiles.
const Eigen::MatrixXd & get_field_profiles() const
Get the field profile data in matrix form.
std::ofstream output_stream