Update examples showing call to bicubic backend; closes #578

This commit is contained in:
Ian Bell
2015-04-06 23:28:12 -06:00
parent 219e0f031e
commit 8b9688c8ec

View File

@@ -313,6 +313,59 @@ low_level_interface = [
"'K'"
],
"EOL":True
},
{
"type": "print",
"arguments": [ "'*********** TABULAR BACKENDS *****************'" ],
"EOL":True
},
{
"type": "custom_assignment",
"variable_type": "AbstractState",
"variable_name": "TAB",
"RHS": {
"type": "function",
"function": "factory",
"arguments": [
"'BICUBIC&HEOS'", "'R245fa'"
]
},
"EOL":True
},
{
"type": "class_dereference",
"name": "TAB",
"RHS": {
"type": "function",
"function": "update",
"arguments": [
{
"type": "enum",
"enum": "input_pairs",
"key": "PT_INPUTS"
},
"101325", "300"
]
},
"EOL":True
},
{
"type": "print",
"arguments": [
"'Mass density of refrigerant R245fa at 300 K, 101325 Pa:'",
{
"type": "class_dereference",
"name": "TAB",
"RHS": {
"type": "function",
"function": "rhomass",
"arguments": []
}
},
"'kg/m^3'"
],
"EOL":True
}
]