viper man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

VIPER(1)							      VIPER(1)

NAME
       Viper - the simple FEniCS run-time plotter

SYNOPSIS
       viper [OPTIONS]

DESCRIPTION
       Viper  is  a minimalistic scientific plotter and run-time visualization
       module. Some its the features includes:

       * 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

OPTIONS
       -h, --help
	      Display help text and exit.

       -i file, --input file
	      Specify input file.

       -o file, --output file
	      Specify output file.

       -l lut file, --lut lut file
	      Specify lookup table (LUT) file.

       -d data file, --data data file
	      Specify data file.

EXAMPLE
       Viper has support for visualizing meshes and solutions in DOLFIN:

	    from dolfin import *

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

	    # 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")

BUGS
       Send   comments,	  questions,   bug    reports	 etc.	 to    fenics-
       viper@lists.launchpad.net.

LICENSE
       This program is free software: you can redistribute it and/or modify it
       under the terms of the GNU Lesser General Public License	 as  published
       by  the	Free  Software Foundation, either version 3 of the License, or
       (at your option) any later version.

       This program is distributed in the hope that it	will  be  useful,  but
       WITHOUT	ANY  WARRANTY;	without	 even  the  implied  warranty  of MER‐
       CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  GNU	Lesser
       General Public License for more details.

       You  should  have  received  a  copy  of	 the GNU Lesser General Public
       License	  along	   with	    this     program.	   If	  not,	   see
       <http://www.gnu.org/licenses/>.

AUTHOR
       Ola Skavhaug <skavhaug@simula.no>

       This manual page was written by Johannes Ring <johannr@simula.no>.

								      VIPER(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net