I am asking about the mapping. I know it won't make a difference in terms of the accuracy of my solution, but it will make a difference in terms of time/flops/memory/etc, which is what I want to see.
On Thursday, April 7, 2022 at 12:22:04 PM UTC-4 Wolfgang Bangerth wrote: > On 4/7/22 10:14, Teo Collin wrote: > > > > Suppose I have read in a linear mesh of quads or hexes (via gmsh). How > could I > > create a higher order mesh that represents exactly the same mesh (i.e > the > > elements will be linear but represented with polynomials)? Is there an > easy > > way or step-x someone can point me to? > > > > I am not trying to actually solve anything on a curved mesh yet but I > just > > want to see the impact of increasing the polynomial order of the mesh > > representation. > > Teo: > Are you asking how to increase the polynomial degree of the *mapping* or > of > the *finite element*? > > As long as your mesh has straight edges, increasing the polynomial degree > of > the mapping isn't going to make a difference: The mesh remains the same, > and > so the solution remains the same whether or not you represent the straight > edge by linear polynomials or polynomials of higher order. But if you > increase > the polynomial degree of the finite element, you can of course expect > smaller > errors on the same mesh. > > Best > W. > > -- > ------------------------------------------------------------------------ > Wolfgang Bangerth email: [email protected] > www: http://www.math.colostate.edu/~bangerth/ > > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/bb4ed164-24ec-4358-9234-78a30e576f0an%40googlegroups.com.
