← Back to team overview

dolfin team mailing list archive

SubFunction

 


Hello,

Given the new Function interface, is it possible to get a reference to the part
of the Function vector belonging to a SubFunction?

GenericVector* U0 = &U[0].vector(); (this doesn't work)

I need to inspect the solution values in a Newton solve and set any negative
values to zero.

Kristian


Follow ups