File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 3737from arraycontext import ArrayOrContainer
3838
3939from grudge .discretization import DiscretizationCollection
40- from grudge .dof_desc import as_dofdesc , VolumeDomainTag , ConvertibleToDOFDesc
40+ from grudge .dof_desc import (
41+ as_dofdesc ,
42+ VolumeDomainTag ,
43+ BoundaryDomainTag ,
44+ ConvertibleToDOFDesc )
4145
4246from numbers import Number
4347
@@ -64,6 +68,8 @@ def project(
6468 contextual_volume_tag = None
6569 if isinstance (src_dofdesc .domain_tag , VolumeDomainTag ):
6670 contextual_volume_tag = src_dofdesc .domain_tag .tag
71+ elif isinstance (src_dofdesc .domain_tag , BoundaryDomainTag ):
72+ contextual_volume_tag = src_dofdesc .domain_tag .volume_tag
6773
6874 tgt_dofdesc = as_dofdesc (tgt , _contextual_volume_tag = contextual_volume_tag )
6975
You can’t perform that action at this time.
0 commit comments