@@ -51,7 +51,6 @@ class ContextBase(ProxyKernelInterface):
5151 keywords = (
5252 'ufl_cell' ,
5353 'fiat_cell' ,
54- 'domain_integral_type_map' ,
5554 'integration_dim' ,
5655 'entity_ids' ,
5756 'argument_multiindices' ,
@@ -165,7 +164,7 @@ def preprocess(self, expr, context):
165164 @property
166165 def config (self ):
167166 config = {name : getattr (self .interface , name )
168- for name in ["ufl_cell" , "index_cache" , "scalar_type" , "domain_integral_type_map" ]}
167+ for name in ["ufl_cell" , "index_cache" , "scalar_type" ]}
169168 config ["interface" ] = self .interface
170169 return config
171170
@@ -379,7 +378,7 @@ def cell_avg(self, o):
379378 integrand , degree , argument_multiindices = entity_avg (integrand / CellVolume (domain ), measure , self .context .argument_multiindices )
380379
381380 config = {name : getattr (self .context , name )
382- for name in ["ufl_cell" , "index_cache" , "scalar_type" , "domain_integral_type_map" ]}
381+ for name in ["ufl_cell" , "index_cache" , "scalar_type" ]}
383382 config .update (quadrature_degree = degree , interface = self .context ,
384383 argument_multiindices = argument_multiindices )
385384 expr , = compile_ufl (integrand , PointSetContext (** config ), point_sum = True )
@@ -396,8 +395,7 @@ def facet_avg(self, o):
396395
397396 config = {name : getattr (self .context , name )
398397 for name in ["ufl_cell" , "index_cache" , "scalar_type" ,
399- "integration_dim" , "entity_ids" ,
400- "domain_integral_type_map" ]}
398+ "integration_dim" , "entity_ids" ]}
401399 config .update (quadrature_degree = degree , interface = self .context ,
402400 argument_multiindices = argument_multiindices )
403401 expr , = compile_ufl (integrand , PointSetContext (** config ), point_sum = True )
@@ -559,7 +557,7 @@ def translate_cellvolume(terminal, mt, ctx):
559557 interface = CellVolumeKernelInterface (ctx , mt .restriction )
560558
561559 config = {name : getattr (ctx , name )
562- for name in ["ufl_cell" , "index_cache" , "scalar_type" , "domain_integral_type_map" ]}
560+ for name in ["ufl_cell" , "index_cache" , "scalar_type" ]}
563561 config .update (interface = interface , quadrature_degree = degree , use_canonical_quadrature_point_ordering = False )
564562 expr , = compile_ufl (integrand , PointSetContext (** config ), point_sum = True )
565563 return expr
@@ -574,7 +572,7 @@ def translate_facetarea(terminal, mt, ctx):
574572
575573 config = {name : getattr (ctx , name )
576574 for name in ["ufl_cell" , "integration_dim" , "scalar_type" ,
577- "entity_ids" , "index_cache" , "domain_integral_type_map" ]}
575+ "entity_ids" , "index_cache" ]}
578576 config .update (interface = ctx , quadrature_degree = degree , use_canonical_quadrature_point_ordering = False )
579577 expr , = compile_ufl (integrand , PointSetContext (** config ), point_sum = True )
580578 return expr
@@ -588,7 +586,7 @@ def translate_cellorigin(terminal, mt, ctx):
588586 point_set = PointSingleton ((0.0 ,) * domain .topological_dimension ())
589587
590588 config = {name : getattr (ctx , name )
591- for name in ["ufl_cell" , "index_cache" , "scalar_type" , "domain_integral_type_map" ]}
589+ for name in ["ufl_cell" , "index_cache" , "scalar_type" ]}
592590 config .update (interface = ctx , point_set = point_set , use_canonical_quadrature_point_ordering = False )
593591 context = PointSetContext (** config )
594592 return context .translator (expression )
@@ -601,7 +599,7 @@ def translate_cell_vertices(terminal, mt, ctx):
601599 ps = PointSet (numpy .array (ctx .fiat_cell .get_vertices ()))
602600
603601 config = {name : getattr (ctx , name )
604- for name in ["ufl_cell" , "index_cache" , "scalar_type" , "domain_integral_type_map" ]}
602+ for name in ["ufl_cell" , "index_cache" , "scalar_type" ]}
605603 config .update (interface = ctx , point_set = ps , use_canonical_quadrature_point_ordering = False )
606604 context = PointSetContext (** config )
607605 expr = context .translator (ufl_expr )
0 commit comments