pynbody / genetIC

The GM initial conditions generator
GNU General Public License v3.0
21 stars 8 forks source link

Splice potential #121

Closed AnatoleStorck closed 1 week ago

AnatoleStorck commented 11 months ago

Adding a few functionalities, the biggest being the ability to splice the potential field instead of only the density field. Added an additional minimization technique (MINRES) which appears to be much faster than CG for both splicing types. To perform potential splicing, one should comment out the -DZELDOVICH_GRADIENT_FOURIER_SPACE flag in the Makefile, and enable MINRES (in the param file using set_minimization MINRES).

apontzen commented 1 week ago

Superseded by #127