parameters: ( dim=2, orderPotential=1, buildMesh=True, worldComm=core.Environment.worldCommPtr() )
return_statement: return _thermoelectrics[key]( "thermoelectric", buildMesh, worldComm )
docstring: create a thermoelectric toolbox solver
      Keyword arguments:
      dim -- the dimension (default: 2)
      orderPotential -- the polynomial order for the potential (default: 1)
      worldComm -- the parallel communicator for the mesh (default: core.Environment::worldCommPtr())
docstring_summary: create a thermoelectric toolbox solver
      Keyword arguments:
      dim -- the dimension (default: 2)
      orderPotential -- the polynomial order for the potential (default: 1)
      worldComm -- the parallel communicator for the mesh (default: core.Environment::worldCommPtr())
docstring_tokens: create a thermoelectric toolbox solver Keyword arguments : dim -- the dimension ( default : 2 ) orderPotential -- the polynomial order for the potential ( default : 1 ) worldComm -- the parallel communicator for the mesh ( default : core . Environment :: worldCommPtr () )
function: def thermoelectric( dim=2, orderPotential=1, buildMesh=True, worldComm=core.Environment.worldCommPtr() ):
      """create a thermoelectric toolbox solver
      Keyword arguments:
      dim -- the dimension (default: 2)
      orderPotential -- the polynomial order for the potential (default: 1)
      worldComm -- the parallel communicator for the mesh (default: core.Environment::worldCommPtr())
      """
      key='thermoelectric('+str(dim)+','+str(orderPotential)+')'
      if worldComm.isMasterRank():
          print(key)
      if key not in _thermoelectrics:
          raise RuntimeError('Thermoelectric solver '+key+' not existing')
      return _thermoelectrics[key]( "thermoelectric", buildMesh, worldComm )
function_tokens: def thermoelectric ( dim = 2 , orderPotential = 1 , buildMesh = True , worldComm = core . Environment . worldCommPtr ( ) ) : key = 'thermoelectric(' + str ( dim ) + ',' + str ( orderPotential ) + ')' if worldComm . isMasterRank ( ) : print ( key ) if key not in _thermoelectrics : raise RuntimeError ( 'Thermoelectric solver ' + key + ' not existing' ) return _thermoelectrics [ key ] ( "thermoelectric" , buildMesh , worldComm )