On Tue, Apr 21, 2015 at 4:25 PM, Kaloyan Dimitrov Marinov <[email protected]> wrote: > According to > http://fenicsproject.org/documentation/dolfin/dev/python/programmers-reference/cpp/mesh/UnitCircleMesh.html, > the UnitCircleMesh class is now depreciated. > > May I know how to generate a mesh on the unit circle (in order to solve the > Dirichlet problem for the Laplace operator over the unit circle)?
This can now be done by using mshr. For instance: import dolfin from mshr import * domain = Circle(dolfin.Point(0, 0, 0), 1, 32) mesh = generate_mesh(domain, 45) Johannes > _______________________________________ > From: [email protected] [[email protected]] on behalf of Johannes > Ring [[email protected]] > Sent: Tuesday, April 21, 2015 10:47 AM > To: Kaloyan Dimitrov Marinov > Cc: Jan Blechta; [email protected] > Subject: Re: [FEniCS-support] Installation instructions for FEniCS on an > Ubuntu machine > > On Tue, Apr 21, 2015 at 10:39 AM, Kaloyan Dimitrov Marinov <[email protected]> > wrote: >> Hi again, >> >> I have noticed that when I run d2_p2D.py, the execution goes through but I >> do get the following: >> >> *** Warning: Ignoring unknown parameter "reuse" in parameter set >> "preconditioner" when updating parameter set "preconditioner". >> *** Warning: Ignoring unknown parameter "same_nonzero_pattern" in >> parameter set "preconditioner" when updating parameter set "preconditioner". >> *** Warning: Ignoring unknown parameter "reuse" in parameter set >> "preconditioner" when updating parameter set "preconditioner". >> *** Warning: Ignoring unknown parameter "same_nonzero_pattern" in >> parameter set "preconditioner" when updating parameter set "preconditioner". >> >> May I ask for some feedback on why I get these warnings, if I should worry >> about them, and how I can eliminate them? > > It is because the dolfin_parameters.xml file is old and the parameters > in that file is not what is used the current version of DOLFIN. > > Johannes _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
