Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dolfin_dic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
BERBEROGLU Ezgi
dolfin_dic
Commits
d5541e16
Commit
d5541e16
authored
5 years ago
by
Martin Genet
Browse files
Options
Downloads
Patches
Plain Diff
numpy_to_vtkIdTypeArray expects a numpy.int64 array
parent
751f74fd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mesh2ugrid.py
+1
-1
1 addition, 1 deletion
mesh2ugrid.py
with
1 addition
and
1 deletion
mesh2ugrid.py
+
1
−
1
View file @
d5541e16
...
...
@@ -72,7 +72,7 @@ def mesh2ugrid(
# print("n_nodes_per_cell = "+str(n_nodes_per_cell))
np_connectivity
=
numpy
.
empty
(
[
n_cells
,
n_nodes_per_cell
+
1
],
dtype
=
int
)
dtype
=
numpy
.
int
)
for
i
in
range
(
n_cells
):
np_connectivity
[
i
,
0
]
=
n_nodes_per_cell
np_connectivity
[
i
,
1
:]
=
fs
.
dofmap
().
cell_dofs
(
i
)
...
...
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