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
Add new class to module
sympde.topology.mapping
:__call__
,jacobian
,metric
,metric_det
, all called with arguments(*eta)
ldim
andpdim
jacobian_inv
, which should raise exception if Jacobian matrix is not invertible (e.g. whenldim < pdim
)CallableMapping
subclass itAdd new method
set_callable_mapping
to symbolicMapping
class, in order to attach any object of typeBasicCallableMapping
to it. Psydac will use it to attach spline and NURBS mappings to MappedDomains with undefined MappingFurther changes:
pdim > ldim
(fixes #70)