original_docstring: 
          This method writes pressure output values in a .txt file.
          
docstring: This method writes pressure output values in a .txt file.
docstring_tokens: This method writes pressure output values in a . txt file .
code: def WritePressureOutput(self, meshid,  txtpath):
          '''
          This method writes pressure output values in a .txt file.
          '''
          meshid = str(meshid)
          for element in self.NetworkMesh.Elements:
              if element.Id == meshid:
                  Pressure = (self.Solutions[(self.DofMap.DofMap[meshid, 2]),self.CardiacFreq*(self.Cycles-1):])
                  meanP = mean(Pressure)
                  
          text_file = open(txtpath, "w")
          text_file.write("Pressure Output (Pa)\n")
          for word in Pressure:     
              text_file.write(str(word))
              text_file.write("\n")
          text_file.write("MEAN\n")
          text_file.write(str(meanP))
          text_file.close()
code_tokens: def WritePressureOutput ( self , meshid , txtpath ) : meshid = str ( meshid ) for element in self . NetworkMesh . Elements : if element . Id == meshid : Pressure = ( self . Solutions [ ( self . DofMap . DofMap [ meshid , 2 ] ) , self . CardiacFreq * ( self . Cycles - 1 ) : ] ) meanP = mean ( Pressure ) text_file = open ( txtpath , "w" ) text_file . write ( "Pressure Output (Pa)\n" ) for word in Pressure : text_file . write ( str ( word ) ) text_file . write ( "\n" ) text_file . write ( "MEAN\n" ) text_file . write ( str ( meanP ) ) text_file . close ( )
short_docstring: This method writes pressure output values in a .txt file.
short_docstring_tokens: This method writes pressure output values in a . txt file .
comment: '''
          This method writes pressure output values in a .txt file.
          '''