Skip to content
Snippets Groups Projects
Commit e770fbb2 authored by René Heß's avatar René Heß
Browse files

Add property to GeoCornersInput

parent 0ad1a2dc
No related branches found
No related tags found
No related merge requests found
...@@ -71,12 +71,19 @@ class GeoCornersInput(SumfactKernelInterfaceBase, ImmutableRecord): ...@@ -71,12 +71,19 @@ class GeoCornersInput(SumfactKernelInterfaceBase, ImmutableRecord):
""" """
ImmutableRecord.__init__(self, direction=direction, restriction=restriction) ImmutableRecord.__init__(self, direction=direction, restriction=restriction)
def __repr__(self):
return ImmutableRecord.__repr__(self)
def __str__(self):
return repr(self)
@property @property
def stage(self): def stage(self):
return 1 return 1
def __repr__(self): @property
return ImmutableRecord.__repr__(self) def direct_is_possible(self):
return False
def realize(self, sf, insn_dep, index=0): def realize(self, sf, insn_dep, index=0):
# Note: world_dimension, since we only do evaluation of cell geometry mappings # Note: world_dimension, since we only do evaluation of cell geometry mappings
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment