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

add SPARSE solver to SympySolver - resolves #26 #34

Merged
merged 5 commits into from
Mar 7, 2019

Commits on Mar 7, 2019

  1. add SPARSE solver to SympySolver - resolves #26

    -for case when ODEs are coupled & linear:
    -constructs backwards Euler linear system
    -solves linear system by Gaussian elimination
    -declares required new local variables in each solve block
    -replaces ODEs (and adds new statements) with explicit solution of backwards Euler
    -optionally finds CSE (common sub expressions)
    -visitor logic altered to deal with each solve block separately
    -added --cse flag to sympy options to enable CSE generation
    -added -v,--verbose flag to enable debug logger output
    -updated README with the new flags
    -TODO: check it actually works (!), add tests
    
    Change-Id: I4dff1e5627be515c9c40d17a536d44cc679259af
    lkeegan committed Mar 7, 2019
    Configuration menu
    Copy the full SHA
    344d1e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8b81e01 View commit details
    Browse the repository at this point in the history
  3. address review comment

    Change-Id: I533bb8430800c200c398a11e3079011a889dfcbd
    pramodk committed Mar 7, 2019
    Configuration menu
    Copy the full SHA
    4872607 View commit details
    Browse the repository at this point in the history
  4. More cosmetics; removed unnecessary symtab pass

    Change-Id: I1c8c74485d13ac8515059d973593dd9923520587
    pramodk committed Mar 7, 2019
    Configuration menu
    Copy the full SHA
    5a024a1 View commit details
    Browse the repository at this point in the history
  5. added nmodl test for sparse

    Change-Id: I4fb63c358b01e2cad0461f661b40108e3564c075
    pramodk committed Mar 7, 2019
    Configuration menu
    Copy the full SHA
    81843b1 View commit details
    Browse the repository at this point in the history