puncproject / PUNCpp

Particles-in-UNstructured-Cells, C++ version
https://punc.readthedocs.io
GNU General Public License v3.0
12 stars 6 forks source link

Apply objects to matrix only once #48

Closed sigvaldm closed 6 years ago

sigvaldm commented 6 years ago

bc->apply(A) in PoissonSolver::solve doesn't have to be called every time step. It is enough to call it during initialization.

diakodarian commented 6 years ago

Done.