parallel-io/heat-restart/c/io.c
void write_restart(field *temperature, parallel_data *parallel, int iter)
{
    // TODO: open the file called CHECKPOINT (defined in heat.h)

    // TODO: rank 0 writes out a header that has three values:
    //   temperature->nx_full
    //   temperature->ny_full
    //   iter

    // TODO: all processes write out their temperature data into the file,
    //   i.e. the temperature->data array including the ghost layers.
    //   Use a collective write routine.

    // TODO: close file
}
/* Write a restart checkpoint that contains field dimensions, current
 * iteration number and temperature field. */
Write a restart checkpoint that contains field dimensions, current
iteration number and temperature field.
Write a restart checkpoint that contains field dimensions current iteration number and temperature field .
void write_restart(field *temperature, parallel_data *parallel, int iter)
{
}
void write_restart ( field * temperature , parallel_data * parallel , int iter ) { }
Write a restart checkpoint that contains field dimensions, current
 iteration number and temperature field.
Write a restart checkpoint that contains field dimensions current iteration number and temperature field .
// TODO: open the file called CHECKPOINT (defined in heat.h) // TODO: rank 0 writes out a header that has three values: //   temperature->nx_full //   temperature->ny_full //   iter // TODO: all processes write out their temperature data into the file, //   i.e. the temperature->data array including the ghost layers. //   Use a collective write routine. // TODO: close file