Ray Speth
40c403c07d
Add ability to instantiate Transport objects from YAML files
2019-06-25 22:30:59 -04:00
Ray Speth
6d6f34bee3
[Input] Read species Transport data from YAML / AnyMap
2019-06-25 22:30:59 -04:00
Ray Speth
96124f8455
[Input] Store phase definition parameters in the ThermoPhase object
2019-06-25 22:30:59 -04:00
Ray Speth
59b0f64e26
[Python] Add ability to instantiate objects from YAML files
2019-06-25 22:30:59 -04:00
Ray Speth
8a0eed3be5
[Python] Use shared_ptr for C++ objects owned by Solution
2019-06-25 22:30:59 -04:00
Ray Speth
be4d9cbc55
[Input] Add ck2yaml script for converting Chemkin files to YAML
2019-06-25 22:30:59 -04:00
Ray Speth
f0dc990764
Create a complete Kinetics object from a YAML input file
2019-06-25 22:30:59 -04:00
Ray Speth
f4d45f8a85
Create a complete ThermoPhase object from a YAML input file
2019-06-25 22:30:59 -04:00
Ray Speth
c8b737035d
[Thermo] Add method for setting the state using an AnyMap
...
Analogous to ThermoPhase::setStateFromXML, but more flexible
2019-06-25 22:30:59 -04:00
Ray Speth
3251a3533e
Add AnyMap::erase method
2019-06-25 22:30:59 -04:00
Ray Speth
0264c66f79
Add const version of AnyMap operator[]
...
Reduces the need to use the at() function
2019-06-25 22:30:59 -04:00
Ray Speth
7d3488a973
Add AnyMap.keys_str function
2019-06-25 22:30:59 -04:00
Ray Speth
afd5d82280
[Input] Provide context lines in YAML parsing error messages
2019-06-25 22:30:59 -04:00
Ray Speth
a32e32b7d7
Remove AnyMap traversal using "/" as a path delimiter
...
This feature was unused, and interfered with the use of "/" as a delimiter
for YAML keys indicating keys in other input files.
2019-06-25 22:30:59 -04:00
Ray Speth
e28c9add21
Add variants of AnyValue.asMap for accessing lists of maps
2019-06-25 22:30:59 -04:00
Ray Speth
71bf44d11f
[Input] Parse YAML entries for Species objects
2019-06-25 22:30:59 -04:00
Ray Speth
84fa231ea2
[Input] Read local 'units' definitions in reaction and thermo entries
...
Move 'convert' functions that work with missing keys to AnyMap class.
2019-06-25 22:30:59 -04:00
Ray Speth
6e3053dd1c
Add function for setting default units from a std::map
...
This is the form that will be used when reading units from a YAML
input file.
2019-06-25 22:30:59 -04:00
Ray Speth
4c5040e829
[Input] Parse YAML entries for piecewise Gibbs (Mu0Poly) species thermo
2019-06-25 22:30:59 -04:00
Ray Speth
f0bb0d2262
Make AnyMap iterable
2019-06-25 22:30:59 -04:00
Ray Speth
86c73dad20
[Input] Parse YAML entries for constant cp species thermo
2019-06-25 22:30:59 -04:00
Ray Speth
74eec731f1
Add a version of UnitSystem.convert that handles default values
2019-06-25 22:30:59 -04:00
Ray Speth
7211f08891
[Input] Parse YAML entries for NASA 9-coefficient polynomials
2019-06-25 22:30:59 -04:00
Ray Speth
7ff6e8fac2
[Input] Parse YAML entries for Shomate polynomials
2019-06-25 22:30:59 -04:00
Ray Speth
2b41486850
[Input] Parse YAML entries for NASA 7-coefficient polynomials
2019-06-25 22:30:59 -04:00
Ray Speth
3eaa32dea3
[Thermo] Make SpeciesThermoInterpType objects default constructible
...
Also provide setters for all all parameters which were set by the
constructor.
2019-06-25 22:30:59 -04:00
Ray Speth
aef101fee7
[Input] Parse YAML entries for Chebyshev reactions
2019-06-25 22:30:59 -04:00
Ray Speth
7a97ff9917
Add optional length check when converting AnyValue to vector
2019-06-25 22:30:59 -04:00
Ray Speth
24d1e86440
Improve "missing key" error message for AnyMap
2019-06-25 22:30:59 -04:00
Ray Speth
b54ea8bd82
[Input] Parse YAML entries for Plog reactions
2019-06-25 22:30:59 -04:00
Ray Speth
d476ad8e59
Use Boost to demangle type names in AnyValue casting errors
2019-06-25 22:30:59 -04:00
Ray Speth
cb31c297cf
[Input] Parse YAML entries for falloff and chemically activated reactions
2019-06-25 22:30:59 -04:00
Ray Speth
8b502d4065
[Input] Parse YAML entries for three body reactions
2019-06-25 22:30:59 -04:00
Ray Speth
0220e11ef9
Allow conversion from long int to double in AnyValue.asMap
2019-06-25 22:30:59 -04:00
Ray Speth
de80f06887
[Input] Parse YAML entries for elementary reactions
2019-06-25 22:30:59 -04:00
Ray Speth
224c46ebbb
Add functions for converting units from AnyValue instances
2019-06-25 22:30:59 -04:00
Ray Speth
65121becac
Add special handling of activation energies to class Units
2019-06-25 22:30:59 -04:00
Ray Speth
da097631e3
UnitSystem class supports default source units for conversions
2019-06-25 22:30:59 -04:00
Ray Speth
c9b7de3b70
Add support for metric prefixes to class Units
2019-06-25 22:30:59 -04:00
Ray Speth
b8cb2c30f8
Add 'Units' class for doing conversions with dimensionality checks
...
Introduces a new, more natural notation for writing unit strings,
for use in YAML input files. Unlike 'toSI', conversions are checked for
dimensional consistency.
2019-06-25 22:30:59 -04:00
Ray Speth
ea88d4f9fb
Add "get" functions to AnyMap
...
Simplify the common use case of checking for a key and using a default
value when it is missing.
2019-06-25 22:30:59 -04:00
Ray Speth
530adbb931
Add automatic conversions to vector<AnyValue>
2019-06-25 22:30:59 -04:00
Ray Speth
e5bd0b136f
Allow AnyValue to convert implicitly from long int to double
2019-06-25 22:30:59 -04:00
Ray Speth
00f6b88fa4
[Input] Implement construction of AnyMap from YAML string/file
2019-06-25 22:30:59 -04:00
Ray Speth
e85e0e2108
Fix constness of some AnyMap functions
2019-06-25 22:30:59 -04:00
Ray Speth
ed24198e63
Add option to compile yaml-cpp or use system library
2019-06-25 22:30:59 -04:00
Ray Speth
4bd1ca1cde
Add yaml-cpp submodule
2019-06-25 22:30:59 -04:00
Ray Speth
56cb190a64
Fix units of site density in sofc.cti
2019-06-25 22:30:59 -04:00
Bryan W. Weber
444ef91e0f
Build the samples on the CI services
...
Requires libomp on macOS from homebrew. OpenMP with Visual C/C++ requires
the loop index to be a signed type (from OpenMP < 3.0).
2019-06-17 10:29:20 -04:00
Bryan W. Weber
142f533229
Correct flag and libs for OpenMP on macOS
...
Apple's clang on macOS requires the libomp to link. Apple symlinks gcc
to clang, so it can't be detected as clang by executable name
2019-06-17 10:29:20 -04:00