Skip to content

Commit

Permalink
Remove useless solve's method (#967)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Cornu authored Oct 25, 2022
1 parent 888f287 commit 1f6d430
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
16 changes: 0 additions & 16 deletions docs/language.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,24 +161,8 @@ framework. Code generation information is related to CoreNEURON backend.
+------------------------+-------------------+-------------------+---------------------+
| after_cvode | yes | no | |
+------------------------+-------------------+-------------------+---------------------+
| adams | yes | no | |
+------------------------+-------------------+-------------------+---------------------+
| adeuler | yes | no | |
+------------------------+-------------------+-------------------+---------------------+
| heun | yes | no | |
+------------------------+-------------------+-------------------+---------------------+
| adrunge | yes | no | |
+------------------------+-------------------+-------------------+---------------------+
| gear | yes | no | |
+------------------------+-------------------+-------------------+---------------------+
| simplex | yes | no | |
+------------------------+-------------------+-------------------+---------------------+
| simeq | yes | no | |
+------------------------+-------------------+-------------------+---------------------+
| seidel | yes | no | |
+------------------------+-------------------+-------------------+---------------------+
| clsoda | yes | no | |
+------------------------+-------------------+-------------------+---------------------+
| cvode_t | yes | no | |
+------------------------+-------------------+-------------------+---------------------+
| cvode_v | yes | no | |
Expand Down
10 changes: 1 addition & 9 deletions src/lexer/token_mapping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,22 +142,14 @@ struct MethodInfo {
*
* \todo MethodInfo::subtype should be changed from integer flag to proper type
*/
const static std::map<std::string, MethodInfo> methods = {{"adams", MethodInfo(DERF | KINF, 0)},
{"runge", MethodInfo(DERF | KINF, 0)},
const static std::map<std::string, MethodInfo> methods = {{"runge", MethodInfo(DERF | KINF, 0)},
{"euler", MethodInfo(DERF | KINF, 0)},
{"adeuler", MethodInfo(DERF | KINF, 1)},
{"heun", MethodInfo(DERF | KINF, 0)},
{"adrunge", MethodInfo(DERF | KINF, 1)},
{"gear", MethodInfo(DERF | KINF, 1)},
{"newton", MethodInfo(NLINF, 0)},
{"simplex", MethodInfo(NLINF, 0)},
{"simeq", MethodInfo(LINF, 0)},
{"seidel", MethodInfo(LINF, 0)},
{"_advance", MethodInfo(KINF, 0)},
{"sparse", MethodInfo(KINF, 0)},
{"derivimplicit", MethodInfo(DERF, 0)},
{"cnexp", MethodInfo(DERF, 0)},
{"clsoda", MethodInfo(DERF | KINF, 1)},
{"after_cvode", MethodInfo(0, 0)},
{"cvode_t", MethodInfo(0, 0)},
{"cvode_t_v", MethodInfo(0, 0)}};
Expand Down

0 comments on commit 1f6d430

Please sign in to comment.