On 3 September 2013 14:28, Johan Hake <[email protected]> wrote:
> There are no such typemap. Interestingly, in
>
>   dolfin/swig/parameters/pre.i
>
> there exist an in typemap for
>
>   std::set<std::string>
>
> which you could change to a typemap for
>
>   std::vector<std::string>
>

Thanks! The example is exactly what I need.

Garth

> In the same file there is also an argout typmap for
>
>   std::vector<std::sting>&
>
> but that is not what you want.
>
> I have no clue why these typemaps are not included in
>
>   dolfin/swig/typemaps/std_{set,vector}.i
>
> Johan
>
>
> On Tuesday September 3 2013 14:10:08 Garth N. Wells wrote:
>> I'm trying to add a very simple 'in' typemap for
>> std::vector<std::string> without success. Is it possible to generalise
>> any of the existing macros or is a new typemap required?
>>
>> Garth
>> _______________________________________________
>> fenics mailing list
>> [email protected]
>> http://fenicsproject.org/mailman/listinfo/fenics
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to