49 std::ostringstream & summaryString() {
return _summary_str; }
53 virtual void addMiscSummary(
const std::vector<std::shared_ptr<Species>> & species) = 0;
57 virtual void addLumpedSummary(std::map<std::string, std::vector<std::string>> lumped_map) = 0;
62 const std::vector<std::shared_ptr<Reaction>> & rate_based,
63 const std::vector<std::shared_ptr<Reaction>> & xsec_based) = 0;
Stores all of the data needed to perform calculations with a specific reaction.
Definition Reaction.h:73
SpeciesSummaryWriterBase()
Helper method for writing species summary for the reaction mechanism several methods of this type get...
Definition SpeciesSummaryWriterBase.h:36
virtual void addSpeciesSummary(const std::vector< std::shared_ptr< Species > > &species, const std::vector< std::shared_ptr< Reaction > > &rate_based, const std::vector< std::shared_ptr< Reaction > > &xsec_based)=0
Method for summarizing the reactions that each species is involved in.
std::ostringstream _summary_str
the stream that is used to construct the summary
Definition SpeciesSummaryWriterBase.h:67
virtual void addLumpedSummary(std::map< std::string, std::vector< std::string > > lumped_map)=0
Method for summarizing which species have been lumped into which others.
virtual void addMiscSummary(const std::vector< std::shared_ptr< Species > > &species)=0
Method for adding any random summaries to the top of the summary file.
void clear()
clears the state of the writer to begin a new file
Definition SpeciesSummaryWriterBase.h:40
The species object which represents the products and reactants in the reaction.
Definition Species.h:47