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
84ebc0fb
Commit
84ebc0fb
authored
2 years ago
by
Ian Bell
Browse files
Options
Downloads
Patches
Plain Diff
Expose get_a and get_b functions for cubics
Bump version
parent
4b3b24d3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
interface/cubics.cpp
+2
-0
2 additions, 0 deletions
interface/cubics.cpp
interface/teqpversion.hpp
+1
-1
1 addition, 1 deletion
interface/teqpversion.hpp
with
3 additions
and
1 deletion
interface/cubics.cpp
+
2
−
0
View file @
84ebc0fb
...
@@ -13,6 +13,8 @@ void add_cubics(py::module& m) {
...
@@ -13,6 +13,8 @@ void add_cubics(py::module& m) {
auto
wcub
=
py
::
class_
<
cub
>
(
m
,
"GenericCubic"
)
auto
wcub
=
py
::
class_
<
cub
>
(
m
,
"GenericCubic"
)
.
def
(
"get_meta"
,
&
cub
::
get_meta
)
.
def
(
"get_meta"
,
&
cub
::
get_meta
)
.
def
(
"superanc_rhoLV"
,
&
cub
::
superanc_rhoLV
)
.
def
(
"superanc_rhoLV"
,
&
cub
::
superanc_rhoLV
)
.
def
(
"get_a"
,
&
cub
::
get_a
<
double
,
Eigen
::
ArrayXd
>
,
py
::
arg
(
"T"
),
py
::
arg
(
"molefrac"
).
noconvert
())
.
def
(
"get_b"
,
&
cub
::
get_b
<
double
,
Eigen
::
ArrayXd
>
,
py
::
arg
(
"T"
),
py
::
arg
(
"molefrac"
).
noconvert
())
;
;
add_derivatives
<
cub
>
(
m
,
wcub
);
add_derivatives
<
cub
>
(
m
,
wcub
);
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
interface/teqpversion.hpp
+
1
−
1
View file @
84ebc0fb
#include
<string>
#include
<string>
const
std
::
string
TEQPVERSION
=
"0.9.3"
;
const
std
::
string
TEQPVERSION
=
"0.9.4.dev0"
;
\ No newline at end of file
\ No newline at end of file
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