Skip to content

Commit

Permalink
Make pyvisfile non-editable (#1046)
Browse files Browse the repository at this point in the history
* Minor update - fix CI failures (#1047)

Co-authored-by: Mike Campbell <[email protected]>
  • Loading branch information
matthiasdiener and MTCam authored Jul 20, 2024
1 parent b66f17b commit 8d5e3eb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
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

0 comments on commit 8d5e3eb

Please sign in to comment.