Thank you for your reply. MeshFunction seems to manage the whole equation_systems. I wonder if there is any simpler operation that can transfer only the solutions between two different meshes? (with different partition, if possible). And a cube domain is enough for me.
I wrote a routine that transfers the solutions between two nested meshes that one is uniformly refined from another (the refined mesh has the same partition as the coarse mesh). For some reason, I want the refined mesh to be denser than the coarse one only along a particular direction, if libMesh provides another refining operation similar to 'uniformly_refine()', then my code doesn't need to be changed. Best, Li On Wed, Sep 11, 2019 at 5:55 PM Stogner, Roy H <royst...@ices.utexas.edu> wrote: > > On Wed, 11 Sep 2019, Li Luo wrote: > > > I used MeshTools::Generation::build_cube to generate a cartesian mesh. > > I wonder is there any tool to refine the mesh along a specific axis > > direction? For example, only refine uniformly along the z-axis. > > If you want to do it *uniformly*, on a cube, you can generate a new > mesh with the increased resolution in that one direction, then use > MeshFunction to project data from old mesh to new. > > If you want to do it adaptively, or on more general domains, you're > out of luck. This is something we've wanted to be able to do for years > but we've got isotropic refinement assumptions too deeply held in too > many places in the code. > --- > Roy > -- Postdoctoral Fellow Extreme Computing Research Center King Abdullah University of Science & Technology https://sites.google.com/site/rolyliluo/ -- This message and its contents, including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email. _______________________________________________ Libmesh-users mailing list Libmesh-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-users