Skip to content
Snippets Groups Projects
Commit 6c1ab8e0 authored by Sebastian Eibl's avatar Sebastian Eibl
Browse files

[BUGFIX] replaced remaining ONCE

parent e73c1fe2
Branches
Tags
No related merge requests found
...@@ -5,9 +5,9 @@ from ..utility import generateFile ...@@ -5,9 +5,9 @@ from ..utility import generateFile
class SyncGhostOwners: class SyncGhostOwners:
def __init__(self, p): def __init__(self, p):
p.addProperty("position", "walberla::mesa_pd::Vec3", defValue="real_t(0)", syncMode="ALWAYS") p.addProperty("position", "walberla::mesa_pd::Vec3", defValue="real_t(0)", syncMode="ALWAYS")
p.addProperty("interactionRadius", "walberla::real_t", defValue="real_t(0)", syncMode="ONCE") p.addProperty("interactionRadius", "walberla::real_t", defValue="real_t(0)", syncMode="ON_GHOST_CREATION")
p.addProperty("flags", "walberla::mesa_pd::data::particle_flags::FlagT", defValue="", syncMode="ONCE") p.addProperty("flags", "walberla::mesa_pd::data::particle_flags::FlagT", defValue="", syncMode="ON_GHOST_CREATION")
p.addProperty("owner", "int", defValue="-1", syncMode="ONCE") p.addProperty("owner", "int", defValue="-1", syncMode="ON_GHOST_CREATION")
p.addProperty("ghostOwners", "std::unordered_set<walberla::mpi::MPIRank>", defValue="", syncMode="NEVER") p.addProperty("ghostOwners", "std::unordered_set<walberla::mpi::MPIRank>", defValue="", syncMode="NEVER")
p.addProperty("neighborState", "std::unordered_set<walberla::mpi::MPIRank>", defValue="", syncMode="NEVER") p.addProperty("neighborState", "std::unordered_set<walberla::mpi::MPIRank>", defValue="", syncMode="NEVER")
......
...@@ -5,9 +5,9 @@ from ..utility import generateFile ...@@ -5,9 +5,9 @@ from ..utility import generateFile
class SyncNextNeighbors: class SyncNextNeighbors:
def __init__(self, p): def __init__(self, p):
p.addProperty("position", "walberla::mesa_pd::Vec3", defValue="real_t(0)", syncMode="ALWAYS") p.addProperty("position", "walberla::mesa_pd::Vec3", defValue="real_t(0)", syncMode="ALWAYS")
p.addProperty("interactionRadius", "walberla::real_t", defValue="real_t(0)", syncMode="ONCE") p.addProperty("interactionRadius", "walberla::real_t", defValue="real_t(0)", syncMode="ON_GHOST_CREATION")
p.addProperty("flags", "walberla::mesa_pd::data::particle_flags::FlagT", defValue="", syncMode="ONCE") p.addProperty("flags", "walberla::mesa_pd::data::particle_flags::FlagT", defValue="", syncMode="ON_GHOST_CREATION")
p.addProperty("owner", "int", defValue="-1", syncMode="ONCE") p.addProperty("owner", "int", defValue="-1", syncMode="ON_GHOST_CREATION")
p.addProperty("ghostOwners", "std::unordered_set<walberla::mpi::MPIRank>", defValue="", syncMode="NEVER") p.addProperty("ghostOwners", "std::unordered_set<walberla::mpi::MPIRank>", defValue="", syncMode="NEVER")
def generate(self, path): def generate(self, path):
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment