-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moved mechanism data into single dedicated storage struct
- Loading branch information
Showing
15 changed files
with
275 additions
and
250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* | ||
* mechanism_storage.h | ||
* | ||
* Created on: 30 Oct 2017 | ||
* Author: detlevcm | ||
*/ | ||
|
||
#ifndef HEADERS_STRUCTS_MECHANISM_STORAGE_H_ | ||
#define HEADERS_STRUCTS_MECHANISM_STORAGE_H_ | ||
|
||
struct SingleReactionData { | ||
bool Reversible; | ||
bool IsDuplicate; | ||
double paramA; | ||
double paramN; | ||
double paramEa; | ||
vector<double> Reactants; | ||
vector<double> Products; | ||
}; | ||
|
||
struct ThermodynamicData { | ||
double TLow; | ||
double THigh; | ||
double TChange; | ||
double NasaLow1; | ||
double NasaLow2; | ||
double NasaLow3; | ||
double NasaLow4; | ||
double NasaLow5; | ||
double NasaLow6; | ||
double NasaLow7; | ||
double NasaHigh1; | ||
double NasaHigh2; | ||
double NasaHigh3; | ||
double NasaHigh4; | ||
double NasaHigh5; | ||
double NasaHigh6; | ||
double NasaHigh7; | ||
}; | ||
|
||
struct MechanismData { | ||
|
||
vector< string > Species; | ||
vector< ThermodynamicData > Thermodynamics; | ||
vector< SingleReactionData > Reactions; | ||
}; | ||
|
||
|
||
#endif /* HEADERS_STRUCTS_MECHANISM_STORAGE_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.