Commit Graph

1050 Commits

Author SHA1 Message Date
Ian Bell
111371df98 Implement fugacity through low-level interface; closes #699 2015-06-30 22:04:08 -06:00
Ian Bell
074b6ec242 Get Tsat working again in a not so super nice way. 2015-06-30 19:34:06 -06:00
Ian Bell
89c7100c54 Fixed second_saturation_deriv names; closes #691
I hope this fixes it finally
2015-06-28 19:00:00 -06:00
Ian Bell
514ecef023 Implement some things for bicubic backend 2015-06-28 17:39:34 -06:00
Ian Bell
fa1720e512 Don't fail if tables need to be built 2015-06-28 13:48:19 -06:00
Ian Bell
c0f230e5d5 Move bicubic coefficients into the tabular dataset as well in order to remove copying and control memory required. 2015-06-28 13:25:18 -06:00
Ian Bell
ef929fcd2a Fix cp0 for tabular backends; closes #696 2015-06-28 12:31:09 -06:00
Ian Bell
350004f1c4 Refactored tables to remove nearly all the copying of data
Some bugs remain still
2015-06-27 20:57:12 -06:00
Ian Bell
59f2b0da88 Add code for tabular data management 2015-06-26 22:07:27 -06:00
Ian Bell
b369728912 Fix loading of tables (unsigned char to char copy) 2015-06-18 00:20:28 -06:00
Ian Bell
bb786f1b0a Build tables up to 1.5*Tmax; closes #680 2015-06-11 21:00:54 -06:00
Ian Bell
9b1e881f32 A better error message for setting reference state with T or p out of bounds; closes #695 2015-06-11 18:49:03 -06:00
Ian Bell
90a043bd56 Update include for PhaseEnvelopeRoutines.h
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-06-11 18:18:04 -06:00
Ian Bell
8a37930a8e Make the get function for tables yield a reference, not a copy (huge speedup) 2015-06-11 18:15:23 -06:00
Ian Bell
0f801bf934 Lots of improvements for tabular backends with mixtures
Turn off info about table loading
Fix saturation calls with tabular backends and mixtures
2015-06-11 17:01:02 -06:00
Ian Bell
01ba02ad2b Implement fake cp0 for tabular backends 2015-06-07 23:22:05 -06:00
Ian Bell
8c82c82ada Add some useful diagnostic messages 2015-06-07 23:18:11 -06:00
Ian Bell
afd5fd3247 Don't print out the first part of Jacobian matrix 2015-06-07 23:16:37 -06:00
Ian Bell
995037121b Allow factory to provide debug output 2015-06-07 22:55:16 -06:00
Ian Bell
80ffb49b98 Fixed DmassT and SmassT 2015-06-07 22:53:59 -06:00
Ian Bell
aa55db2d42 Excess function now using cached values in Departure function matrix; closes #689 2015-06-05 00:34:57 -06:00
Ian Bell
9340a6e846 DmassT and SmassT inputs supported for tabular methods 2015-06-04 22:12:01 -06:00
Ian Bell
997fd0d724 Psuedo-pure should fail near saturation with PT; closes #688 2015-06-04 20:56:47 -06:00
Ian Bell
2e8a698e71 Storing critical point properly 2015-06-04 19:58:27 -06:00
Ian Bell
7e3df4f67a First row of Jacobian works; closes #690 2015-06-04 19:36:59 -06:00
Ian Bell
d8cf164220 Implemented (but needs testing) the derivatives for first N-1 rows of M 2015-06-03 23:46:23 -06:00
Ian Bell
94bda21420 Analytic derivatives for M1_star implemented
Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
2015-06-03 21:32:20 -06:00
Ian Bell
179cb2ff9d Implemented L1_star analytically 2015-06-03 19:46:59 -06:00
Ian Bell
f0bf0cf9fc Implemented ideal curves up through python; closes #654 2015-06-03 00:05:04 -06:00
Ian Bell
bdaddb2610 Implemented FH, HH, and PH properly; closes #685 2015-06-02 22:23:55 -06:00
Ian Bell
ec31ed2133 Add critical point calculation routine using numerical derivatives for now (works!) 2015-05-31 22:14:40 -06:00
Ian Bell
26fb36c370 Fix d_ndln_fugacity_i_dnj_ddxk__consttau_delta and M1_star 2015-05-31 21:41:22 -06:00
Ian Bell
3fd77d57ba Implement all the derivatives needed for critical point determinant 2015-05-30 23:49:04 -06:00
Ian Bell
454759b366 Composition derivative of 7.47 almost working 2015-05-30 13:30:35 -06:00
Ian Bell
dee4fed884 Fixed 7.46 implementation 2015-05-30 12:21:02 -06:00
Ian Bell
a578c1088c Implemented tau and delta derivatives of 7.47 (and tests) 2015-05-30 12:18:24 -06:00
Ian Bell
add3764efe Implemented and tested all derivatives of 7.50, 7.51, and 7.52 from GERG 2004 2015-05-30 11:52:36 -06:00
Ian Bell
1a446db762 Implemented necessary derivatives of reducing functions + tests 2015-05-29 23:31:44 -06:00
Ian Bell
f71313aff3 Massive speed increase in tests for mixture derivatives 2015-05-29 22:34:24 -06:00
Ian Bell
a58a64658d Implemented ideal curves at C++ level; see #654 2015-05-29 00:40:28 -06:00
Ian Bell
e511169d49 Fixes bug with PQ for mixtures; closes #681 2015-05-27 22:23:28 -06:00
Ian Bell
99af9d6434 Added more derivatives for the departure functions 2015-05-20 21:51:15 -06:00
Ian Bell
d0d41aab26 Tidied up some mixture derivative docs 2015-05-19 21:18:34 -06:00
Ian Bell
44bf43a65f Get tabular backends working with consistency plots; closes #675
Fixed a bunch of bugs with the Tabular methods
2015-05-16 20:48:41 -06:00
Ian Bell
4271f00f4f Fixed S,T and D,T for BICUBIC; closes #660 2015-05-16 01:26:55 -06:00
Ian Bell
cbc8aebb05 Implement P,H, P,S, P,U for BICUBIC backend (plus test) 2015-05-16 00:15:00 -06:00
Ian Bell
84ad72396e Implement QT_INPUTS for Tabular backends; closes #674 2015-05-15 22:57:07 -06:00
Ian Bell
021767a670 Fix two bugs in Tabular methods 2015-05-15 21:01:59 -06:00
Ian Bell
65c74daa8e For P, T near saturation for BICUBIC, move away from the saturation curve; closes #629 2015-05-15 20:31:57 -06:00
Ian Bell
f60e2fe0d2 Update phase for PT with guess for rho; closes #662 2015-05-14 23:42:28 -06:00