Gendat

generate scalar and vector test data on structured and unstructured grids

Isosurface Example

This example uses the IsoSuface module to generate a surface with the data value 1. To set this up create the pipeline as described in the following picture and change the isovalue parameter of the Surface module to 1.

Fig.1 Isosurface workflow (left) and expected result (right).
Alternatively load vistle/examples/gendat-isosurface.vsl. Gendat grid_out only grid (grid_out) data_out0 scalar data (data_out0) data_out1 vector data (data_out1)

Parameters

name

description

type

first_step

first timestep to read

Int

last_step

last timestep to read (-1: last)

Int

step_increment

number of steps to increment

Int

first_rank

rank for first partition of first timestep

Int

geo_mode

geometry generation mode (Triangle_Geometry, Quad_Geometry, Polygon_Geometry, Uniform_Grid, Rectilinear_Grid, Layer_Grid, Structured_Grid, Unstructured_Grid, Point_Geometry, Sphere_Geometry)

Int

data_mode_scalar

data generation mode (One, Dist_Origin, Identity_X, Identity_Y, Identity_Z, Sine_X, Sine_Y, Sine_Z, Cosine_X, Cosine_Y, Cosine_Z, Random)

Int

data_scale_scalar

data scale factor (scalar)

Float

data_mode_vec_x

data generation mode (One, Dist_Origin, Identity_X, Identity_Y, Identity_Z, Sine_X, Sine_Y, Sine_Z, Cosine_X, Cosine_Y, Cosine_Z, Random)

Int

data_scale_vec_x

data scale factor

Float

data_mode_vec_y

data generation mode (One, Dist_Origin, Identity_X, Identity_Y, Identity_Z, Sine_X, Sine_Y, Sine_Z, Cosine_X, Cosine_Y, Cosine_Z, Random)

Int

data_scale_vec_y

data scale factor

Float

data_mode_vec_z

data generation mode (One, Dist_Origin, Identity_X, Identity_Y, Identity_Z, Sine_X, Sine_Y, Sine_Z, Cosine_X, Cosine_Y, Cosine_Z, Random)

Int

data_scale_vec_z

data scale factor

Float

size_x

number of cells per block in x-direction

Int

size_y

number of cells per block in y-direction

Int

size_z

number of cells per block in z-direction

Int

blocks_x

number of blocks in x-direction

Int

blocks_y

number of blocks in y-direction

Int

blocks_z

number of blocks in z-direction

Int

ghost_layers

number of ghost layers on all sides of a grid

Int

min

minimum coordinates

Vector

max

maximum coordinates

Vector

timesteps

number of timesteps

Int

element_data

generate data per element/cell

Int

anim_data

data animation (Constant, Add_Scale, Divide_Scale, Add_X, Add_Y, Add_Z)

Int

delay

wait after creating an object (s)

Float