Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use updated loopy #1047

Merged
merged 12 commits into from
Jul 20, 2024
Merged
17 changes: 3 additions & 14 deletions examples/poiseuille-multispecies.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

from meshmode.mesh import BTAG_ALL, BTAG_NONE # noqa

from grudge.eager import EagerDGDiscretization
from mirgecom.discretization import create_discretization_collection
from grudge.shortcuts import make_visualizer
from grudge.dof_desc import BoundaryDomainTag

Expand Down Expand Up @@ -156,22 +156,11 @@ def main(actx_class, use_overintegration=False, use_leap=False, casename=None,
generate_mesh)
local_nelements = local_mesh.nelements

from grudge.dof_desc import DISCR_TAG_BASE, DISCR_TAG_QUAD
from meshmode.discretization.poly_element import \
default_simplex_group_factory, QuadratureSimplexGroupFactory

order = 2
dcoll = EagerDGDiscretization(
actx, local_mesh,
discr_tag_to_group_factory={
DISCR_TAG_BASE: default_simplex_group_factory(
base_dim=local_mesh.dim, order=order),
DISCR_TAG_QUAD: QuadratureSimplexGroupFactory(2*order + 1)
},
mpi_communicator=comm
)
dcoll = create_discretization_collection(actx, local_mesh, order)
nodes = actx.thaw(dcoll.nodes())

from grudge.dof_desc import DISCR_TAG_QUAD
if use_overintegration:
quadrature_tag = DISCR_TAG_QUAD
else:
Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ ignore_missing_imports = True
[mypy-meshmode.*]
ignore_missing_imports = True

[mypy-pytato.*]
ignore_missing_imports = True

[mypy-grudge.*]
ignore_missing_imports = True

Expand Down