Remeshing only one of the volumes in mesh

Is it possible to remesh only one of the volumes in a 3D mesh with multiple volumes? I do not want to change the mesh on the interface between volumes.
I’m new to Mmg and have tried to find the answer but have had no luck. I’m using Gmsh. I want to remesh one of the volumes with anisotropic mesh but Gmsh does not seem to have such capability, so I’m looking for an alternative.


I found the answer to my question in the post below.