Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose phase envelope calculations in javascript #819

Closed
ibell opened this issue Sep 25, 2015 · 1 comment
Closed

Expose phase envelope calculations in javascript #819

ibell opened this issue Sep 25, 2015 · 1 comment
Assignees
Milestone

Comments

@ibell
Copy link
Contributor

ibell commented Sep 25, 2015

No description provided.

@ibell ibell added this to the v5.2 milestone Oct 8, 2015
@ibell ibell self-assigned this Nov 16, 2015
@ibell ibell modified the milestones: v5.1.2, v5.2 Dec 20, 2015
@ibell
Copy link
Contributor Author

ibell commented Dec 20, 2015

Snippet of use in js:

var AS = Module.factory("HEOS", "Propane&Decane");
var z = new Module.VectorDouble(); 
z.push_back(0.5); 
z.push_back(0.5);
AS.set_mole_fractions(z);
AS.build_phase_envelope("");
console.log(AS.gas_constant());

@ibell ibell closed this as completed in fcf641e Dec 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant