original_docstring: 
          This method writes Wall Shear Stress output values (POISEUILLE) in a .txt file
          
docstring: This method writes Wall Shear Stress output values (POISEUILLE) in a .txt file
docstring_tokens: This method writes Wall Shear Stress output values ( POISEUILLE ) in a . txt file
code: def WritePWSSOutput(self, meshid, txtpath):
          '''
          This method writes Wall Shear Stress output values (POISEUILLE) in a .txt file
          '''
          meshid = str(meshid)
          for element in self.NetworkMesh.Elements:
              if element.Id == meshid:
                  dofs = element.GetPoiseuilleDofs()
                  Flow = (self.Solutions[(self.DofMap.DofMap[meshid, dofs[0]]),self.CardiacFreq*(self.Cycles-1):] - self.Solutions[(self.DofMap.DofMap[meshid, dofs[1]]),self.CardiacFreq*(self.Cycles-1):])/element.R
                  WSS = ((4.0*element.eta)/pi) * (Flow/(mean(element.Radius))**3)
          
          text_file = open(txtpath, "w")
          text_file.write("Wall Shear Stress Output (Pa)\n")
          for word in WSS:     
              text_file.write(str(word))
              text_file.write("\n")
          text_file.close()
code_tokens: def WritePWSSOutput ( self , meshid , txtpath ) : meshid = str ( meshid ) for element in self . NetworkMesh . Elements : if element . Id == meshid : dofs = element . GetPoiseuilleDofs ( ) Flow = ( self . Solutions [ ( self . DofMap . DofMap [ meshid , dofs [ 0 ] ] ) , self . CardiacFreq * ( self . Cycles - 1 ) : ] - self . Solutions [ ( self . DofMap . DofMap [ meshid , dofs [ 1 ] ] ) , self . CardiacFreq * ( self . Cycles - 1 ) : ] ) / element . R WSS = ( ( 4.0 * element . eta ) / pi ) * ( Flow / ( mean ( element . Radius ) ) ** 3 ) text_file = open ( txtpath , "w" ) text_file . write ( "Wall Shear Stress Output (Pa)\n" ) for word in WSS : text_file . write ( str ( word ) ) text_file . write ( "\n" ) text_file . close ( )
short_docstring: This method writes Wall Shear Stress output values (POISEUILLE) in a .txt file
short_docstring_tokens: This method writes Wall Shear Stress output values ( POISEUILLE ) in a . txt file
comment: '''
          This method writes Wall Shear Stress output values (POISEUILLE) in a .txt file
          '''