From 0401c934abc3d001da8ccc0a99b19f9b8f919520 Mon Sep 17 00:00:00 2001 From: Piyush Sharda Date: Thu, 29 Aug 2024 15:57:23 +0200 Subject: [PATCH] revert --- networks/primordial_chem/actual_network.H | 2 -- networks/primordial_chem/actual_network_data.cpp | 9 --------- 2 files changed, 11 deletions(-) diff --git a/networks/primordial_chem/actual_network.H b/networks/primordial_chem/actual_network.H index cad3e38f37..9c01915759 100644 --- a/networks/primordial_chem/actual_network.H +++ b/networks/primordial_chem/actual_network.H @@ -26,6 +26,4 @@ namespace Rates } -void balance_charge(burn_t& state); - #endif diff --git a/networks/primordial_chem/actual_network_data.cpp b/networks/primordial_chem/actual_network_data.cpp index 5c4665a6c2..4d65a7996a 100644 --- a/networks/primordial_chem/actual_network_data.cpp +++ b/networks/primordial_chem/actual_network_data.cpp @@ -10,12 +10,3 @@ void actual_network_init() { } - -void balance_charge(burn_t& state) -{ - - // update the number density of electrons due to charge conservation - state.xn[0] = -state.xn[3] - state.xn[7] + state.xn[1] + state.xn[12] + - state.xn[6] + state.xn[4] + state.xn[9] + 2.0 * state.xn[11]; - -}