simulations/isam/isam/isam.cpp
/**
 * Quit if viewer was closed.
 */
Quit if viewer was closed.
Quit if viewer was closed .
void check_quit() {
#ifdef USE_GUI
  if (viewer.exit_requested()) {
    cout << endl << "Aborted by user..." << endl;
    exit(0);
  }
#endif
}
void check_quit ( ) { #ifdef USE_GUI if ( viewer . exit_requested ( ) ) { cout << endl << " " << endl ; exit ( 0 ) ; } #endif }
Quit if viewer was closed.
Quit if viewer was closed .