Skip to content
Snippets Groups Projects
Commit 65984364 authored by Ian Bell's avatar Ian Bell
Browse files

cube needs to come too

parent ac36d410
No related branches found
No related tags found
No related merge requests found
......@@ -75,6 +75,11 @@ class MultiFluidReducingFunction {
private:
Eigen::MatrixXd betaT, gammaT, betaV, gammaV, YT, Yv;
template <typename Num>
auto cube(Num x) {
return x * x * x;
}
public:
template<typename ArrayLike>
......
......@@ -5,11 +5,6 @@
#include "json.hpp"
#include "teqp/models/multifluid.hpp"
template <typename Num>
auto cube(Num x) {
return x*x*x;
}
auto build_multifluid_model(const std::vector<std::string>& components) {
using namespace nlohmann;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment