dune-community / dune-xt-common

Other
2 stars 3 forks source link

Jupyter vtk #185

Closed renefritze closed 4 years ago

renefritze commented 5 years ago

This is basically a snapshot of the intermediate library I've created in pymor to work with k3d. As such there's probably a couple imports you'd have to fix. In theory you'd just have call

    from dune.xt.common.vtk import plot
    plot('somefilename.pvd', color_attribute_name='Data')

I have not tried this though.

I've also add infrastructure that should enable us to use binderhub in the future. Currently the underlying docker image will have the last recorded super module setup with all python bindings pre-built. Also not tested. Binder

codecov[bot] commented 5 years ago

Codecov Report

Merging #185 into master will increase coverage by 2.79%. The diff coverage is n/a.

Impacted Files Coverage Δ
dune/xt/common/vector.hh 76.92% <0%> (-15.19%) :arrow_down:
dune/xt/common/logging.cc 66.21% <0%> (-2.28%) :arrow_down:
dune/xt/common/float_cmp_generated.hxx 97.96% <0%> (-2.04%) :arrow_down:
dune/xt/common/math.hh 94.89% <0%> (-0.86%) :arrow_down:
dune/xt/common/random.hh 99.18% <0%> (-0.82%) :arrow_down:
dune/xt/common/logstreams.cc 80.68% <0%> (-0.36%) :arrow_down:
dune/xt/common/float_cmp.hh 100% <0%> (ø) :arrow_up:
dune/xt/common/timings.hh 100% <0%> (ø) :arrow_up:
dune/xt/common/parallel/threadstorage.hh 100% <0%> (ø) :arrow_up:
dune/xt/common/timedlogging.hh 100% <0%> (ø) :arrow_up:
... and 25 more
tobiasleibner commented 4 years ago

This can probably be closed?

ftalbrecht commented 4 years ago

Yes, this is done in my recent prs in dune-xt.