-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add BasicCallableMapping abstract base class (#119)
Add new class to module `sympde.topology.mapping`: - Require methods `__call__`, `jacobian`, `metric`, `metric_det`, all called with arguments `(*eta)` - Require properties `ldim` and `pdim` - Require method `jacobian_inv`, which should raise exception if Jacobian matrix is not invertible (e.g. when `ldim < pdim`) - Make `CallableMapping` subclass it - Spline and NURBS mappings in Psydac will subclass it Add new method `set_callable_mapping` to symbolic `Mapping` class, in order to attach any object of type `BasicCallableMapping` to it. Psydac will use it to attach spline and NURBS mappings to MappedDomains with undefined Mapping Further changes: - Allow for mappings with `pdim > ldim` (fixes #70) - Update library version to 0.16.0
- Loading branch information
Showing
5 changed files
with
191 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.15.2" | ||
__version__ = "0.16.0" |