Make it DQ for the quadrilateral only, and let the interval stay DG. [Buesing, Henrik] This works, but the warning stays. On 23/03/17 13:24, Buesing, Henrik wrote: Von: firedrake-bounces@imperial.ac.uk<mailto:firedrake-bounces@imperial.ac.uk> [mailto:firedrake-bounces@imperial.ac.uk] Im Auftrag von Miklós Homolya Gesendet: 23 March 2017 13:18 An: firedrake@imperial.ac.uk<mailto:firedrake@imperial.ac.uk> Betreff: Re: [firedrake] Deactivate UFL Warning This happens when you request a DG element (degree > 0) on an extruded quadrilateral mesh. Since there is an ambiguity (did you mean dQ or dPc?), the warning tells you that it picked the dQ element. If this is triggered from your user code, just write DQ instead DG or DP as the element family name. [Buesing, Henrik] I am doing: meshbase = RectangleMesh(Nx, Ny, Lx, Ly, quadrilateral=True) mesh = ExtrudedMesh(meshbase, Nz, Delta_z) horiz_elt = FiniteElement("DG", quadrilateral, 0) vert_elt = FiniteElement("DG", interval, 0) elt = TensorProductElement(horiz_elt, vert_elt) DG1 = FunctionSpace(mesh, elt) The element I want is dQ0. When I replace DG by DQ, I get: "ValueError: DQ is supported, but handled incorrectly". Otherwise you may try to lower the logging level for UFL, so these messages remain hidden. [Buesing, Henrik] How would I do that? parameters["ufl_options"]["log_level"] = "ERROR" does not work... Thank you! On 23/03/17 12:12, Buesing, Henrik wrote: Dear all, I am getting a lot of UFL:WARNING Discontinuous Lagrange element requested on quadrilateral * interval, creating DQ element Should I care? How can I deactivate these warnings? Thank you! Henrik -- Dipl.-Math. Henrik Büsing Institute for Applied Geophysics and Geothermal Energy E.ON Energy Research Center RWTH Aachen University ------------------------------------------------------ Mathieustr. 10 | Tel +49 (0)241 80 49907 52074 Aachen, Germany | Fax +49 (0)241 80 49889 ------------------------------------------------------ http://www.eonerc.rwth-aachen.de/GGE hbuesing@eonerc.rwth-aachen.de<mailto:hbuesing@eonerc.rwth-aachen.de> ------------------------------------------------------ _______________________________________________ firedrake mailing list firedrake@imperial.ac.uk<mailto:firedrake@imperial.ac.uk> https://mailman.ic.ac.uk/mailman/listinfo/firedrake _______________________________________________ firedrake mailing list firedrake@imperial.ac.uk<mailto:firedrake@imperial.ac.uk> https://mailman.ic.ac.uk/mailman/listinfo/firedrake