Skip to content
Snippets Groups Projects
  1. Jul 31, 2018
    • Rafal Skolasinski's avatar
      take site position from underlying discretizer lattice · b0211f10
      Rafal Skolasinski authored and Joseph Weston's avatar Joseph Weston committed
      Previously we were manually computing the position from
      the site tag an an extra 'grid_spacing' parameter. Even
      though we now have one additional Python function call,
      using the position as determined by the underlying lattice
      is less susceptible to bugs.
      
      Closes #199.
      b0211f10
  2. Feb 07, 2018
  3. Dec 04, 2017
  4. Nov 30, 2017
  5. Oct 26, 2017
    • Christoph Groth's avatar
      fix confusing warning about deprecated argument grid_spacing · 1908693e
      Christoph Groth authored
      The warning used to be emitted from build_discretized().  Whenever
      discretize(), another API function that internally calls
      build_discreitzed() would be called with the deprecated argument, a
      warning would appear for a line in the code of discretize().
      
      This has been fixed by factoring out the check, and calling it from both
      functions.
      1908693e
  6. Aug 11, 2017
    • Rafal Skolasinski's avatar
      introduce "grid" parameter to "discretizer" functions · 5e16c294
      Rafal Skolasinski authored
      "grid" parameter takes role of "grid_spacing" and extends its
      functionality. It can take scalar values, as "grid_spacing",
      as well as "kwant.lattice.Monatomic" object. Currently there
      are strong contraints of accepted lattice but they can be lowered
      later when new functionality will be provided. "grid_spacing" is
      being deprecated.
      5e16c294
  7. Jun 27, 2017
  8. Jun 26, 2017
    • Rafal Skolasinski's avatar
      improve interface of "kwant.continuum._common.monomials" · 96f990bd
      Rafal Skolasinski authored
      "monomials" are not yet a public function. Interface improvment consists of:
      
      - change "*gens" into single argument "gens" with default value "None".
      - If left as "None" it reads all symbols present in the given "expression".
      - It is also possible to provide "gens" as sequence of strings (symbol names).
      96f990bd
  9. May 19, 2017
  10. May 17, 2017
  11. May 14, 2017
  12. May 12, 2017
  13. May 11, 2017
  14. May 05, 2017
    • Rafal Skolasinski's avatar
      fix bug of repeated substitutions · f57b8612
      Rafal Skolasinski authored and Bas Nijholt's avatar Bas Nijholt committed
      Calling "kwant.continuum.discretize('A * k_x', substitutions={'A': 'A + B'})"
      ends with performing substitutions twice. Fixed by removing redundant second
      substitution. Fixes issue #121.
      f57b8612
  15. Apr 18, 2017
  16. Mar 14, 2017
  17. Mar 09, 2017
  18. Mar 08, 2017
  19. Feb 24, 2017
Loading