mirror of
https://github.com/cosmo-sims/monofonIC.git
synced 2024-09-19 17:03:45 +02:00
disabled ghost zone update since it can lead to crashes and is only used for glasses, hence disabled also glasses
This commit is contained in:
parent
b1d2ed2b5f
commit
4a82ab4723
2 changed files with 6 additions and 1 deletions
|
@ -44,7 +44,10 @@ struct grid_interpolate
|
|||
|
||||
if (is_distributed_trait)
|
||||
{
|
||||
update_ghosts( g );
|
||||
// this is broken currently, ghost zone update needs to be re-implemented
|
||||
// since it is only used for GLASS ICs, these will be disabled.
|
||||
//DISABLED:// update_ghosts( g );
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -155,6 +155,8 @@ namespace particle
|
|||
{
|
||||
if (lattice_type != lattice_glass)
|
||||
{
|
||||
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):
|
||||
|
|
Loading…
Reference in a new issue