Skip to content

Commit

Permalink
added warning for potential splicing with the 'ZELDOVICH_GRADIENT_FOU…
Browse files Browse the repository at this point in the history
…RIER_SPACE' flag activated
  • Loading branch information
AnatoleStorck committed Oct 6, 2024
1 parent 3ec60ca commit c796fd6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions genetIC/src/ic.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1761,6 +1761,9 @@ class ICGenerator {
}

virtual void splicePotential(size_t newSeed) {
#ifdef ZELDOVICH_GRADIENT_FOURIER_SPACE
logging::entry(logging::level::warning) << "WARNING: The code was compiled with the 'ZELDOVICH_GRADIENT_FOURIER_SPACE' flag activated, but the potential field is being spliced." << std::endl;
#endif
spliceWithFactor(newSeed, -2);
}

Expand Down

0 comments on commit c796fd6

Please sign in to comment.