Skip to content
Commit 6ab76f1b authored by Matt Wala's avatar Matt Wala
Browse files

Progress towards implicit methods.

Start to change the interface of a method generator (Method class) to
support two different functions: `generate` and `implicit_expression`:

 - `implicit_expression` returns an expression template that specifies
   to the user the format of the implicit expression to expect

 - `generate` replaces `__call__`, except that it takes as a parameter
   a list of *solver hooks*, which are callbacks provided by the user
   that, given a particular instance of an implicit expression, will
   return a new expression for the solve component

In order to facilitate the above changes, passing component id names
is moved to the constructor.

Provide a default solver hook (ScipySolverGenerator) for the Python
backend to demonstrate the use of the implicit tools that have been
developed.

Add tools to simplify the manipulation of expressions, including
parsing and matching.

Bug: #8
parent b8485f00
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment