OOF: Finite Element Analysis of Microstructures

/simple_mesh/subregion

/simple_mesh/subregion

/simple_mesh/subregion -- create and save a simple mesh

Synopsis

Creates a simple mesh from a portion of the image and writes it in goof format to the specified file. If there are pixels which do not have an assigned material, and the mesh has no default material, ppm2oof will complain bitterly.

Arguments

filename

The name of the output file. By convention, this file should have a .goof suffix.

xmin, xmax, ymin, ymax

The region of the image to be included in the mesh. The coordinates are integer pixel coordinates, in the usual pixel coordinate system.