Viper

  874 downloads
1.0.1 LGPL v2 (GNU Lesser General Public Lic...    
  not rated
A minimalistic scientific plotter and run-time visualization module

description

download

specifications

changelog

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.
READ MORE   
Last updated on January 8th, 2013
1  
Viper

0 User reviews so far.

SUBMIT