Skip to content

Commit

Permalink
Remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
jngrad committed Feb 5, 2024
1 parent 8fcfeea commit 912c46f
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 3,173 deletions.
6 changes: 0 additions & 6 deletions maintainer/walberla_kernels/generate_ek_kernels.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,6 @@ def replace_getData_with_uncheckedFastGetData(filename: str) -> None:
index_shape=density_field.index_shape,
target=target)

pystencils_walberla.generate_pack_info_from_kernel(
ctx,
f"DensityPackInfo_{precision_suffix}",
ek_electrostatic.continuity(),
target=target)

# ek reactions
for i in range(1, max_num_reactants + 1):
assignments = list(reaction_obj.generate_reaction(num_reactants=i))
Expand Down
43 changes: 0 additions & 43 deletions src/core/ek/ek_reactions.cpp

This file was deleted.

22 changes: 0 additions & 22 deletions src/python/espressomd/lb.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,6 @@ def __getitem__(self, key):
def __str__(self):
return f"{self.__class__.__name__}({self.get_params()})"

def _activate(self):
self._activate_method()

def _deactivate(self):
self._deactivate_method()

def _activate_method(self):
self.call_method("activate")
utils.handle_errors("HydrodynamicInteraction activation failed")

def _deactivate_method(self):
self.call_method("deactivate")
utils.handle_errors("HydrodynamicInteraction deactivation failed")

def validate_params(self, params):
pass

Expand Down Expand Up @@ -342,13 +328,6 @@ class LBFluidNodeWalberla(ScriptInterfaceHelper):
def required_keys(self):
return {"parent_sip", "index"}

def __init__(self, *args, **kwargs):
if "sip" not in kwargs:
super().__init__(*args, **kwargs)
utils.handle_errors("LBFluidNode instantiation failed")
else:
super().__init__(**kwargs)

def __reduce__(self):
raise NotImplementedError("Cannot serialize LB fluid node objects")

Expand Down Expand Up @@ -494,7 +473,6 @@ def __init__(self, *args, **kwargs):
slice_range, grid_size)
node = LBFluidNodeWalberla(index=np.array([0, 0, 0]), **kwargs)
super().__init__(*args, node_sip=node, **kwargs, **extra_kwargs)
utils.handle_errors("LBFluidSliceWalberla instantiation failed")

def __iter__(self):
lower, upper = self.call_method("get_slice_ranges")
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit 912c46f

Please sign in to comment.