-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgrudge_tags.py
More file actions
33 lines (23 loc) · 834 Bytes
/
grudge_tags.py
File metadata and controls
33 lines (23 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from pytools.tag import Tag, UniqueTag
from transform_metadata import IsDOFArray, IsOpArray, ParameterValue, EinsumArgsTags
#from meshmode.transform_metadata import IsDOFArray, IsOpArray, ParameterValue, EinsumArgsTags
class KernelDataTag(Tag): # Delete this when no longer needed
"""A tag that applies to :class:`loopy.LoopKernel`. Kernel data provided
with this tag can be later applied to the kernel. This is used, for
instance, to specify kernel data in einsum kernels."""
def __init__(self, kernel_data):
self.kernel_data = kernel_data
class IsVecDOFArray(Tag):
pass
class IsFaceDOFArray(Tag):
pass
class IsVecOpArray(Tag):
pass
class IsSepVecDOFArray(Tag):
pass
class IsSepVecOpArray(Tag):
pass
class IsFaceMassOpArray(Tag):
pass
class IsFourAxisDOFArray(Tag):
pass