Draw grid view using Matplot library.
More...
#include <matplot/matplot.h>
#include <ranges>
#include <set>
#include <thread>
#include <dune/geometry/dimension.hh>
Go to the source code of this file.
|
template<typename GV > |
void | draw (const GV &gridView, bool forever=false) |
| Draw function for visualizing the elements of a DUNE grid view. More...
|
|
◆ draw()
template<typename GV >
void draw |
( |
const GV & |
gridView, |
|
|
bool |
forever = false |
|
) |
| |
This function uses the Matplot library to visualize the elements of a DUNE grid view. It draws the edges of the elements in either 2D or 3D space.
- Template Parameters
-
GV | The type of the DUNE grid view. |
- Parameters
-
gridView | The DUNE grid view to visualize. |
forever | If true, the plot will be displayed until closed; otherwise, it will be displayed for a short duration. |