Skip to content
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

Visualization of quadrature functions #286

Merged
merged 60 commits into from
Jul 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
b9e0c53
Replaced literals by enum for input type.
najlkin Jun 27, 2024
f54568d
Added loading of quad functions to StreamState.
najlkin Jun 28, 2024
722a9de
Added loading of quadratures from stream.
najlkin Jun 28, 2024
59ae0ff
Simplified input options.
najlkin Jun 28, 2024
70af16f
Added enum class for the field type.
najlkin Jun 28, 2024
9f46ae8
Added extrusion of 1D quad functions to 2D.
najlkin Jun 28, 2024
47a2a1d
Minor reordering to priritize the original quad function.
najlkin Jun 28, 2024
dd7bd96
Added conversion to high-order L2 grid function.
najlkin Jun 28, 2024
8f22e3e
Used reference on quad function.
najlkin Jun 28, 2024
add5839
Fixed extrusion of 1D quad functions.
najlkin Jun 28, 2024
ec2f113
Fixed field type check.
najlkin Jun 28, 2024
c3137e6
Updated sample usage.
najlkin Jun 28, 2024
3c80af4
Added a message about quad func conversion.
najlkin Jun 28, 2024
9865d8b
Added LOR visualization of quad functions. Gauss-Lobatto for the moment.
najlkin Jun 28, 2024
02b7a06
Moved writing the stream to SteamState.
najlkin Jun 28, 2024
23213d5
Saved the original mesh before LOR.
najlkin Jun 28, 2024
ae845f6
Added scripts support for quadratures.
najlkin Jun 28, 2024
22f92de
Added moving of quadrature and its mesh in StreamState.
najlkin Jun 28, 2024
43b76ed
Added some resets of the mesh function.
najlkin Jul 1, 2024
7ae8e3f
Added a command for loading quadrature.
najlkin Jul 1, 2024
9bb5f76
Added state of the quadrature representation.
najlkin Jul 1, 2024
f77f780
Added a key (Q) for switching representation of quad functions.
najlkin Jul 1, 2024
e6b0e80
Fixed extrusion of 1D quads.
najlkin Jul 1, 2024
94ab3c1
Changed extrusion of quads to extrusion of its representation.
najlkin Jul 1, 2024
0a095cb
Switched LOR refinement to ClosedGL.
najlkin Jul 1, 2024
427a762
Added a note to README and CHANGELOG.
najlkin Jul 1, 2024
6fa2317
Added a check for tensor-product bases with HO representation.
najlkin Jul 1, 2024
0b9c332
Added default quadrature solution type.
najlkin Jul 2, 2024
d52af7f
Protected writes to the pointer members of StreamState to keep consis…
najlkin Jul 2, 2024
c63a983
Fixed move -> std::move.
najlkin Jul 2, 2024
ef8f294
Added continuation of the quad representation.
najlkin Jul 8, 2024
43ecc59
Fixed and simplified StreamState assignment operator.
najlkin Jul 8, 2024
f5451f3
Mentioned tensor basis in changelog.
najlkin Jul 8, 2024
9ed2a78
Fixed loading of scripts.
najlkin Jul 8, 2024
2bbee2b
Fixed parallel assert in CollectQuadratures().
najlkin Jul 9, 2024
b1dc68b
Fixed 3D vector fields projection for quads.
najlkin Jul 9, 2024
8a8c3db
Extended the check for tensor-product elements.
najlkin Jul 9, 2024
597a944
Added L2 projection.
najlkin Jul 10, 2024
c4ee221
Merge branch 'master' into najlkin/quad-func-dev
tzanio Jul 17, 2024
e026126
Changed the word quadrature in CHANGELOG
najlkin Jul 17, 2024
1a3b209
Merge branch 'najlkin/quad-func-dev' of github.com:glvis/glvis into n…
tzanio Jul 17, 2024
226fd1b
Improved README.md
najlkin Jul 17, 2024
137c9a3
Added Q key mention to the help strings.
najlkin Jul 17, 2024
6b6c6f3
Changed quadrature -> quadrature data.
najlkin Jul 17, 2024
7a21a22
Merge branch 'najlkin/quad-func-dev' of github.com:glvis/glvis into n…
tzanio Jul 17, 2024
47c1935
minor
tzanio Jul 17, 2024
f25e99e
updated test/data
tzanio Jul 18, 2024
8c2dad0
Changed shading from int to enum class.
najlkin Jul 18, 2024
c730066
Moved shading to VisualizationSceneScalarData.
najlkin Jul 18, 2024
f4f16cb
Added quad mesh lines visualization to 2D scalars.
najlkin Jul 18, 2024
4cb452c
Added quad mesh lines visualization to 2D vectors.
najlkin Jul 18, 2024
302802d
Fixed move of shading.
najlkin Jul 18, 2024
0554337
Added quad lines for scalar 3D.
najlkin Jul 19, 2024
02e8f73
Added quad lines for scalar 3D cplane=2.
najlkin Jul 19, 2024
04938f0
Fixed cutting plane outer edge detection.
najlkin Jul 19, 2024
55694c8
Unified codebase in 3D scalars.
najlkin Jul 19, 2024
1157a97
Fixed 3D coarse meshlines for refined edges.
najlkin Jul 19, 2024
5d27384
Added quad mesh lines to vector 3D.
najlkin Jul 19, 2024
95f8336
Minor optimization.
najlkin Jul 19, 2024
f560f04
Updated CHANGELOG.
najlkin Jul 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ Version 4.2.1 (development)

- Added a compilation parameter for the default font size.

- Added visualization of quadrature data (QuadratureFunction in MFEM). Both
loading from file, with the new command line argument '-q', or from a socket
stream, with the keyword 'quadrature', are supported. Three visualization
options are provided: piece-wise constants on a refined mesh (LOR), L2 field
with DOFs collocated (interpolation), or projection to discontinuous elements
(L2 projection). Use 'Q' to switch between them. High-order quadrature data is
supported only for tensor finite elements with the first two options. With the
first option, only the mesh lines of the original mesh are visualized. This
feature is also supported for the element-wise cutting plane (cplane=2).


Version 4.2 released on May 23, 2022
====================================
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ Key commands
- <kbd>Ctrl</kbd> + <kbd>p</kbd> – Print to a PDF file using `gl2ps`. Other
vector formats (SVG, EPS) are also possible, but keep in mind that the
printing takes a while and the generated files are big.
- <kbd>Q</kbd> – Cycle between representations of the visualized *quadrature data*. The options are:
- piece-wise constant refined (LOR)
- L2 element dof collocation (interpolation)
- L2 element projection (L2 projection)
- <kbd>q</kbd> – Exit

## Advanced
Expand Down
Loading
Loading