← Back to team overview

dolfin team mailing list archive

Re: [Question #94139]: problem with Variational Problem constructor

 

Question #94139 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/94139

    Status: Open => Answered

Andy R Terrel proposed the following answer:
In 0.9.5 boundary condition vectors need to be const.  So declare bcs as

std::vector< const BoundaryCondition* > bcs;

Also you shouldn't need the zero in the form since 0 will be cast to a
const anyways.

Hope this helps.

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.