Skip to content

Commit e23e07a

Browse files
committed
Added a comment
1 parent a11f82e commit e23e07a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pySDC/helpers/spectral_helper.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1561,6 +1561,10 @@ def setup_fft(self, real_spectral_coefficients=False):
15611561
self.BC_rhs_mask = self.newDistArray().astype(bool)
15621562

15631563
def newDistArray(self, pfft=None, forward_output=True, val=0, rank=1, view=False):
1564+
"""
1565+
Get an empty distributed array. This is almost a copy of the function of the same name from mpi4py-fft, but
1566+
takes care of all the solution components in the tensor.
1567+
"""
15641568
if self.comm is None:
15651569
return self.xp.zeros(self.init[0], dtype=self.init[2])
15661570
from mpi4py_fft.distarray import DistArray

0 commit comments

Comments
 (0)