dmorse / pscfpp

Polymer Self-Consistent Field Theory (C++/CUDA version)
https://pscf-home.cems.umn.edu
GNU General Public License v3.0
27 stars 20 forks source link

Hold ds constant rather than ns in fd1d::Block::setLength #105

Closed benmagruder closed 1 year ago

benmagruder commented 1 year ago

This PR makes the same modification as the previous PR, but in fd1d. ds now remains (nearly) constant during a sweep of block length, rather than ns. fd1d unit tests all pass, and a quick test of a block length sweep was performed to ensure that the intended behavior occurs, and it works as intended.