It would be useful if you could give us the context in which this error occurred. Was it in a demo or your own application?
Regards, Dave On Jan 7, 2014, at 8:26 AM, Fangyuan Cheng <[email protected]> wrote: > Dear sir or madam, > > I encountered problems when running fenics solver, which error message I > cannot understand. Please see below: > > Error: Unable to access vector of degrees of freedom. > *** Reason: Cannot access a non-const vector from a subfunction. > *** Where: This error was encountered inside Function.cpp. > *** Process: 0 > *** > *** DOLFIN version: 1.2.0+ > *** Git changeset: > > What is the directory to find the Funciton.cpp? Or is it included in some > other file? Could you please kindly explain what the error message is saying > and some advice to solve this problem. > > Thank you very much for your time and help. > > Regards, > > Fangyuan Cheng > Structural Engineer > > Fairlead Maritime > Unit 45, Riverside Building > 55 Trinity Buoy Wharf > London E14 0FP > > http://www.fairleadmaritime.co.uk > > +44 207 515 9977 > +44 7789375573 > _______________________________________________ > fenics mailing list > [email protected] > http://fenicsproject.org/mailman/listinfo/fenics
_______________________________________________ fenics mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics
