Skip to content
Snippets Groups Projects
Commit a92e3832 authored by Sam Yates's avatar Sam Yates
Browse files

Address PR#82 review.

* Initialize voltage in `fvm_cell::initialize` to `resting_potential_`.
* Remove errant end-of-line whitespace.
* Fix merge conflict (merged master).
parent 34a13173
No related branches found
No related tags found
No related merge requests found
......@@ -82,7 +82,7 @@
*
* Resets state to initial conditiions and sets
* internal simulation time to 0.
*
*
* `lowered.advance(value_type dt)`
*
* Advanece simulation state by `dt` (value in
......@@ -325,7 +325,7 @@ void fvm_cell<T, I>::initialize(
face_alpha_ = vector_type{ncomp, T{0}};
cv_capacitance_ = vector_type{ncomp, T{0}};
current_ = vector_type{ncomp, T{0}};
voltage_ = vector_type{ncomp, T{0}};
voltage_ = vector_type{ncomp, T{resting_potential_}};
using util::left;
using util::right;
......
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