18 #ifndef BUBBLEPROFILER_INSTREAM_PROFILE_GUESSER_HPP_INCLUDED 19 #define BUBBLEPROFILER_INSTREAM_PROFILE_GUESSER_HPP_INCLUDED 71 const Potential&,
const Eigen::VectorXd&,
int,
72 double,
double,
double,
double)
override;
std::string line_comment_start
virtual ~Instream_profile_guesser()=default
logging::Basic_logger logger
void set_spatial_tolerance(double t)
sets the spatial tolerance used when comparing grid points
std::vector< double > spatial_grid
Abstract class to represent ansatz generators.
Eigen::MatrixXd get_field_values() const
returns the values of the fields read from the stream
void set_delimiters(const std::string &d)
set the characters to use as delimiters between fields
Eigen::VectorXd get_spatial_grid() const
returns the values of the spacetime coordinate read from the stream
void strip_comments(std::string &) const
Provides guess for field profiles read from an input stream.
std::size_t get_number_of_fields() const
std::vector< std::vector< double > > field_values
std::size_t get_number_of_grid_points() const
returns the number of grid points read from the stream
Instream_profile_guesser & operator=(const Instream_profile_guesser &)=default
void read_profiles(std::istream &)
read a profile guess from the given stream
virtual Field_profiles get_profile_guess(const Potential &, const Eigen::VectorXd &, int, double, double, double, double) override
Calculate an initial guess for the bubble profile.
void set_line_comment(const std::string &c)
sets the character sequence used to indicate a comment
Abstract base class for a generic potential.
void process_line(const std::string &)
Discretized set of field profiles.
Instream_profile_guesser(std::istream &)
reads a profile guess from the given input stream