Skip to content

Commit fb46b8d

Browse files
committed
Lint
1 parent f31a813 commit fb46b8d

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

firedrake/randomfields.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727

2828
from pyop2 import op2
2929
from pyop2.mpi import COMM_WORLD
30-
from pyop2.parloop import DatParloopArg
3130

3231
_default_pcg = PCG64()
3332

@@ -138,22 +137,9 @@ def WhiteNoise(V, rng=None, scale=1.0):
138137
include_dirs=BLASLAPACK_INCLUDE.split(),
139138
ldargs=BLASLAPACK_LIB.split())
140139

141-
# Construct arguments for par loop
142-
# ~ def get_map(x):
143-
# ~ return x.cell_node_map()
144140
i, _ = mass_ker.indices
145141

146-
# ~ (access, get_map, i, *, function, V)
147-
# ~ if i is None:
148-
# ~ map_ = get_map(V)
149-
# ~ return function.dat(access, map_)
150-
# ~ else:
151-
# ~ map_ = get_map(V[i])
152-
# ~ return function.dat[i](access, map_)
153-
154-
# ~ z_arg = _vector_arg(op2.READ, get_map, i, function=iid_normal, V=Vbrok)
155142
z_arg = iid_normal.dat(op2.READ, Vbrok.cell_node_map())
156-
# ~ b_arg = _vector_arg(op2.INC, get_map, i, function=wnoise, V=V)
157143
b_arg = wnoise.dat(op2.INC, V.cell_node_map())
158144
coords = mesh.coordinates
159145

0 commit comments

Comments
 (0)