Miscellaneous Mesh Editor Functions

ic_rename_family old new

Renames the specified family in the tetin database and the unstructured mesh (domain file).

ic_print args

Write hardcopy or image file output. The arguments are:

  • formatform: one of:

    • ps

    • ppm

    • x

    • tiff

    • gif

    • jpeg

    • rgb

    • win

  • generate_new generate a new filename based on the outfile argument

  • inverton : swap black and white

  • jpeg_qualityqual : the quality factor for JPEG, between 0 and 100

  • landscapeon: if 1 then swap the X and Y axes

  • outfilefilename: the file to create (without the suffix which is automatically added)

  • ps_coloropt: either color, gray, or mono

  • ps_directon: if 1 then write a vector-based ps output, otherwise do raster

  • ps_frameon: if 1 draw a frame around the ps output

  • ps_labeltext: the label to put at the bottom right of the postscript output

  • ps_titletext: the title to put at the top of the postscript output

  • scaleval: scale factor

  • send_to_printeron: if 1 then the postscript file will be printed using lp

ic_view_zvector

Returns the current vector into the screen. Returns 0 0 0 in batch mode.

ic_comment text

Introduce a comment line into script file, for example, ic_comment "Why was this command added to the API?" The command has no effect on program execution.

ic_get_n_processors

Returns the number of processors.