-
Notifications
You must be signed in to change notification settings - Fork 92
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
Fix return type of evaluate_at_grid_nodes #1044
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -649,7 +649,7 @@ function test_vtk_export() | |
sdh_tri = SubDofHandler(dh, Set(2)) | ||
add!(sdh_tri, :u, ip_tri) | ||
close!(dh) | ||
u = collect(1:ndofs(dh)) | ||
u = collect(1.:ndofs(dh)) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So Int types won't work after this? Perhaps you can use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would argue that integer types should not work here, because we assume that the solutions are in some continuous space. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How to proceed? |
||
filename = "mixed_2d_grid" | ||
VTKGridFile(filename, dh) do vtk | ||
write_solution(vtk, dh, u) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I fix this consistently in this PR? Because other places use this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could do if you want to :)
Just noticed that this was not required after the changes here.
But it could depend on the resolution of the
Int
discussion below...