Commit b88221b9 authored by Tomi J. Lindroos's avatar Tomi J. Lindroos
Browse files

Removing Eps values from r_reserve for a small improvement in speed and results file size

parent ffe96ecb
...@@ -16,8 +16,9 @@ along with Backbone. If not, see <http://www.gnu.org/licenses/>. ...@@ -16,8 +16,9 @@ along with Backbone. If not, see <http://www.gnu.org/licenses/>.
$offtext $offtext
// for performance, get rid of any zeros in r_gen (r_gen was already missing many zero values anyway) // for performance, get rid of any zeros in r_gen and r_reserve. Many zero values missing anyway.
r_gen(gnu, f, t)$((r_gen(gnu, f, t)=0)$r_gen(gnu, f, t))=0; r_gen(gnu, f, t)$((r_gen(gnu, f, t)=0)$r_gen(gnu, f, t))=0;
r_reserve(restype, up_down, gnu, f, t)$((r_reserve(restype, up_down, gnu, f, t)=0)$r_reserve(restype, up_down, gnu, f, t))=0;
* ============================================================================= * =============================================================================
* --- Time Step Dependent Results --------------------------------------------- * --- Time Step Dependent Results ---------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment