parameters: (inPriority = 450, inOneProcessFlag = False, inOneProcessId = 0)
return_statement: return True
docstring: this is a test as to whether or not debug output should be written.
       The idea is that you do this test before printing debug output so that
       complicated strings do not need to be unnecessarily created and destroyed
       when not doing debug output
docstring_summary: this is a test as to whether or not debug output should be written.
       The idea is that you do this test before printing debug output so that
       complicated strings do not need to be unnecessarily created and destroyed
       when not doing debug output
docstring_tokens: this is a test as to whether or not debug output should be written . The idea is that you do this test before printing debug output so that complicated strings do not need to be unnecessarily created and destroyed when not doing debug output
function: def PhactoriDbg(inPriority = 450, inOneProcessFlag = False, inOneProcessId = 0):
    """this is a test as to whether or not debug output should be written.
       The idea is that you do this test before printing debug output so that
       complicated strings do not need to be unnecessarily created and destroyed
       when not doing debug output"""
    global gMdp3PriorityRestriction
    if inPriority < gMdp3PriorityRestriction:
      return False
  
    global gMaxDebugPrintOutputLines
    global gDebugPrintOutputLineCount
    if gDebugPrintOutputLineCount > gMaxDebugPrintOutputLines:
      return False
  
    if inOneProcessFlag:
      if inOneProcessId != SmartGetLocalProcessId():
        return False
    #for parallel compatibility, we do everything on all processes _except_
    #do the output--so if we test for debugging then do something that requires
    #mpi communication, we go ahead and do it even if this process will have
    #no oputput
    #else:
    #  global gMdp3RestrictToProcessListFlag
    #  if gMdp3RestrictToProcessListFlag:
    #    global gMdp3ProcessIdList
    #    if SmartGetLocalProcessId() not in gMdp3ProcessIdList:
    #      return False
  
    return True
function_tokens: def PhactoriDbg ( inPriority = 450 , inOneProcessFlag = False , inOneProcessId = 0 ) : global gMdp3PriorityRestriction if inPriority < gMdp3PriorityRestriction : return False global gMaxDebugPrintOutputLines global gDebugPrintOutputLineCount if gDebugPrintOutputLineCount > gMaxDebugPrintOutputLines : return False if inOneProcessFlag : if inOneProcessId != SmartGetLocalProcessId ( ) : return False #for parallel compatibility, we do everything on all processes _except_ #do the output--so if we test for debugging then do something that requires #mpi communication, we go ahead and do it even if this process will have #no oputput #else: #  global gMdp3RestrictToProcessListFlag #  if gMdp3RestrictToProcessListFlag: #    global gMdp3ProcessIdList #    if SmartGetLocalProcessId() not in gMdp3ProcessIdList: #      return False return True