Skip to content
Snippets Groups Projects
Commit f6805f17 authored by Asia Jędrzejewska-Szmek's avatar Asia Jędrzejewska-Szmek
Browse files

Add forgotten setting of helper variables to zero after calculations

Integration results were incorrect, because the helper variables were
not reset after every iteration.
parent f32bef60
No related branches found
No related tags found
1 merge request!205DifShell and DifBuffer implementation
......@@ -381,7 +381,8 @@ void DifBuffer::vProcess( const Eref & e, ProcPtr p )
prevFree_ = bFree_;
prevBound_ = bBound_;
Af_ = 0;
Bf_= 0;
/**
* Send ion concentration to ion buffers. They will send back information on
* the reaction (forward / backward rates ; free / bound buffer concentration)
......
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