dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #21566
std::vector& in Python
-
To:
DOLFIN Mailing List <dolfin@xxxxxxxxxxxxxxxxxxx>
-
From:
"Garth N. Wells" <gnw20@xxxxxxxxx>
-
Date:
Tue, 22 Feb 2011 17:29:24 +0000
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7
I tried to use a function in MeshEditor from the Python interface, but
failed because it expects a const std::vector<uint>&. What's the status
of wrapping small std::vectors? Should it work, or should the C++
interface be changed to use a dolfin::Array?
Garth
Follow ups