-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update VTK export to use CellValues for evalutation (#703)
This patch deprecates `reshape_to_nodes` in favor of the new `evaluate_at_grid_nodes` function which more or less does the same thing. `evaluate_at_grid_nodes` uses the interpolation of the field to evaluate the approximated function in the cell coordinates (by using `reference_coordinates` of the cell as quadrature points). This is much simpler, and more correct, compared to figuring out which Dofs live on which node etc. In particular, this now support non-standard interpolations which may not even have dofs in the nodes. Fixes #167.
- Loading branch information
1 parent
ade9292
commit c6c185c
Showing
13 changed files
with
194 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ PointLocation | |
``` | ||
|
||
```@docs | ||
reshape_to_nodes | ||
evaluate_at_grid_nodes | ||
``` | ||
|
||
## VTK Export | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
583629fb1f6fbfef2b39ddb5b5ff7ad75e80c452 bfe3abdf46439ef482481cbb44007de0c8163cb5 | ||
526c913db3b1f865d60457691b3fe6f3b6d86ba6 7b79f1673f306a6c6946f15ca47bdd82dfa2ddd7 | ||
1c550930b72784a65d2f050332bf593e89f14ce7 f86b222bb99cc4dc1c305926c97ce7fb6d719e93 | ||
a662f6e6c3058d855247d9b84a490526f5f67a51 c69129e0772a80ec66c25a6292923425d9d0147b | ||
4ce02c9b5b826241b6a897e7787fc24f3b35cdc7 a5003cbddac9bb5279fce2dd4d6f26cd0912f3d8 | ||
b0b823643aeae36d76a3eb595948d1fd30741497 de64ce04d606c6ce65fc1bf1037615298ae7e6ad | ||
a8bef24afbbb5ad5312b737d31b96d32eb7dad83 a56a590c396991212ad11479350e361da5bf3f0b | ||
177cd2b062cc891fd2f136b652c65f1e0c43af48 b47d749c87047dca00042e3dd7fdea1fa5093c64 | ||
805bbd111ecda9d183d13aa589c48ac3446da879 49f2b223e5d879547929af68cc9f7cdeaf5d6e34 | ||
18cdbe4814d43094311326b52bc335fb3ff92bee bf4a3944cd543b62e5167cd1e2843b7737c98813 | ||
1784b287b510ec914ac90431d5787d16dd971133 30f412be44de0bdf7a10aed76eb68d9b5a829fc3 | ||
db332958bb97d6faed25906b97f5055c41cdc6d0 5de50b1252e2661cd9a328d7fd60d8b2eaac6d88 | ||
a33a6de39351c412b1d3a9ae6fe7f43ab5ad0d71 ddf46e899f5e794bdde219542e1fc5306fc3f300 | ||
f732bc27449a09d4d692c09c91a24dfeec83fc40 af85d3c63022093247149625ee531c0d6c122df8 | ||
95c21da692f2ebcf0536e3a20aa55af19e261320 1fc24de1e8c5e06dcd4e4f1cd6544c842845f35e | ||
26b7822c42670c91231261d253e9a825883af31b ddef1b065aa323bb886322f50918504d3cbb18a0 | ||
4c8b74e9fd8e24098f873784abdfd0af999dacee 6d86368c529bf5cf7ae28e23a8094501d914d05f | ||
a19974597c7590e0d0ae97615b16d9e63e8f175e 850c991e66f7cf50b9607d0331dfdea7cb528b23 | ||
bfe3abdf46439ef482481cbb44007de0c8163cb5 | ||
af57736b2872ef8de26c96c574e369817ccf429e | ||
f86b222bb99cc4dc1c305926c97ce7fb6d719e93 | ||
ae881a49e6298ac25d9a460bc217de0830087743 | ||
a5003cbddac9bb5279fce2dd4d6f26cd0912f3d8 | ||
23a709dc8931bb2de0bdba793bc290af1a11f16a | ||
a56a590c396991212ad11479350e361da5bf3f0b | ||
6c43f459bbea5e3a9f79ec5da91ef9bc8e223027 | ||
49f2b223e5d879547929af68cc9f7cdeaf5d6e34 | ||
dde376ca8547021a77ca260f79f5bb7e34b7c70b | ||
30f412be44de0bdf7a10aed76eb68d9b5a829fc3 | ||
c7e61d0f1015d78f5250f9a5771bfba23be005cd | ||
ddf46e899f5e794bdde219542e1fc5306fc3f300 | ||
7f02dc00f8f55db50ea752400c0f97779d9f0c93 | ||
1fc24de1e8c5e06dcd4e4f1cd6544c842845f35e | ||
6c41cbbbcdbefda0afb6208295e6eab9cec6f812 | ||
6d86368c529bf5cf7ae28e23a8094501d914d05f | ||
11549a1498556572a8cfa052b3b06b660fbfe05e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
d071d39ff0bf77c03a31421a30b10d665215da46 26a043f0c0081e04d47f32227bc904fdf2e78c33 | ||
82b8f8bb6c474e03b096cbb6d138d30adbc12583 5959ea78d8b7fed7a19ca7102a0c1b9a8340f792 | ||
26a043f0c0081e04d47f32227bc904fdf2e78c33 | ||
5959ea78d8b7fed7a19ca7102a0c1b9a8340f792 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.