parameters: (params)
return_statement: return(Tau)
docstring: This function calculates the stabilization matrix
docstring_summary: This function calculates the stabilization matrix
docstring_tokens: This function calculates the stabilization matrix
function: def ComputeStabilizationMatrix(params):
      """This function calculates the stabilization matrix"""
  
      dim = params.dim                # Spatial dimensions
      Tau = defs.ZeroMatrix(dim + 2, dim + 2)   # Stabilization Matrix
  
      tau1 = sympy.Symbol('tau1')
      tau2 = sympy.Symbol('tau2')
      tau3 = sympy.Symbol('tau3')
  
      Tau[0, 0] = tau1
      for i in range(0,dim):
          Tau[i + 1, i + 1] = tau2
      Tau[dim + 1, dim + 1] = tau3
      return(Tau)
function_tokens: def ComputeStabilizationMatrix ( params ) : dim = params . dim # Spatial dimensions Tau = defs . ZeroMatrix ( dim + 2 , dim + 2 ) # Stabilization Matrix tau1 = sympy . Symbol ( 'tau1' ) tau2 = sympy . Symbol ( 'tau2' ) tau3 = sympy . Symbol ( 'tau3' ) Tau [ 0 , 0 ] = tau1 for i in range ( 0 , dim ) : Tau [ i + 1 , i + 1 ] = tau2 Tau [ dim + 1 , dim + 1 ] = tau3 return ( Tau )