1
0
Fork 0
mirror of https://github.com/cosmo-sims/monofonIC.git synced 2024-09-18 15:53:45 +02:00

moved warning that was in incorrect place

This commit is contained in:
Oliver Hahn 2022-02-09 17:56:56 +01:00
parent a015ec0f42
commit 819be9d48d

View file

@ -217,8 +217,6 @@ namespace particle
if (lattice_type >= 0) // These are the Bravais lattices
{
music::wlog << "Glass ICs will currently be incorrect due to disabled ghost zone updates! ";
// number of modes present in the field
const size_t num_p_in_load = field.local_size();
// unless SC lattice is used, particle number is a multiple of the number of modes (=num_p_in_load):
@ -330,6 +328,8 @@ namespace particle
}
else if( lattice_type == lattice_glass )
{
music::wlog << "Glass ICs will currently be incorrect due to disabled ghost zone updates! ";
glass_ptr_ = std::make_unique<glass>( cf, field );
particles_.allocate(glass_ptr_->size(), b64reals, b64ids, false);