Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Harmonize solvers #1030

Open
wants to merge 307 commits into
base: master
Choose a base branch
from
Open

[WIP] Harmonize solvers #1030

wants to merge 307 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Sep 8, 2023

  1. Configuration menu
    Copy the full SHA
    d048d00 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3f4d27 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7a658c0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bbee5db View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5dc3d19 View commit details
    Browse the repository at this point in the history
  6. Switch to default solver

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    e5b47be View commit details
    Browse the repository at this point in the history
  7. Warn at correct level

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    d91c700 View commit details
    Browse the repository at this point in the history
  8. Plug leaks

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    39ce157 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6200c5b View commit details
    Browse the repository at this point in the history
  10. JSON-encode logged dicts

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    58dc3da View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f08186e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7a287fe View commit details
    Browse the repository at this point in the history
  13. Fix typos

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    c2be571 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    f54cba5 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    62e55a8 View commit details
    Browse the repository at this point in the history
  16. Remove logging hook for exceptions

    Logging prevents app from reporting exception to commandline
    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    142645f View commit details
    Browse the repository at this point in the history
  17. Remove preconditioner if precon=None

    PETSc applies preconditioners by default
    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    dbf595c View commit details
    Browse the repository at this point in the history
  18. Remove datreant and simplify

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    5701750 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    23df906 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    f0482a3 View commit details
    Browse the repository at this point in the history
  21. Add preconditioners to PETSc

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    98e08f2 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    b541200 View commit details
    Browse the repository at this point in the history
  23. Add preconditioners to SciPy

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    aeb888a View commit details
    Browse the repository at this point in the history
  24. Add ILU preconditioner to Trilinos

    Shift to relative imports
    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    5c9c060 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    0749cf3 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    4d5d35e View commit details
    Browse the repository at this point in the history
  27. Remove unecessary __init__

    We should stop nannying (or inherit ABC)
    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    6939871 View commit details
    Browse the repository at this point in the history
  28. Change arguments and don't loop over solver suites

    Different solver suites have different preconditioners, so too
    complicated to try to capture all in a single loop.
    Choose suite and preconditioner at calling level.
    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    2c2e22b View commit details
    Browse the repository at this point in the history
  29. Drop pyamgx.LinearCGSolver

    It was only ever an alias, anyway
    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    edb6bec View commit details
    Browse the repository at this point in the history
  30. Remove (redundant) cg runs

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    be2dd04 View commit details
    Browse the repository at this point in the history
  31. Fix names

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    4cece6f View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    4f1c9b8 View commit details
    Browse the repository at this point in the history
  33. Swap order of looping over solvers and looping over sizes

    Allow specifying minimum and maximum sizes
    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    acb8824 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    bd3c661 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    1b7b114 View commit details
    Browse the repository at this point in the history
  36. Add gpu logging configuration

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    982b640 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    0eb5e83 View commit details
    Browse the repository at this point in the history
  38. Rename another preconditioner

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    4b7e180 View commit details
    Browse the repository at this point in the history
  39. Remove directory creation

    We don't use it
    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    e74f38f View commit details
    Browse the repository at this point in the history
  40. Change solver selection to cascade of ifs

    Trying to be too clever with dict means that it doesn't work
    for all solver suites
    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    90a37c3 View commit details
    Browse the repository at this point in the history
  41. Change output to TSV of solution

    Can't read Py27 pickle in Py3k, etc.
    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    e8ddc09 View commit details
    Browse the repository at this point in the history
  42. Fix typo

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    e51ec00 View commit details
    Browse the repository at this point in the history
  43. Add sbatch (slurm) invocation

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    582ad18 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    7d14264 View commit details
    Browse the repository at this point in the history
  45. Remove --writeFiles option

    Rudundant to `--output`
    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    9fde12a View commit details
    Browse the repository at this point in the history
  46. Add serial loggging template

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    1c39345 View commit details
    Browse the repository at this point in the history
  47. Re-enable actual commands

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    3868b5a View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    57b1be5 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    274205b View commit details
    Browse the repository at this point in the history
  50. Change to class names

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    3c6ed21 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    bae9e04 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    ca84bbc View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    2f221d8 View commit details
    Browse the repository at this point in the history
  54. Log much more information about FiPy environment

    Remove obsolete vitals module (svn, really???)
    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    6366ea0 View commit details
    Browse the repository at this point in the history
  55. Attempt to make problem less stiff

    - Use harmonic, rather than arithmetic, mean
    - Enable setting other (non-zero) Dirichlet boundary conditions
    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    855e194 View commit details
    Browse the repository at this point in the history
  56. Make executable

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    38b307e View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    bc80964 View commit details
    Browse the repository at this point in the history
  58. Remove entire temporary directory

    Not just config file
    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    c5ea3f7 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    6792b91 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    c8d6b45 View commit details
    Browse the repository at this point in the history
  61. Record location of output file

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    38c63ab View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    82891ff View commit details
    Browse the repository at this point in the history
  63. Fix typo

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    2b34d23 View commit details
    Browse the repository at this point in the history
  64. Fix reshaping

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    bf01443 View commit details
    Browse the repository at this point in the history
  65. Constant diffusion

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    94fbece View commit details
    Browse the repository at this point in the history
  66. Arithmetic diffusion

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    cb8228d View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    e511e20 View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    ed86463 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    8e37429 View commit details
    Browse the repository at this point in the history
  70. Switch to steppyngstounes

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    f657e65 View commit details
    Browse the repository at this point in the history
  71. Add options for solvers

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    17194d8 View commit details
    Browse the repository at this point in the history
  72. Add derived nucleation script

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    8d78002 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    d440e43 View commit details
    Browse the repository at this point in the history
  74. Switch to FixedStepper

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    317aec2 View commit details
    Browse the repository at this point in the history
  75. Fixed steps always succeed

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    0c91c5d View commit details
    Browse the repository at this point in the history
  76. Fix typo

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    f6fe871 View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    28ae895 View commit details
    Browse the repository at this point in the history
  78. Add slurm timeout

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    b5071e4 View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    ca004ce View commit details
    Browse the repository at this point in the history
  80. Fix typo

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    91a988a View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    87b752c View commit details
    Browse the repository at this point in the history
  82. Configuration menu
    Copy the full SHA
    6b58e2c View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    f2fdc2a View commit details
    Browse the repository at this point in the history
  84. Fix preconditioners

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    0fe258e View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    9447f82 View commit details
    Browse the repository at this point in the history
  86. Improve legends

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    e2053a1 View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    3b1c0bb View commit details
    Browse the repository at this point in the history
  88. Configuration menu
    Copy the full SHA
    bdae2ce View commit details
    Browse the repository at this point in the history
  89. Update plots of diffusion runs

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    89f8d6c View commit details
    Browse the repository at this point in the history
  90. Remove obsolete code

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    0dd92d3 View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    79b9975 View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    ed70d01 View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    01f3b1d View commit details
    Browse the repository at this point in the history
  94. Configuration menu
    Copy the full SHA
    d76c1b9 View commit details
    Browse the repository at this point in the history
  95. Refactor loading from diffing

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    87ab92e View commit details
    Browse the repository at this point in the history
  96. Add comparison functions

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    a18ba0c View commit details
    Browse the repository at this point in the history
  97. Reorganize and remove cruft

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    9c0fbce View commit details
    Browse the repository at this point in the history
  98. Fix nested label alignment

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    896b6e4 View commit details
    Browse the repository at this point in the history
  99. Configuration menu
    Copy the full SHA
    a775669 View commit details
    Browse the repository at this point in the history
  100. Refactor functions

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    26a1210 View commit details
    Browse the repository at this point in the history
  101. Document functions

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    955ea3b View commit details
    Browse the repository at this point in the history
  102. Cleanup

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    fb1ced5 View commit details
    Browse the repository at this point in the history
  103. Move data to common directory

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    938ddc8 View commit details
    Browse the repository at this point in the history
  104. Configuration menu
    Copy the full SHA
    c0997e0 View commit details
    Browse the repository at this point in the history
  105. Account for reorganized data

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    480182f View commit details
    Browse the repository at this point in the history
  106. Configuration menu
    Copy the full SHA
    a2ae06e View commit details
    Browse the repository at this point in the history
  107. Configuration menu
    Copy the full SHA
    66fa290 View commit details
    Browse the repository at this point in the history
  108. Skip missing multiindices

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    1c52ffa View commit details
    Browse the repository at this point in the history
  109. Remove unnecessary comparison

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    5be1e8e View commit details
    Browse the repository at this point in the history
  110. Loop over preconditioners

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    9cb06b9 View commit details
    Browse the repository at this point in the history
  111. Add explanatory text

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    6410176 View commit details
    Browse the repository at this point in the history
  112. Add facility to store matrix

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    2d7aa7b View commit details
    Browse the repository at this point in the history
  113. Add ability to store matrix

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    646052a View commit details
    Browse the repository at this point in the history
  114. Configuration menu
    Copy the full SHA
    7eb96d3 View commit details
    Browse the repository at this point in the history
  115. Remove redundant method

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    da743e2 View commit details
    Browse the repository at this point in the history
  116. Shift diffusion problem definition to notebook

    Generate diffusion.py from diffusion.ipynb
    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    57a3a77 View commit details
    Browse the repository at this point in the history
  117. Configuration menu
    Copy the full SHA
    54f44ff View commit details
    Browse the repository at this point in the history
  118. Revise datapath to results

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    b273b15 View commit details
    Browse the repository at this point in the history
  119. Clean up cruft

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    243e65a View commit details
    Browse the repository at this point in the history
  120. Configuration menu
    Copy the full SHA
    c4f6dc4 View commit details
    Browse the repository at this point in the history
  121. Tidy log configuration files

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    1b6b660 View commit details
    Browse the repository at this point in the history
  122. Downcase notebook name

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    9bc35a6 View commit details
    Browse the repository at this point in the history
  123. Tidy notebooks and scripts

    guyer committed Sep 8, 2023
    Configuration menu
    Copy the full SHA
    1eb8b58 View commit details
    Browse the repository at this point in the history
  124. Configuration menu
    Copy the full SHA
    b261168 View commit details
    Browse the repository at this point in the history
  125. Configuration menu
    Copy the full SHA
    c06d518 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. Configuration menu
    Copy the full SHA
    62cbf22 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2023

  1. Clarify convergence criteria

    guyer committed Oct 8, 2023
    Configuration menu
    Copy the full SHA
    c770717 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    670da6a View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. Fix merge errors

    guyer committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    c19b95c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39e55ad View commit details
    Browse the repository at this point in the history
  3. Document parameter as optional

    guyer committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    cd98ec6 View commit details
    Browse the repository at this point in the history
  4. Update index syntax

    guyer committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    65702d1 View commit details
    Browse the repository at this point in the history
  5. Document Convergence classes

    guyer committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    4122fe5 View commit details
    Browse the repository at this point in the history
  6. Fix class references

    guyer committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    3923a06 View commit details
    Browse the repository at this point in the history
  7. Fix parameter syntax

    guyer committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    857e7a0 View commit details
    Browse the repository at this point in the history
  8. Document Term class

    guyer committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    015377f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    19919a2 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Configuration menu
    Copy the full SHA
    b427d07 View commit details
    Browse the repository at this point in the history
  2. Factor scale from residual

    guyer committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    2098bb2 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. Configuration menu
    Copy the full SHA
    fd53ff8 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. Change from CSR to CRV

    CSR requires *slow* conversion from IJV.
    CRV is "Undocumented.", but turns out to be what we want.
    guyer committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    243fbc2 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2023

  1. Actually add fix indexing

    guyer committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    9414eff View commit details
    Browse the repository at this point in the history
  2. Switch to PETSc.IntType

    guyer committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    d8a569e View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. Configuration menu
    Copy the full SHA
    3aa4f56 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6e74c3d View commit details
    Browse the repository at this point in the history
  3. Specify Convergence classes

    guyer committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    684bc19 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. Make wide tables scroll

    guyer committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    5e0f3cf View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. Update link

    guyer committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    e86a34e View commit details
    Browse the repository at this point in the history
  2. Rotate wide tables in PDF

    guyer committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    6dd047e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fc7249f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    80544bf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    369b4bb View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Make solver-independent Convergence and Divergence classes.

    Solvers subclass these. Simplifies documentation.
    guyer committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    235e7a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7849b50 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    75f044f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5356eee View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. Configuration menu
    Copy the full SHA
    49102c7 View commit details
    Browse the repository at this point in the history
  2. Remove max_iterations from Convergence

    Redundant to information in Solver, which Convergence points to.
    guyer committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    e227e1a View commit details
    Browse the repository at this point in the history
  3. Fix tolerance scaling

    atol should not be scaled
    guyer committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    2bcafac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e118552 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dada3bc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    75ccc4e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    86cb0e4 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Configuration menu
    Copy the full SHA
    5c2a040 View commit details
    Browse the repository at this point in the history
  2. Fix error in normalization

    guyer committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    b271031 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    584cbc7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    62e0c3b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b323e6a View commit details
    Browse the repository at this point in the history
  6. Unhide solver base classes

    guyer committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    dc0078c View commit details
    Browse the repository at this point in the history
  7. Change default solver tolerance to 1e-5

    - SciPy and Trilinos can fail with tolerance=1e-10
      (SCIPY_MAXIT or AZ_loss, respectively) because they are unable to
      make the residual any smaller than O(1e-9).
    - tolerance=1e-5 is the default for PETSc and SciPy.
    - pyamgx defaults to 1e-12.
    - PySparse does not specify, but has examples that illustrate 1e-12.
    - Trilinos does not specify, but has examples that illustrate 1e-8.
    guyer committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    d635abf View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. Configuration menu
    Copy the full SHA
    ba48797 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f0a3f12 View commit details
    Browse the repository at this point in the history
  3. Remove redundant test

    guyer committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    d8d0535 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. Consolidate Solver default parameters

    Eliminate cumbersome telephone game for a small number of
    changed defaults in subclasses. Previous was error-prone
    and tedious to change global defaults.
    
    Contrary to
    [official guidance](https://docs.python-guide.org/writing/gotchas/#what-you-should-do-instead),
    use `"default"` instead of `None` to denote default argument.
    Semantics of using None are confusing when there are times we want
    no preconditioner or no tolerance limit and other times we want
    a default preconditioner or default tolerance limit.
    guyer committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    f29295a View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2023

  1. Configuration menu
    Copy the full SHA
    745ccf6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    637e91a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5a5c590 View commit details
    Browse the repository at this point in the history
  4. Fix name

    guyer committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    da86849 View commit details
    Browse the repository at this point in the history
  5. Harmonize preconditioners

    guyer committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    dd914bc View commit details
    Browse the repository at this point in the history
  6. Add custom DivergenceWarning

    guyer committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    78493e3 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2023

  1. Configuration menu
    Copy the full SHA
    b873c7e View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2023

  1. Profile sweeping

    guyer committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    6605bd6 View commit details
    Browse the repository at this point in the history
  2. Log preconditioning

    guyer committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    87ed4de View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. Revert "Profile sweeping"

    This reverts commit 6605bd6.
    guyer committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    5682d87 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2023

  1. Configuration menu
    Copy the full SHA
    2f2f8c5 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. Configuration menu
    Copy the full SHA
    38b2b8c View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Cache row and column IDs

    guyer committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    51e1f60 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a315c0e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2054173 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    56da150 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. Use __iadd__ for __iadd__

    guyer committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    78f108d View commit details
    Browse the repository at this point in the history
  2. Cache matrix

    - Zero matrix
    - Keep nonzero pattern
    guyer committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    d2eb7ca View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2023

  1. Remove import

    guyer committed Dec 22, 2023
    Configuration menu
    Copy the full SHA
    97327ff View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2023

  1. Configuration menu
    Copy the full SHA
    ecf1f67 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2023

  1. Configuration menu
    Copy the full SHA
    36bff38 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2023

  1. Improve access to INDEX_TYPE

    guyer committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    e14871a View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2023

  1. Fix typos

    guyer committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    ad51b75 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6ef2b87 View commit details
    Browse the repository at this point in the history
  3. Assemble before zeroing

    Should be assembled already, but sometimes not, at least for
    some unit tests.
    guyer committed Dec 28, 2023
    Configuration menu
    Copy the full SHA
    cf06a8b View commit details
    Browse the repository at this point in the history

Commits on Dec 29, 2023

  1. Fix indexing of offset matrices

    guyer committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    88dcb7f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc1c50e View commit details
    Browse the repository at this point in the history
  3. Ensure b-vector is ndarray

    guyer committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    d4fe3ff View commit details
    Browse the repository at this point in the history
  4. Ensure bandwidth is integer

    guyer committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    2385cbd View commit details
    Browse the repository at this point in the history
  5. Properly cache offset matrices

    guyer committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    ad921ee View commit details
    Browse the repository at this point in the history
  6. Restore matrix normalization

    Removed in f083a86
    guyer committed Dec 29, 2023
    Configuration menu
    Copy the full SHA
    1d794d9 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. Standardize that Solver._Lxb returns a FiPy _SparseMatrix

    Previously inconsistent about whether `L` was a `_SparseMatrix`
    or an underlying suite sparse matrix. `x` and `b` continue to
    be appropriate vectors for the suite.
    guyer committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    a57bd08 View commit details
    Browse the repository at this point in the history
  2. Document what ._Lxb does

    guyer committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    6607a2e View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2024

  1. Refactor _solve() and _solve_()

    `Solver._solve()` is common and has access to FiPy objects.
    `Solver._solve_()` is defined for each solver suite
    and takes L, x, b suitable for particular solver suite.
    guyer committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    58d06a1 View commit details
    Browse the repository at this point in the history
  2. Use default preconditioning

    guyer committed Jan 3, 2024
    Configuration menu
    Copy the full SHA
    c487305 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. Configuration menu
    Copy the full SHA
    3d2b076 View commit details
    Browse the repository at this point in the history
  2. Ensure norms are floats

    `Norm2()` returns a 1-element array for some dain-bramaged reason.
    guyer committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    d103551 View commit details
    Browse the repository at this point in the history
  3. Bump iteration count by 1

    Make it agree with other solver suites
    guyer committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    e06f2ea View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e96c9aa View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8bf6b8d View commit details
    Browse the repository at this point in the history
  6. Use ILU preconditioning for Trilinos

    Default MultilevelDD doesn't work.
    guyer committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    7a915c3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f30053c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1f18964 View commit details
    Browse the repository at this point in the history
  9. Make input4thOrder1D use LU for all solver suites

    All (most) suites are flakey with this problem.
    (Trilinos only fails in parallel if the rest of the examples/diffusion
    tests have already been run.)
    guyer committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    d0f5304 View commit details
    Browse the repository at this point in the history
  10. Tolerate iterations within 1

    guyer committed Jan 5, 2024
    Configuration menu
    Copy the full SHA
    211cc2d View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2024

  1. Configuration menu
    Copy the full SHA
    ab8e4c4 View commit details
    Browse the repository at this point in the history
  2. Fix import

    guyer committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    17df159 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. Prevent solver from getting "stuck"

    RHS >> initial residual, so solver never does anything
    with (new) default criterion for convergence.
    guyer committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    2468127 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    37886d1 View commit details
    Browse the repository at this point in the history
  3. Restore solve conditions

    guyer committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    5fb28c5 View commit details
    Browse the repository at this point in the history
  4. Remove pointless if

    guyer committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    b590844 View commit details
    Browse the repository at this point in the history
  5. Relax tolerance

    Still passes and doesn't throw obnoxious warnings from PETSc
    or Trilinos
    guyer committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    9a81ed4 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Turn off divergence tolerance

    It just gets in the way
    guyer committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    974b180 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5b14a84 View commit details
    Browse the repository at this point in the history
  3. Log solver norms

    guyer committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    df9e2f4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9f41d20 View commit details
    Browse the repository at this point in the history
  5. Fix typo

    guyer committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    114685d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    51fa84d View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. Configuration menu
    Copy the full SHA
    8261cf5 View commit details
    Browse the repository at this point in the history
  2. Adjust tolerances to account for relaxed default solver tolerance

    Default solver tolerances have been relaxed from 1e-10 to 1e-5 to
    agree with default of most solver suites. This should save on
    compute time and, in most cases, this is adequate for existing
    tests to pass.
    Where it is not, either adjust the solver or adjust the test.
    guyer committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    e34b134 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Configuration menu
    Copy the full SHA
    dd41d32 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. Introduce Timer context manager

    Originally tried to make it do logging, too, but I couldn't figure
    out how to get it to log in the correct scope.
    Separating timing from logging substantially simplifies the logic
    at a modest cost in LoC at point of use.
    guyer committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    1e78000 View commit details
    Browse the repository at this point in the history
  2. Document _solve()

    guyer committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    eced40c View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2024

  1. Configuration menu
    Copy the full SHA
    6a15c0c View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. Configuration menu
    Copy the full SHA
    6ffe79e View commit details
    Browse the repository at this point in the history
  2. Turn constraint contributions into dictionary keyed on variable

    Terms should, in principle, be solvable for different variables.
    guyer committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    c8834f3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1ed01ad View commit details
    Browse the repository at this point in the history
  4. Remove diagnostics

    guyer committed Apr 22, 2024
    Configuration menu
    Copy the full SHA
    2ff8600 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2024

  1. Move imports to top

    guyer committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    abe6f2c View commit details
    Browse the repository at this point in the history
  2. Reformat

    guyer committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    abc59a0 View commit details
    Browse the repository at this point in the history
  3. Refactor _calcGeomCoeff

    guyer committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    c3cea2c View commit details
    Browse the repository at this point in the history
  4. Refactor _calcConstraints

    guyer committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    3de8be5 View commit details
    Browse the repository at this point in the history
  5. Refactor _doBCs

    guyer committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    7333981 View commit details
    Browse the repository at this point in the history
  6. Refactor _buildMatrix

    guyer committed Apr 27, 2024
    Configuration menu
    Copy the full SHA
    5bcd48b View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Configuration menu
    Copy the full SHA
    b0d350d View commit details
    Browse the repository at this point in the history
  2. Fix typo

    guyer committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    2c7ac21 View commit details
    Browse the repository at this point in the history