Hello,
I have solved some nonlinear problem on
self.mesh = dolfin.Mesh(meshXML);
V = FunctionSpace(self.mesh, 'Lagrange', self.lagrangeSpaceDim)
where meshXML is a XML file with double precision specification of the points.
I created some initial guess for u
u_ = self.solveLinear(meshXML)
solveLinear function calls again
self.mesh = dolfin.Mesh(meshXML);
V = FunctionSpace(self.mesh, 'Lagrange', self.lagrangeSpaceDim)
The problem is that then when I call nonlinear solver I obtain an Error message
*** -------------------------------------------------------------------------
*** DOLFIN encountered an error. If you are not able to resolve this issue
*** using the information listed below, you can ask for help at
*** fenics@fenicsproject.org
*** Remember to include the error message listed below and, if possible,
*** include a minimal running example to reproduce the error.
*** -------------------------------------------------------------------------
*** Error: Unable to evaluate function at point.
*** Reason: The point is not inside the domain. Consider setting "allow_extrapolation" to allow extrapolation.
*** Where: This error was encountered inside Function.cpp.
*** Process: unknown
*** DOLFIN version: 1.3.0+
*** Git changeset: 470cb4300bfd07ac56f85051973dc5b9d02dd188
*** -------------------------------------------------------------------------
I guess this is a bug since it happens only on particular mesh files. I would expect that mesh and V object will be the same. I fixed it by calling solveLinear with a space argument but wanted to point out this bug/feature.
Vojtech.