← Back to team overview

dolfin team mailing list archive

Array<double> in SubDomain::inside()

 

Hello!

I am trying to close the Array typemap Blueprint.

Is it worth changing the double* x/y arguments in SubDomain methods to Array? 
The pros would be to have a consistent Python interface, but it makes things 
more difficult in the C++ implementation.

We could maybe add an Array version of the different methods of SubDomain

  inside, map, snap

Then can the double * version of the same methods call the Array version by 
default. Then we only expose the Array version to Python.

This is not a big deal as it is working fine as it is, but would be good to 
get rid of most of the double * typemaps.

Johan



Follow ups