demos.filedriver_miniapp Module

This script is a miniapp that acts a Catalyst-instrumented simulation code. Instead of doing some computation, however, this script reads the files specified through command line arguments and provides the data read in as the simulation data.

Example usage:

mpirun -np 8 ./bin/pvbatch –sym -m paraview.demos.filedriver_miniapp

-g “/tmp/extracts/Wavelet1_*.pvti” -s /tmp/foo.py

paraview.demos.filedriver_miniapp.create_reader(files)[source]
paraview.demos.filedriver_miniapp.main(args)[source]

The main loop

paraview.demos.filedriver_miniapp.read_dataset(reader, time, rank, num_ranks)[source]