Viper 1.0.1

A minimalistic scientific plotter and run-time visualization module
Viper
  1 Screenshot
Viper is a minimalistic scientific plotter and run-time visualization module. It has support for visualizing meshes and solutions in DOLFIN.

Examples:

 from dolfin import *

 # Plot a mesh
 mesh = UnitCube(16, 16, 16)
 plot(mesh)

 # the following code is out of date!

 # Plot a scalar function
 u = Function("poisson.xml")
 plot(u)

 # Plot a vector function as a displacement field
 d = Function("elasticity.xml")
 plot(d, mode="displacement")

 # Save as png
 p = plot(mesh)
 p.write_png("mesh.png")
 
 # Save as VTK
 p = plot(u)
 p.write_vtk("poisson.vtk")


Viper depends on VTK with Python support.

Main features:

  • Light-weight and minimalistic
  • Extended keybindings
  • Interactive
  • Save as png, VTK
  • 2D and 3D
  • Scalar, vector, and displacement fields
  • Multiple input formats
  • In PyCC mode; direct plotting of numpy arrays over DOLFIN meshes
  • Can be used as standalone plotting application, or used as part of PyDOLFIN

last updated on:
January 8th, 2013, 21:56 GMT
price:
FREE!
homepage:
www.fenics.org
license type:
LGPL v2 (GNU Lesser General Public Lic... 
developed by:
Ola Skavhaug
category:
ROOT \ Science
Viper
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!
What's New in This Release:
  • This release provides some minor bug fixes for Viper. This will be the last Viper release since VTK-based plotting is now incorporated directly in DOLFIN 1.1.
read full changelog

Add your review!

SUBMIT