File size: 46,380 Bytes
b1b3bae | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 | //------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.1
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//------------------------------------------------------------------------------
public class AbstractState : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
internal AbstractState(global::System.IntPtr cPtr, bool cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
}
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(AbstractState obj) {
return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
}
~AbstractState() {
Dispose(false);
}
public void Dispose() {
Dispose(true);
global::System.GC.SuppressFinalize(this);
}
protected virtual void Dispose(bool disposing) {
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
swigCMemOwn = false;
CoolPropPINVOKE.delete_AbstractState(swigCPtr);
}
swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
}
}
}
public static AbstractState factory(string backend, string fluid_names) {
global::System.IntPtr cPtr = CoolPropPINVOKE.AbstractState_factory__SWIG_0(backend, fluid_names);
AbstractState ret = (cPtr == global::System.IntPtr.Zero) ? null : new AbstractState(cPtr, false);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public static AbstractState factory(string backend, StringVector fluid_names) {
global::System.IntPtr cPtr = CoolPropPINVOKE.AbstractState_factory__SWIG_1(backend, StringVector.getCPtr(fluid_names));
AbstractState ret = (cPtr == global::System.IntPtr.Zero) ? null : new AbstractState(cPtr, false);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public void set_T(double T) {
CoolPropPINVOKE.AbstractState_set_T(swigCPtr, T);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public virtual string backend_name() {
string ret = CoolPropPINVOKE.AbstractState_backend_name(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual bool using_mole_fractions() {
bool ret = CoolPropPINVOKE.AbstractState_using_mole_fractions(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual bool using_mass_fractions() {
bool ret = CoolPropPINVOKE.AbstractState_using_mass_fractions(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual bool using_volu_fractions() {
bool ret = CoolPropPINVOKE.AbstractState_using_volu_fractions(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual void set_reference_stateS(string reference_state) {
CoolPropPINVOKE.AbstractState_set_reference_stateS(swigCPtr, reference_state);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public virtual void set_reference_stateD(double T, double rhomolar, double hmolar0, double smolar0) {
CoolPropPINVOKE.AbstractState_set_reference_stateD(swigCPtr, T, rhomolar, hmolar0, smolar0);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public void set_mole_fractions(DoubleVector mole_fractions) {
CoolPropPINVOKE.AbstractState_set_mole_fractions(swigCPtr, DoubleVector.getCPtr(mole_fractions));
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public void set_mass_fractions(DoubleVector mass_fractions) {
CoolPropPINVOKE.AbstractState_set_mass_fractions(swigCPtr, DoubleVector.getCPtr(mass_fractions));
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public void set_volu_fractions(DoubleVector volu_fractions) {
CoolPropPINVOKE.AbstractState_set_volu_fractions(swigCPtr, DoubleVector.getCPtr(volu_fractions));
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public DoubleVector mole_fractions_liquid() {
DoubleVector ret = new DoubleVector(CoolPropPINVOKE.AbstractState_mole_fractions_liquid(swigCPtr), true);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public DoubleVector mole_fractions_vapor() {
DoubleVector ret = new DoubleVector(CoolPropPINVOKE.AbstractState_mole_fractions_vapor(swigCPtr), true);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual SWIGTYPE_p_std__vectorT_CoolPropDbl_t get_mole_fractions() {
SWIGTYPE_p_std__vectorT_CoolPropDbl_t ret = new SWIGTYPE_p_std__vectorT_CoolPropDbl_t(CoolPropPINVOKE.AbstractState_get_mole_fractions(swigCPtr), false);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual SWIGTYPE_p_std__vectorT_CoolPropDbl_t get_mass_fractions() {
SWIGTYPE_p_std__vectorT_CoolPropDbl_t ret = new SWIGTYPE_p_std__vectorT_CoolPropDbl_t(CoolPropPINVOKE.AbstractState_get_mass_fractions(swigCPtr), true);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual void update(input_pairs input_pair, double Value1, double Value2) {
CoolPropPINVOKE.AbstractState_update(swigCPtr, (int)input_pair, Value1, Value2);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public virtual void update_with_guesses(input_pairs input_pair, double Value1, double Value2, GuessesStructure guesses) {
CoolPropPINVOKE.AbstractState_update_with_guesses(swigCPtr, (int)input_pair, Value1, Value2, GuessesStructure.getCPtr(guesses));
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public virtual bool available_in_high_level() {
bool ret = CoolPropPINVOKE.AbstractState_available_in_high_level(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual string fluid_param_string(string arg0) {
string ret = CoolPropPINVOKE.AbstractState_fluid_param_string(swigCPtr, arg0);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public StringVector fluid_names() {
StringVector ret = new StringVector(CoolPropPINVOKE.AbstractState_fluid_names(swigCPtr), true);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual double get_fluid_constant(uint i, parameters param) {
double ret = CoolPropPINVOKE.AbstractState_get_fluid_constant(swigCPtr, i, (int)param);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual void set_binary_interaction_double(string CAS1, string CAS2, string parameter, double value) {
CoolPropPINVOKE.AbstractState_set_binary_interaction_double__SWIG_0(swigCPtr, CAS1, CAS2, parameter, value);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public virtual void set_binary_interaction_double(uint i, uint j, string parameter, double value) {
CoolPropPINVOKE.AbstractState_set_binary_interaction_double__SWIG_1(swigCPtr, i, j, parameter, value);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public virtual void set_binary_interaction_string(string CAS1, string CAS2, string parameter, string value) {
CoolPropPINVOKE.AbstractState_set_binary_interaction_string__SWIG_0(swigCPtr, CAS1, CAS2, parameter, value);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public virtual void set_binary_interaction_string(uint i, uint j, string parameter, string value) {
CoolPropPINVOKE.AbstractState_set_binary_interaction_string__SWIG_1(swigCPtr, i, j, parameter, value);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public virtual double get_binary_interaction_double(string CAS1, string CAS2, string parameter) {
double ret = CoolPropPINVOKE.AbstractState_get_binary_interaction_double__SWIG_0(swigCPtr, CAS1, CAS2, parameter);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual double get_binary_interaction_double(uint i, uint j, string parameter) {
double ret = CoolPropPINVOKE.AbstractState_get_binary_interaction_double__SWIG_1(swigCPtr, i, j, parameter);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual string get_binary_interaction_string(string CAS1, string CAS2, string parameter) {
string ret = CoolPropPINVOKE.AbstractState_get_binary_interaction_string(swigCPtr, CAS1, CAS2, parameter);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual void apply_simple_mixing_rule(uint i, uint j, string model) {
CoolPropPINVOKE.AbstractState_apply_simple_mixing_rule(swigCPtr, i, j, model);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public virtual void set_cubic_alpha_C(uint i, string parameter, double c1, double c2, double c3) {
CoolPropPINVOKE.AbstractState_set_cubic_alpha_C(swigCPtr, i, parameter, c1, c2, c3);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public virtual void set_fluid_parameter_double(uint i, string parameter, double value) {
CoolPropPINVOKE.AbstractState_set_fluid_parameter_double(swigCPtr, i, parameter, value);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public virtual double get_fluid_parameter_double(uint i, string parameter) {
double ret = CoolPropPINVOKE.AbstractState_get_fluid_parameter_double(swigCPtr, i, parameter);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual bool clear() {
bool ret = CoolPropPINVOKE.AbstractState_clear(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual bool clear_comp_change() {
bool ret = CoolPropPINVOKE.AbstractState_clear_comp_change(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual SimpleState get_reducing_state() {
SimpleState ret = new SimpleState(CoolPropPINVOKE.AbstractState_get_reducing_state(swigCPtr), false);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public SimpleState get_state(string state) {
SimpleState ret = new SimpleState(CoolPropPINVOKE.AbstractState_get_state(swigCPtr, state), false);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double Tmin() {
double ret = CoolPropPINVOKE.AbstractState_Tmin(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double Tmax() {
double ret = CoolPropPINVOKE.AbstractState_Tmax(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double pmax() {
double ret = CoolPropPINVOKE.AbstractState_pmax(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double Ttriple() {
double ret = CoolPropPINVOKE.AbstractState_Ttriple(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public phases phase() {
phases ret = (phases)CoolPropPINVOKE.AbstractState_phase(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public void specify_phase(phases phase) {
CoolPropPINVOKE.AbstractState_specify_phase(swigCPtr, (int)phase);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public void unspecify_phase() {
CoolPropPINVOKE.AbstractState_unspecify_phase(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public double T_critical() {
double ret = CoolPropPINVOKE.AbstractState_T_critical(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double p_critical() {
double ret = CoolPropPINVOKE.AbstractState_p_critical(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double rhomolar_critical() {
double ret = CoolPropPINVOKE.AbstractState_rhomolar_critical(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double rhomass_critical() {
double ret = CoolPropPINVOKE.AbstractState_rhomass_critical(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public SWIGTYPE_p_std__vectorT_CoolProp__CriticalState_t all_critical_points() {
SWIGTYPE_p_std__vectorT_CoolProp__CriticalState_t ret = new SWIGTYPE_p_std__vectorT_CoolProp__CriticalState_t(CoolPropPINVOKE.AbstractState_all_critical_points(swigCPtr), true);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public void build_spinodal() {
CoolPropPINVOKE.AbstractState_build_spinodal(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public SpinodalData get_spinodal_data() {
SpinodalData ret = new SpinodalData(CoolPropPINVOKE.AbstractState_get_spinodal_data(swigCPtr), true);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public void criticality_contour_values(SWIGTYPE_p_double L1star, SWIGTYPE_p_double M1star) {
CoolPropPINVOKE.AbstractState_criticality_contour_values(swigCPtr, SWIGTYPE_p_double.getCPtr(L1star), SWIGTYPE_p_double.getCPtr(M1star));
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public double tangent_plane_distance(double T, double p, DoubleVector w, double rhomolar_guess) {
double ret = CoolPropPINVOKE.AbstractState_tangent_plane_distance__SWIG_0(swigCPtr, T, p, DoubleVector.getCPtr(w), rhomolar_guess);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double tangent_plane_distance(double T, double p, DoubleVector w) {
double ret = CoolPropPINVOKE.AbstractState_tangent_plane_distance__SWIG_1(swigCPtr, T, p, DoubleVector.getCPtr(w));
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double T_reducing() {
double ret = CoolPropPINVOKE.AbstractState_T_reducing(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double rhomolar_reducing() {
double ret = CoolPropPINVOKE.AbstractState_rhomolar_reducing(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double rhomass_reducing() {
double ret = CoolPropPINVOKE.AbstractState_rhomass_reducing(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double p_triple() {
double ret = CoolPropPINVOKE.AbstractState_p_triple(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public string name() {
string ret = CoolPropPINVOKE.AbstractState_name(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public string description() {
string ret = CoolPropPINVOKE.AbstractState_description(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double dipole_moment() {
double ret = CoolPropPINVOKE.AbstractState_dipole_moment(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double keyed_output(parameters key) {
double ret = CoolPropPINVOKE.AbstractState_keyed_output(swigCPtr, (int)key);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double trivial_keyed_output(parameters key) {
double ret = CoolPropPINVOKE.AbstractState_trivial_keyed_output(swigCPtr, (int)key);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double saturated_liquid_keyed_output(parameters key) {
double ret = CoolPropPINVOKE.AbstractState_saturated_liquid_keyed_output(swigCPtr, (int)key);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double saturated_vapor_keyed_output(parameters key) {
double ret = CoolPropPINVOKE.AbstractState_saturated_vapor_keyed_output(swigCPtr, (int)key);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double T() {
double ret = CoolPropPINVOKE.AbstractState_T(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double rhomolar() {
double ret = CoolPropPINVOKE.AbstractState_rhomolar(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double rhomass() {
double ret = CoolPropPINVOKE.AbstractState_rhomass(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double p() {
double ret = CoolPropPINVOKE.AbstractState_p(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double Q() {
double ret = CoolPropPINVOKE.AbstractState_Q(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double tau() {
double ret = CoolPropPINVOKE.AbstractState_tau(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double delta() {
double ret = CoolPropPINVOKE.AbstractState_delta(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double molar_mass() {
double ret = CoolPropPINVOKE.AbstractState_molar_mass(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double acentric_factor() {
double ret = CoolPropPINVOKE.AbstractState_acentric_factor(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double gas_constant() {
double ret = CoolPropPINVOKE.AbstractState_gas_constant(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double Bvirial() {
double ret = CoolPropPINVOKE.AbstractState_Bvirial(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double dBvirial_dT() {
double ret = CoolPropPINVOKE.AbstractState_dBvirial_dT(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double Cvirial() {
double ret = CoolPropPINVOKE.AbstractState_Cvirial(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double dCvirial_dT() {
double ret = CoolPropPINVOKE.AbstractState_dCvirial_dT(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double compressibility_factor() {
double ret = CoolPropPINVOKE.AbstractState_compressibility_factor(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double hmolar() {
double ret = CoolPropPINVOKE.AbstractState_hmolar(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double hmolar_residual() {
double ret = CoolPropPINVOKE.AbstractState_hmolar_residual(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double hmass() {
double ret = CoolPropPINVOKE.AbstractState_hmass(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double hmolar_excess() {
double ret = CoolPropPINVOKE.AbstractState_hmolar_excess(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double hmass_excess() {
double ret = CoolPropPINVOKE.AbstractState_hmass_excess(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double smolar() {
double ret = CoolPropPINVOKE.AbstractState_smolar(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double smolar_residual() {
double ret = CoolPropPINVOKE.AbstractState_smolar_residual(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double smass() {
double ret = CoolPropPINVOKE.AbstractState_smass(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double smolar_excess() {
double ret = CoolPropPINVOKE.AbstractState_smolar_excess(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double smass_excess() {
double ret = CoolPropPINVOKE.AbstractState_smass_excess(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double umolar() {
double ret = CoolPropPINVOKE.AbstractState_umolar(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double umass() {
double ret = CoolPropPINVOKE.AbstractState_umass(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double umolar_excess() {
double ret = CoolPropPINVOKE.AbstractState_umolar_excess(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double umass_excess() {
double ret = CoolPropPINVOKE.AbstractState_umass_excess(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double cpmolar() {
double ret = CoolPropPINVOKE.AbstractState_cpmolar(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double cpmass() {
double ret = CoolPropPINVOKE.AbstractState_cpmass(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double cp0molar() {
double ret = CoolPropPINVOKE.AbstractState_cp0molar(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double cp0mass() {
double ret = CoolPropPINVOKE.AbstractState_cp0mass(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double cvmolar() {
double ret = CoolPropPINVOKE.AbstractState_cvmolar(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double cvmass() {
double ret = CoolPropPINVOKE.AbstractState_cvmass(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double gibbsmolar() {
double ret = CoolPropPINVOKE.AbstractState_gibbsmolar(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double gibbsmolar_residual() {
double ret = CoolPropPINVOKE.AbstractState_gibbsmolar_residual(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double gibbsmass() {
double ret = CoolPropPINVOKE.AbstractState_gibbsmass(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double gibbsmolar_excess() {
double ret = CoolPropPINVOKE.AbstractState_gibbsmolar_excess(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double gibbsmass_excess() {
double ret = CoolPropPINVOKE.AbstractState_gibbsmass_excess(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double helmholtzmolar() {
double ret = CoolPropPINVOKE.AbstractState_helmholtzmolar(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double helmholtzmass() {
double ret = CoolPropPINVOKE.AbstractState_helmholtzmass(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double helmholtzmolar_excess() {
double ret = CoolPropPINVOKE.AbstractState_helmholtzmolar_excess(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double helmholtzmass_excess() {
double ret = CoolPropPINVOKE.AbstractState_helmholtzmass_excess(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double volumemolar_excess() {
double ret = CoolPropPINVOKE.AbstractState_volumemolar_excess(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double volumemass_excess() {
double ret = CoolPropPINVOKE.AbstractState_volumemass_excess(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double speed_sound() {
double ret = CoolPropPINVOKE.AbstractState_speed_sound(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double isothermal_compressibility() {
double ret = CoolPropPINVOKE.AbstractState_isothermal_compressibility(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double isobaric_expansion_coefficient() {
double ret = CoolPropPINVOKE.AbstractState_isobaric_expansion_coefficient(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double isentropic_expansion_coefficient() {
double ret = CoolPropPINVOKE.AbstractState_isentropic_expansion_coefficient(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double fugacity_coefficient(uint i) {
double ret = CoolPropPINVOKE.AbstractState_fugacity_coefficient(swigCPtr, i);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public DoubleVector fugacity_coefficients() {
DoubleVector ret = new DoubleVector(CoolPropPINVOKE.AbstractState_fugacity_coefficients(swigCPtr), true);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double fugacity(uint i) {
double ret = CoolPropPINVOKE.AbstractState_fugacity(swigCPtr, i);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double chemical_potential(uint i) {
double ret = CoolPropPINVOKE.AbstractState_chemical_potential(swigCPtr, i);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double fundamental_derivative_of_gas_dynamics() {
double ret = CoolPropPINVOKE.AbstractState_fundamental_derivative_of_gas_dynamics(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double PIP() {
double ret = CoolPropPINVOKE.AbstractState_PIP(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public void true_critical_point(SWIGTYPE_p_double T, SWIGTYPE_p_double rho) {
CoolPropPINVOKE.AbstractState_true_critical_point(swigCPtr, SWIGTYPE_p_double.getCPtr(T), SWIGTYPE_p_double.getCPtr(rho));
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public void ideal_curve(string type, DoubleVector T, DoubleVector p) {
CoolPropPINVOKE.AbstractState_ideal_curve(swigCPtr, type, DoubleVector.getCPtr(T), DoubleVector.getCPtr(p));
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public double first_partial_deriv(parameters Of, parameters Wrt, parameters Constant) {
double ret = CoolPropPINVOKE.AbstractState_first_partial_deriv(swigCPtr, (int)Of, (int)Wrt, (int)Constant);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double second_partial_deriv(parameters Of1, parameters Wrt1, parameters Constant1, parameters Wrt2, parameters Constant2) {
double ret = CoolPropPINVOKE.AbstractState_second_partial_deriv(swigCPtr, (int)Of1, (int)Wrt1, (int)Constant1, (int)Wrt2, (int)Constant2);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double first_saturation_deriv(parameters Of1, parameters Wrt1) {
double ret = CoolPropPINVOKE.AbstractState_first_saturation_deriv(swigCPtr, (int)Of1, (int)Wrt1);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double second_saturation_deriv(parameters Of1, parameters Wrt1, parameters Wrt2) {
double ret = CoolPropPINVOKE.AbstractState_second_saturation_deriv(swigCPtr, (int)Of1, (int)Wrt1, (int)Wrt2);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double first_two_phase_deriv(parameters Of, parameters Wrt, parameters Constant) {
double ret = CoolPropPINVOKE.AbstractState_first_two_phase_deriv(swigCPtr, (int)Of, (int)Wrt, (int)Constant);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double second_two_phase_deriv(parameters Of, parameters Wrt1, parameters Constant1, parameters Wrt2, parameters Constant2) {
double ret = CoolPropPINVOKE.AbstractState_second_two_phase_deriv(swigCPtr, (int)Of, (int)Wrt1, (int)Constant1, (int)Wrt2, (int)Constant2);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double first_two_phase_deriv_splined(parameters Of, parameters Wrt, parameters Constant, double x_end) {
double ret = CoolPropPINVOKE.AbstractState_first_two_phase_deriv_splined(swigCPtr, (int)Of, (int)Wrt, (int)Constant, x_end);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public void build_phase_envelope(string type) {
CoolPropPINVOKE.AbstractState_build_phase_envelope__SWIG_0(swigCPtr, type);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public void build_phase_envelope() {
CoolPropPINVOKE.AbstractState_build_phase_envelope__SWIG_1(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public PhaseEnvelopeData get_phase_envelope_data() {
PhaseEnvelopeData ret = new PhaseEnvelopeData(CoolPropPINVOKE.AbstractState_get_phase_envelope_data(swigCPtr), false);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public virtual bool has_melting_line() {
bool ret = CoolPropPINVOKE.AbstractState_has_melting_line(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double melting_line(int param, int given, double value) {
double ret = CoolPropPINVOKE.AbstractState_melting_line(swigCPtr, param, given, value);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double saturation_ancillary(parameters param, int Q, parameters given, double value) {
double ret = CoolPropPINVOKE.AbstractState_saturation_ancillary(swigCPtr, (int)param, Q, (int)given, value);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double viscosity() {
double ret = CoolPropPINVOKE.AbstractState_viscosity(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public void viscosity_contributions(SWIGTYPE_p_CoolPropDbl dilute, SWIGTYPE_p_CoolPropDbl initial_density, SWIGTYPE_p_CoolPropDbl residual, SWIGTYPE_p_CoolPropDbl critical) {
CoolPropPINVOKE.AbstractState_viscosity_contributions(swigCPtr, SWIGTYPE_p_CoolPropDbl.getCPtr(dilute), SWIGTYPE_p_CoolPropDbl.getCPtr(initial_density), SWIGTYPE_p_CoolPropDbl.getCPtr(residual), SWIGTYPE_p_CoolPropDbl.getCPtr(critical));
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public double conductivity() {
double ret = CoolPropPINVOKE.AbstractState_conductivity(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public void conductivity_contributions(SWIGTYPE_p_CoolPropDbl dilute, SWIGTYPE_p_CoolPropDbl initial_density, SWIGTYPE_p_CoolPropDbl residual, SWIGTYPE_p_CoolPropDbl critical) {
CoolPropPINVOKE.AbstractState_conductivity_contributions(swigCPtr, SWIGTYPE_p_CoolPropDbl.getCPtr(dilute), SWIGTYPE_p_CoolPropDbl.getCPtr(initial_density), SWIGTYPE_p_CoolPropDbl.getCPtr(residual), SWIGTYPE_p_CoolPropDbl.getCPtr(critical));
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public double surface_tension() {
double ret = CoolPropPINVOKE.AbstractState_surface_tension(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double Prandtl() {
double ret = CoolPropPINVOKE.AbstractState_Prandtl(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public void conformal_state(string reference_fluid, SWIGTYPE_p_CoolPropDbl T, SWIGTYPE_p_CoolPropDbl rhomolar) {
CoolPropPINVOKE.AbstractState_conformal_state(swigCPtr, reference_fluid, SWIGTYPE_p_CoolPropDbl.getCPtr(T), SWIGTYPE_p_CoolPropDbl.getCPtr(rhomolar));
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public void change_EOS(uint i, string EOS_name) {
CoolPropPINVOKE.AbstractState_change_EOS(swigCPtr, i, EOS_name);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
}
public double alpha0() {
double ret = CoolPropPINVOKE.AbstractState_alpha0(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double dalpha0_dDelta() {
double ret = CoolPropPINVOKE.AbstractState_dalpha0_dDelta(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double dalpha0_dTau() {
double ret = CoolPropPINVOKE.AbstractState_dalpha0_dTau(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d2alpha0_dDelta2() {
double ret = CoolPropPINVOKE.AbstractState_d2alpha0_dDelta2(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d2alpha0_dDelta_dTau() {
double ret = CoolPropPINVOKE.AbstractState_d2alpha0_dDelta_dTau(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d2alpha0_dTau2() {
double ret = CoolPropPINVOKE.AbstractState_d2alpha0_dTau2(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d3alpha0_dTau3() {
double ret = CoolPropPINVOKE.AbstractState_d3alpha0_dTau3(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d3alpha0_dDelta_dTau2() {
double ret = CoolPropPINVOKE.AbstractState_d3alpha0_dDelta_dTau2(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d3alpha0_dDelta2_dTau() {
double ret = CoolPropPINVOKE.AbstractState_d3alpha0_dDelta2_dTau(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d3alpha0_dDelta3() {
double ret = CoolPropPINVOKE.AbstractState_d3alpha0_dDelta3(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double alphar() {
double ret = CoolPropPINVOKE.AbstractState_alphar(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double dalphar_dDelta() {
double ret = CoolPropPINVOKE.AbstractState_dalphar_dDelta(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double dalphar_dTau() {
double ret = CoolPropPINVOKE.AbstractState_dalphar_dTau(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d2alphar_dDelta2() {
double ret = CoolPropPINVOKE.AbstractState_d2alphar_dDelta2(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d2alphar_dDelta_dTau() {
double ret = CoolPropPINVOKE.AbstractState_d2alphar_dDelta_dTau(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d2alphar_dTau2() {
double ret = CoolPropPINVOKE.AbstractState_d2alphar_dTau2(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d3alphar_dDelta3() {
double ret = CoolPropPINVOKE.AbstractState_d3alphar_dDelta3(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d3alphar_dDelta2_dTau() {
double ret = CoolPropPINVOKE.AbstractState_d3alphar_dDelta2_dTau(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d3alphar_dDelta_dTau2() {
double ret = CoolPropPINVOKE.AbstractState_d3alphar_dDelta_dTau2(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d3alphar_dTau3() {
double ret = CoolPropPINVOKE.AbstractState_d3alphar_dTau3(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d4alphar_dDelta4() {
double ret = CoolPropPINVOKE.AbstractState_d4alphar_dDelta4(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d4alphar_dDelta3_dTau() {
double ret = CoolPropPINVOKE.AbstractState_d4alphar_dDelta3_dTau(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d4alphar_dDelta2_dTau2() {
double ret = CoolPropPINVOKE.AbstractState_d4alphar_dDelta2_dTau2(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d4alphar_dDelta_dTau3() {
double ret = CoolPropPINVOKE.AbstractState_d4alphar_dDelta_dTau3(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
public double d4alphar_dTau4() {
double ret = CoolPropPINVOKE.AbstractState_d4alphar_dTau4(swigCPtr);
if (CoolPropPINVOKE.SWIGPendingException.Pending) throw CoolPropPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
}
|