From 185a85ee2018a523a24fbc25ff9692f7f1046f5b Mon Sep 17 00:00:00 2001
From: Ian Bell <ian.bell@nist.gov>
Date: Mon, 22 Feb 2021 15:10:38 -0500
Subject: [PATCH] Move Hessian function placeholder

---
 include/teqp/derivs.hpp | 6 ++++++
 include/teqp/eos.hpp    | 8 +-------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/include/teqp/derivs.hpp b/include/teqp/derivs.hpp
index f9a5f16..59abe58 100644
--- a/include/teqp/derivs.hpp
+++ b/include/teqp/derivs.hpp
@@ -35,4 +35,10 @@ deriv3(const FuncType& f, TType T, const ContainerType& rho) {
 	rhocom[0] = comtype(rho[0], 0.0);
 	rhocom[1] = comtype(rho[1], h);
 	return f(T, rhocom).imag() / h;
+}
+
+template<typename Model, typename TType, typename RhoType>
+auto build_Psir_Hessian(const Model& model, const TType T, const RhoType& rho) {
+	// Double derivatives in each component's concentration
+
 }
\ No newline at end of file
diff --git a/include/teqp/eos.hpp b/include/teqp/eos.hpp
index dc63b3a..b30b9f8 100644
--- a/include/teqp/eos.hpp
+++ b/include/teqp/eos.hpp
@@ -91,10 +91,4 @@ public:
 		RhoType::value_type rhotot_ = (rhotot.has_value()) ? rhotot.value() : std::accumulate(std::begin(rho), std::end(rho), (RhoType::value_type)0.0);
 		return alphar(T, rho, rhotot_) * R * T * rhotot_;
 	}
-};
-
-template<typename Model, typename TType, typename RhoType>
-auto build_Psir_Hessian(const Model& model, const TType T, const RhoType& rho) {
-	// Double derivatives in each component's concentration
-
-}
\ No newline at end of file
+};
\ No newline at end of file
-- 
GitLab