diff --git a/python/dune/perftool/sumfact/geometry.py b/python/dune/perftool/sumfact/geometry.py index 25225ba2c248b7aeae3e8004d615c2a1ef7b9f3c..8455f78bda074359c7668e2c4674f7886741aea9 100644 --- a/python/dune/perftool/sumfact/geometry.py +++ b/python/dune/perftool/sumfact/geometry.py @@ -35,9 +35,6 @@ from dune.perftool.sumfact.realization import (name_buffer_storage, ) from dune.perftool.sumfact.switch import get_facedir, get_facemod from dune.perftool.sumfact.symbolic import SumfactKernelInterfaceBase, SumfactKernel -from dune.perftool.sumfact.tabulation import (quadrature_points_per_direction, - BasisTabulationMatrix, - ) from dune.perftool.sumfact.vectorization import attach_vectorization_info from dune.perftool.tools import get_pymbolic_basename from dune.perftool.options import get_form_option, option_switch diff --git a/python/dune/perftool/sumfact/symbolic.py b/python/dune/perftool/sumfact/symbolic.py index 424b87142b6846f390e25c8e995509a6144e0ea0..bed72373ac6da4f6d24829844d22bddaaf7c7a3d 100644 --- a/python/dune/perftool/sumfact/symbolic.py +++ b/python/dune/perftool/sumfact/symbolic.py @@ -271,9 +271,10 @@ class SumfactKernel(SumfactKernelBase, ImmutableRecord, prim.Variable): Arguments: ---------- - matrix_sequence: A tuple of BasisTabulationMatrixBase instances - The list of tensors to be applied to the input. - Order of application is from 0 up. + matrix_sequence: A tuple of BasisTabulationMatrixBase instances The + list of tensors to be applied to the input ordered from direction 0 + to d-1. This might not be the order in which the tensors will be + applied. buffer: A string identifying the flip flop buffer in use for intermediate results. The memory is expected to be pre-initialized with the input or you have to provide diff --git a/python/dune/perftool/sumfact/tabulation.py b/python/dune/perftool/sumfact/tabulation.py index de13c45c3105e8c0e7411d1d849f7f55f4629e96..e913ed6243ff50f1e028bcff41dc2d2547e0c690 100644 --- a/python/dune/perftool/sumfact/tabulation.py +++ b/python/dune/perftool/sumfact/tabulation.py @@ -51,6 +51,17 @@ class BasisTabulationMatrix(BasisTabulationMatrixBase, ImmutableRecord): slice_size=None, slice_index=None, ): + """ + Arguments: + ---------- + basis_size: Number of 1D basis functions in this direction + transpose: Do we need the transposed of this matrix + derivative: Do we use derivaties of the basis functions for this direction + face: On a face with the normal direction equal to direction this is facemod (else it is None) + direction: Direction corresponding to this matrix + slice_size: Number of slices for this direction + slice_index: To which slice does this belong + """ assert(isinstance(basis_size, int)) ImmutableRecord.__init__(self, basis_size=basis_size,