PEATSA/Core/Environment.py
def exit(self, code):
	
		'''This method exits the simulation.
		
		In a parallel environment calls MPI_ABORT.
		In serial, calls sys.exit().
		
		Code is the exit code. Only used in serial processes.'''
		
		if Environment.isParallel:
			import pypar
			return pypar.abort(code)
		else:
			return sys.exit(code)
This method exits the simulation.
		
		In a parallel environment calls MPI_ABORT.
		In serial, calls sys.exit().
		
		Code is the exit code. Only used in serial processes.
This method exits the simulation.
In a parallel environment calls MPI_ABORT.

Code is the exit code. Only used in serial processes.
This method exits the simulation . In a parallel environment calls MPI_ABORT . Code is the exit code . Only used in serial processes .
def exit(self, code):
		if Environment.isParallel:
			import pypar
			return pypar.abort(code)
		else:
			return sys.exit(code)
def exit ( self , code ) : if Environment . isParallel : import pypar return pypar . abort ( code ) else : return sys . exit ( code )
This method exits the simulation.
This method exits the simulation .
'''This method exits the simulation.
		
		In a parallel environment calls MPI_ABORT.
		In serial, calls sys.exit().
		
		Code is the exit code. Only used in serial processes.'''
self
code