|
[Sponsors] |
What is the difference between abort and exit on error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 4, 2017, 08:31 |
What is the difference between abort and exit on error
|
#1 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
In the sources of OpenFOAM we find
Code:
exit(FatalError); Code:
abort(FatalError); Is there a rule of thumb when to use which? What I already can tell is this:
|
|
Tags |
error, programming |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] installation issues with foamextend3.2 | srivatta | OpenFOAM Community Contributions | 2 | January 22, 2017 13:51 |
parallel simulations - error message: "OPT_ITERATIONS: invalid option name" | v8areu | SU2 | 5 | July 23, 2015 03:57 |
[swak4Foam] some errors in compiling groovyBC in OF220 | immortality | OpenFOAM Community Contributions | 10 | April 1, 2013 04:46 |
Compiling OpenFOAM on hpc-fe.gbar.dtu.dk | kaergaard | OpenFOAM Installation | 1 | June 16, 2011 02:33 |
Error in CFX Solver | Leuchte | CFX | 5 | November 6, 2010 07:12 |