mirror of
https://github.com/cosmo-sims/monofonIC.git
synced 2024-09-19 17:03:45 +02:00
moved warning that was in incorrect place
This commit is contained in:
parent
a015ec0f42
commit
819be9d48d
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue