// Geometry

Point(1) = {0, 0.135, 0.25};
Point(2) = {0.135, 0.135, 0.25};
Point(3) = {0.135, 0, 0.25};
Point(4) = {0.135, 0.27, 0.25};
Point(5) = {0.27, 0.135, 0.25};

Circle(1) = {4, 2, 5};
Circle(2) = {5, 2, 3};
Circle(3) = {3, 2, 1};
Circle(4) = {1, 2, 4};

Line Loop(5) = {1, 2, 3, 4};
Plane Surface(6) = {5};

// Extrusion to cylinder

Extrude {0,0,-0.25} {
 Surface{6}; Layers{25}; Recombine;
}

// Surface electrodes (desired embedded points)
For i In {0:24}
electrodes[i] = newp; Point(electrodes[i]) = {0.135,0.015+i*0.01,0.25};
EndFor

// Mesh generation

Transfinite Line {1,2,3,4} = 20 Using Progression 1;

/*  Point {electrodes[]} In Surface{6};
Recombine Surface {6};
*/