def METHOD_NAME(output_dir):
    from sfepy.mesh.mesh_generators import gen_cylinder_mesh
    mesh = gen_cylinder_mesh([0.5, 1, 2, 1.5, 3], [5, 4, 3], [0, 2, 1],
                             axis='z', non_uniform=True, verbose=False)
    filename = op.join(output_dir, 'gen_cylinder.mesh')
    mesh.write(filename)
    tst.report('cylinder mesh generated')
    csum = nm.sum(mesh.coors - nm.min(mesh.coors, axis=0), axis=0)
    assert nm.linalg.norm(csum - nm.array([120, 90, 90])) < tolerance