1D Lagrangian Problem Generator

Generates a cell-by-cell description of the geometry of a hydrodynamics problem given a description in terms of regions, and the spatial resolution required in each region.

Input

All ASCII, read from stdin.
Materials
number
For each:
   definition

N.B. Materials are of type mat_type in Ariadne.

Overall domain
left-hand_ordinate
cellleft cellright

N.B. `cellleft' and `cellright' are integer flags, 0 or 1 for the geometry to end with a cell or node respectively at the left and right ends.

Regions
number_of_regions
For each:
   width
   width_of_a_cell
   material (Ariadne V6.0 mat_type
   state (depends on material type)
   velocity
   initial_detonation_speed

Notes:

Initiation of detonation
number_of_initiation_points
For each:
   position time speed

Note: `speed' is a function of distance from the initiation position.

Output

All ASCII, written to stdout.

Files