ryosuke-hirai / HORMONE

Repository for hydrodynamical code HORMONE
GNU General Public License v3.0
1 stars 1 forks source link

Optimize gravity smearing #78

Closed ryosuke-hirai closed 2 months ago

ryosuke-hirai commented 2 months ago

In a previous pull request #76, I forgot to apply the same changes to the gravity smearing. Here, I do the same optimization for gravity smearing and also introduced a new variable dvol_block. With this fix, we may not need to make dvol as a global variable any more.