Garth N. Wells wrote:
> How do I pass a Python list to a c++ function that expects an Array?
> 
> I would like to pass a list of Dirichlet boundary conditions to an 
> assemble function that expects an Array<DirichletBC*>& object.
>

I suspect the problem is that pyDOLFIN provides it's own DirichletBC 
class (which is derived from the C++ version), which is why I can't 
insert DirichletBCs into an Array<DirichletBC*>& object. Suggestions on 
how to do this?

Garth


> Garth
> _______________________________________________
> DOLFIN-dev mailing list
> [email protected]
> http://www.fenics.org/mailman/listinfo/dolfin-dev

_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to