def METHOD_NAME(mesh):
    # Get filename
    out = os.path.basename(mesh["geo"])
    name, ext = os.path.splitext(out)
    # Mesh in 2d and convert to mesh format
    cmd = "gmsh " + mesh["geo"]
    cmd = cmd + " -2"
    # set output filename
    cmd = cmd + " -format mesh -o " + name + ".mesh"
    if(params["verbose"]):
        print cmd
    # Generate tetrahedralization with meshgems
    cmd = "run_mg-tetra.sh" + " -i " + name + ".mesh"
    if(params["verbose"]):
        print cmd
    cmd = "gmsh" + name + "_tetra.mesh" + " -3 -format msh -o " + name + ".msh"
    if(params["verbose"]):
        print cmd