Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
teqp_fork_old
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sven Michael Pohl
teqp_fork_old
Commits
063e45c6
Commit
063e45c6
authored
2 years ago
by
Ian Bell
Browse files
Options
Downloads
Patches
Plain Diff
Fix all the normal double precision stuff
parent
e325aabe
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
externals/mcx
+1
-1
1 addition, 1 deletion
externals/mcx
include/teqp/models/cubics.hpp
+1
-1
1 addition, 1 deletion
include/teqp/models/cubics.hpp
with
2 additions
and
2 deletions
mcx
@
ec2a7273
Compare
39471f3b
...
ec2a7273
Subproject commit
39471f3ba1cc6c3846c80aeec90a07787be195b0
Subproject commit
ec2a72739b884032e7bbd87a9b06aa0dadfbe372
This diff is collapsed.
Click to expand it.
include/teqp/models/cubics.hpp
+
1
−
1
View file @
063e45c6
...
...
@@ -141,7 +141,7 @@ public:
throw
std
::
invalid_argument
(
"Sizes do not match"
);
}
auto
b
=
get_b
(
T
,
molefrac
);
auto
Psiminus
=
-
1.0
*
log
(
1.0
-
b
*
rho
);
auto
Psiminus
=
-
log
(
1.0
-
b
*
rho
);
auto
Psiplus
=
log
((
Delta1
*
b
*
rho
+
1.0
)
/
(
Delta2
*
b
*
rho
+
1.0
))
/
(
b
*
(
Delta1
-
Delta2
));
auto
val
=
Psiminus
-
get_a
(
T
,
molefrac
)
/
(
Ru
*
T
)
*
Psiplus
;
return
forceeval
(
val
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment