From 24946126e160e53e87a04cb4b3aac20deadd0ec1 Mon Sep 17 00:00:00 2001 From: "Paul T. Bauman" Date: Mon, 25 Jun 2018 17:17:35 -0400 Subject: [PATCH] Add DATASRC key to XMLParser map Need this to be able to handle multiple species data and reaction set data (with multiple phases) in the same XML file. --- src/parsing/include/antioch/parsing_enum.h | 1 + src/parsing/src/xml_parser.C | 1 + 2 files changed, 2 insertions(+) diff --git a/src/parsing/include/antioch/parsing_enum.h b/src/parsing/include/antioch/parsing_enum.h index 0e8a12ab..70ceff8f 100644 --- a/src/parsing/include/antioch/parsing_enum.h +++ b/src/parsing/include/antioch/parsing_enum.h @@ -49,6 +49,7 @@ namespace Antioch REACTION, REVERSIBLE, ID, + DATASRC, EQUATION, CHEMICAL_PROCESS, KINETICS_MODEL, diff --git a/src/parsing/src/xml_parser.C b/src/parsing/src/xml_parser.C index b9c9df99..2ec48767 100644 --- a/src/parsing/src/xml_parser.C +++ b/src/parsing/src/xml_parser.C @@ -87,6 +87,7 @@ namespace Antioch _map[ParsingKey::REACTION] = "reaction"; _map[ParsingKey::REVERSIBLE] = "reversible"; _map[ParsingKey::ID] = "id"; + _map[ParsingKey::DATASRC] = "datasrc"; _map[ParsingKey::EQUATION] = "equation"; _map[ParsingKey::CHEMICAL_PROCESS] = "type"; _map[ParsingKey::KINETICS_MODEL] = "rateCoeff";