This script is miniapp that acts as a sim code. It uses vtkRTAnalyticSource to generate a temporal dataset which are treated as the simulation generate data. One can pass command line arguments to control the parameters of the generated data. Additional command line arguments can be passed to provide a Catalyst co-processing script for in situ processing.
This is a good demo for integration Catalyst support in any Python-based simulation code. Look for use of the ‘bridge’ module from ‘paraview.catalyst’ in the code to see how.
- paraview.demos.wavelet_miniapp.create_dataset(timestep, args, piece, npieces)¶
The main loop