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

Make pyvisfile non-editable #1046

Merged
merged 3 commits into from
Jul 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ git+https://github.com/mpi4py/mpi4py#egg=mpi4py
--editable git+https://github.com/pyrometheus/pyrometheus.git@tulio/entropy#egg=pyrometheus
--editable git+https://github.com/illinois-ceesd/logpyle.git#egg=logpyle
--editable git+https://github.com/kaushikcfd/feinsum.git#egg=feinsum
--editable git+https://github.com/inducer/pyvisfile.git#egg=pyvisfile

# Non-editable due to https://github.com/inducer/pyvisfile/issues/45
git+https://github.com/inducer/pyvisfile.git#egg=pyvisfile
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
Loading