Skip to content

Commit

Permalink
Add DATASRC key to XMLParser map
Browse files Browse the repository at this point in the history
Need this to be able to handle multiple species data and reaction
set data (with multiple phases) in the same XML file.
  • Loading branch information
pbauman committed Jun 26, 2018
1 parent 72df0b2 commit 2494612
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/parsing/include/antioch/parsing_enum.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ namespace Antioch
REACTION,
REVERSIBLE,
ID,
DATASRC,
EQUATION,
CHEMICAL_PROCESS,
KINETICS_MODEL,
Expand Down
1 change: 1 addition & 0 deletions src/parsing/src/xml_parser.C
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 2494612

Please sign in to comment.