I'd like to pass numpy array of indices to compiled module as a
shared array. I was thinking about types

std::shared_ptr<std::vector<std::size_t> >
std::shared_ptr<dolfin::Array<std::size_t> >
boost::shared_array<std::size_t>
std::shared_ptr<std::size_t[]> (with appropriate deleter)

but I did not figure out how to add typemap using existing macros. Is
there some easy solution?

Thanks,
Jan
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to