|
| class | SplitInputFile |
| | Storage class for input file that splits up the config portion from the input portion. More...
|
| struct | SplitInputFileParser |
| | Qi Parser object for parsing text into the SplitInputfile class. More...
|
| | Qi Parser object for removing comments from a line of text and then returns the uncommented line. More...
|
| struct | FunctionParser |
| | A Qi grammar parser for parsing text into function trees. More...
|
| struct | MpfrFloatParser |
| | A Qi grammar parsing a real multiprecision number, at a precision matching the input's digits. More...
|
| struct | MpfrComplexParser |
| | A Qi grammar parsing a complex multiprecision number (real then imaginary part). More...
|
| struct | ConfigParser |
| | Base variadic parser for parsing many config structs at once. More...
|
| struct | ConfigParser< ConfigT > |
| | Specialization of ConfigParser for a single config struct. More...
|
| struct | ConfigParser< detail::TypeList< Ts... > > |
| | Specialization of ConfigParser for a typelist, returning a thing passed down from the base variadic case. More...
|
| struct | ConfigSettingParser< Iterator, algorithm::TolerancesConfig, Skipper > |
| | Parser for the TolerancesConfig settings block of classic Bertini input. More...
|
| struct | ConfigSettingParser< Iterator, algorithm::ZeroDimConfig, Skipper > |
| | Parser for the ZeroDimConfig settings block of classic Bertini input. More...
|
| struct | ConfigSettingParser< Iterator, algorithm::MidPathConfig, Skipper > |
| | Parser for the MidPathConfig settings block of classic Bertini input. More...
|
| struct | ConfigSettingParser< Iterator, algorithm::RecordsConfig, Skipper > |
| | Parser for RecordsConfig: the classic input format has no keyword for it, so this consumes the config text and leaves the defaults. More...
|
| struct | ConfigSettingParser< Iterator, algorithm::AutoRetrackConfig, Skipper > |
| | Parser for the AutoRetrackConfig settings block of classic Bertini input. More...
|
| struct | ConfigSettingParser< Iterator, algorithm::SharpeningConfig, Skipper > |
| | Parser for the SharpeningConfig settings block of classic Bertini input. More...
|
| struct | ConfigSettingParser< Iterator, algorithm::RegenerationConfig, Skipper > |
| | Parser for the RegenerationConfig settings block of classic Bertini input. More...
|
| struct | ConfigSettingParser< Iterator, algorithm::PostProcessingConfig, Skipper > |
| | Parser for the PostProcessingConfig settings block of classic Bertini input. More...
|
| struct | ConfigSettingParser< Iterator, algorithm::classic::AlgoChoice, Skipper > |
| | Parser for the AlgoChoice settings block of classic Bertini input. More...
|
| struct | ConfigSettingParser< Iterator, algorithm::classic::EndgameChoiceConfig, Skipper > |
| | Parser for the EndgameChoiceConfig settings block of classic Bertini input. More...
|
| struct | ConfigSettingParser |
| | Qi Parser object for parsing config settings This ensures we can provide backwards compatibility with Bertini Classic input files. More...
|
| struct | ConfigSettingParser< Iterator, bertini::endgame::SecurityConfig, Skipper > |
| | Parser for the SecurityConfig settings block of classic Bertini input. More...
|
| struct | ConfigSettingParser< Iterator, bertini::endgame::EndgameConfig, Skipper > |
| | Parser for the EndgameConfig settings block of classic Bertini input. More...
|
| struct | ConfigSettingParser< Iterator, bertini::endgame::PowerSeriesConfig, Skipper > |
| | Parser for the PowerSeriesConfig settings block of classic Bertini input. More...
|
| struct | ConfigSettingParser< Iterator, bertini::endgame::CauchyConfig, Skipper > |
| | Parser for the CauchyConfig settings block of classic Bertini input. More...
|
| struct | ConfigSettingParser< Iterator, bertini::endgame::TrackBackConfig, Skipper > |
| | Parser for the TrackBackConfig settings block of classic Bertini input. More...
|
| struct | ConfigSettingParser< Iterator, algorithm::RandomConfig, Skipper > |
| | Parser for the RandomConfig settings block of classic Bertini input. More...
|
| struct | ConfigSettingParser< Iterator, PrecisionType, Skipper > |
| | Qi Parser object for parsing config settings This ensures we can provide backwards compatibility with Bertini Classic input files. More...
|
| struct | ConfigSettingParser< Iterator, Predictor, Skipper > |
| | Parser for the Predictor settings block of classic Bertini input. More...
|
| struct | ConfigSettingParser< Iterator, TrackerConfig, Skipper > |
| | The tracker's own settings, from a classic input file. More...
|
| struct | ConfigSettingParser< Iterator, SteppingConfig, Skipper > |
| | Parser for the SteppingConfig settings block of classic Bertini input. More...
|
| struct | ConfigSettingParser< Iterator, NewtonConfig, Skipper > |
| | Parser for the NewtonConfig settings block of classic Bertini input. More...
|
| struct | ConfigSettingParser< Iterator, FixedPrecisionConfig, Skipper > |
| | As of this writing, there are no meaningful settings in FixedPrecisionConfig, so this parser is ... empty. More...
|
| struct | ConfigSettingParser< Iterator, AdaptiveMultiplePrecisionConfig, Skipper > |
| | Parser for the AdaptiveMultiplePrecisionConfig settings block of classic Bertini input. More...
|
| struct | SystemParser |
| | Qi Parser object for parsing text into the System class. More...
|
|
| SplitInputFile | ParseInputFile (std::string str_input_file) |
| | Split a classic Bertini input file's contents into its config and input portions.
|
| std::tuple< std::string, std::string > | SplitIntoConfigAndInput (Path const &input_file) |
| | Function for splitting a Bertini Classic style input file into config and input.
|
| void | SplitIntoConfigAndInput (std::string &config_section, std::string &input_section, Path const &input_file) |
| | Function for splitting a Bertini Classic style input file into config and input.
|
| template<typename Iterator> |
| bool | parse (Iterator first, Iterator last, std::shared_ptr< bertini::node::Node > &func) |
| | Parse a function expression from the iterator range into a node tree.
|
| template<typename Iterator> |
| static bool | parse (Iterator first, Iterator last, double &c) |
| | Parse a double from the iterator range.
|
| template<typename Iterator> |
| static bool | parse (Iterator first, Iterator last, std::complex< double > &c) |
| | Parse a double-precision complex number from the iterator range.
|
| template<typename Iterator> |
| static bool | parse (Iterator first, Iterator last, real_mp &c) |
| | Parse a multiprecision real from the iterator range.
|
| template<typename Iterator> |
| static bool | parse (Iterator first, Iterator last, complex_mp &c) |
| | Parse a multiprecision complex number from the iterator range.
|
| void | StripUTF8BOM (std::string &s) |
| | Strip a leading UTF-8 byte-order mark (EF BB BF) from s in place, if present.
|
| void | StripClassicComments (std::string &s) |
| | Remove Bertini 1 comments from s in place: everything from a % to the end of its line.
|
| void | StripClassicFileWrappers (std::string &s) |
| | Unwrap a Bertini 1 classic input FILE down to the declarations the grammar reads.
|
| std::string | FormatParseError (std::string::const_iterator begin, std::string::const_iterator end, std::string::const_iterator err_pos, boost::spirit::info const &what, std::string const &parser_name) |
| | Format a human-readable parse-error message (line, column, expected, and found text).
|
| void | ReportParseError (std::string::const_iterator begin, std::string::const_iterator end, std::string::const_iterator err_pos, boost::spirit::info const &what, std::string const &parser_name) |
| | Report a parse error (via FormatParseError) to the log, for use in a Spirit on_error handler.
|
| template<typename ConfigT> |
| ConfigT | FillConfigStruct (std::string const &config_str) |
| | Helper function to fill a single configuration struct by parsing a config input file.
|
| template<typename Iterator> |
| static bool | parse (Iterator first, Iterator last, System &sys) |
| | Parse a polynomial system from the iterator range into a System.
|
| void bertini::parsing::classic::StripClassicFileWrappers |
( |
std::string & | s | ) |
|
|
inline |
Unwrap a Bertini 1 classic input FILE down to the declarations the grammar reads.
System::to_classic_input() emits a complete Bertini 1 file – CONFIG ... END; then INPUT ... END; – because its purpose is running the same problem in Bertini 1. The grammar reads only the INPUT-section BODY. The two therefore were not inverses, and the mismatch did not announce itself: the wrapped text matched nothing and the caller received an empty System. See #396.
Comply rather than refuse: handing a system parser a classic input file means one thing. The CONFIG section holds tracking settings a System does not carry, so it is dropped. Text that is already a bare body is returned untouched, so this is a no-op for every caller that was working before.