Re: [Libmesh-users] uniform refine

2017-03-20 Thread Cody Permann
Right, so create your mesh. Then create a MeshRefinement object and call uniformly_refine() on it with the level you want: http://libmesh.github.io/doxygen/classlibMesh_1_1MeshRefinement.html#a406e53c22bd8c9e2cefa862ef02f226f On Mon, Mar 20, 2017 at 5:02 PM Maria Giuseppina Chiara Nestola < mgcnes

Re: [Libmesh-users] uniform refine

2017-03-20 Thread Maria Giuseppina Chiara Nestola
Dear Cody, i need to set the level by myself. i Found the function set_p_level, but it doesn’t do what i really need. Is there something else? Best Maria > On 20 Mar 2017, at 23:22, Cody Permann wrote: > > I'm not sure I understand. Do you wish to set a level and then have libMesh > figure ou

Re: [Libmesh-users] uniform refine

2017-03-20 Thread Cody Permann
I'm not sure I understand. Do you wish to set a level and then have libMesh figure out how many times to refine? Normally for uniform refinement, you build a MeshRefinement object and tell it to uniformly refine your mesh a certain number of levels. After that, the elements will report the desired

[Libmesh-users] uniform refine

2017-03-20 Thread Maria Giuseppina Chiara Nestola
Dear all, i am working with uniform refinement, i would like to know if there is in libmesh a function to SET the level which the elements belong to. Best Maria -- Check out the vibrant tech community on one of the wor