- Install xeus-cling
- Install pyglvis
- this is for the widget frontend, we will update the install to improve this step in the future
#include "path/to/your/xeus-glvis/include/xglvis.hpp";
const std::string stream = glvis::read_file("path/to/stream.saved");
auto glv = glvis::glvis();
glv.plot(stream);
glv
#include "path/to/your/xeus-glvis/include/xglvis.hpp";
std::stringstream ss;
ss << "solution\n" << mesh << x << flush;
auto glv = glvis::glvis();
glv.plot(ss.str());
glv
// update a time-dependent solution:
glv.update(stream_string);
// change the plot size:
glv.size_size(width, height);
- Constructor that takes an
std::string
- Routines that take a
Mesh
andGridFunction
- binder example