Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
meshmode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiaoyu Wei
meshmode
Commits
3486e049
Commit
3486e049
authored
8 years ago
by
Andreas Klöckner
Browse files
Options
Downloads
Patches
Plain Diff
Make refiner-generated data structure match docs (fix attr typo)
parent
8184ec57
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
meshmode/mesh/refinement/__init__.py
+1
-1
1 addition, 1 deletion
meshmode/mesh/refinement/__init__.py
meshmode/mesh/refinement/utils.py
+1
-1
1 addition, 1 deletion
meshmode/mesh/refinement/utils.py
with
2 additions
and
2 deletions
meshmode/mesh/refinement/__init__.py
+
1
−
1
View file @
3486e049
...
...
@@ -797,7 +797,7 @@ class Refiner(object):
assert
neighbors_starts
[
-
1
]
==
len
(
neighbors
)
from
meshmode.mesh
import
NodalAdjacency
return
NodalAdjacency
(
neighbor_starts
=
neighbors_starts
,
neighbors
=
neighbors
)
return
NodalAdjacency
(
neighbor
s
_starts
=
neighbors_starts
,
neighbors
=
neighbors
)
# }}}
...
...
This diff is collapsed.
Click to expand it.
meshmode/mesh/refinement/utils.py
+
1
−
1
View file @
3486e049
...
...
@@ -64,7 +64,7 @@ def check_nodal_adj_against_geometry(mesh, tol=1e-12):
for
igrp
,
grp
in
enumerate
(
mesh
.
groups
):
for
iel_grp
in
range
(
grp
.
nelements
):
iel_g
=
group_and_iel_to_global_iel
(
igrp
,
iel_grp
)
nb_starts
=
nadj
.
neighbor_starts
nb_starts
=
nadj
.
neighbor
s
_starts
for
nb_iel_g
in
nadj
.
neighbors
[
nb_starts
[
iel_g
]:
nb_starts
[
iel_g
+
1
]]:
connected_to_element_connectivity
[
iel_g
].
add
(
nb_iel_g
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment