This example reads inputs via files, executes the operations requested by the "adapt.inp" configuration file, and writes PHASTA mesh and field data to a stream (using the the phstream.h API). The requested Chef operations are executed again (the second call to 'cook') using the stream inputs (instead of files) and then the generates PHASTA files containing the mesh and field information.