// Magma code for the lmfdb family of higher genus curves 10.216-87.0.2-4-6.1
// The results are stored in a list of records called 'data'

RecFormat:=recformat<group,gp_id, signature,gen_vectors,conj_classes,genus,dimension,r,g0, passport_label,gen_vect_label, is_hyperelliptic, hyp_involution, is_cyclic_trigonal,cyc_auto,full_auto, full_sign,topological_class,braid_class>;

data:=[];

// Create group as a permutation group, and generate data which is the same for all entries.
gp_id:=[216,87];
H:=SmallGroup(gp_id[1],gp_id[2]); n:=#H; LP:=[]; LG:=[g : g in H]; for i in [1..n] do x:=LG[i]; Tx:=[LG[j]*x : j in [1..n]]; permL:=[]; for j in [1..n] do for k in [1..n] do if Tx[j] eq LG[k] then permL[j]:=k;  break; end if; end for; end for; Append(~LP,permL); end for; G:=PermutationGroup<n|LP>; 
signature:=[0,2,4,6];
genus:=10;
r:=#signature-1;
g0:=signature[1];
dim:=3*g0-3+r;
S:=Sym(gp_id[1]);

// Here we add an action to data.
gen_vectors:=[[55, 57, 56, 64, 66, 65, 73, 75, 74, 58, 60, 59, 68, 67, 69, 78, 77, 76, 61, 63, 62, 72, 71, 70, 80, 79, 81, 82, 84, 83, 91, 93, 92, 100, 102, 101, 85, 87, 86, 95, 94, 96, 105, 104, 103, 88, 90, 89, 99, 98, 97, 107, 106, 108, 1, 3, 2, 10, 12, 11, 19, 21, 20, 4, 6, 5, 14, 13, 15, 24, 23, 22, 7, 9, 8, 18, 17, 16, 26, 25, 27, 28, 30, 29, 37, 39, 38, 46, 48, 47, 31, 33, 32, 41, 40, 42, 51, 50, 49, 34, 36, 35, 45, 44, 43, 53, 52, 54, 163, 165, 164, 172, 174, 173, 181, 183, 182, 166, 168, 167, 176, 175, 177, 186, 185, 184, 169, 171, 170, 180, 179, 178, 188, 187, 189, 190, 192, 191, 199, 201, 200, 208, 210, 209, 193, 195, 194, 203, 202, 204, 213, 212, 211, 196, 198, 197, 207, 206, 205, 215, 214, 216, 109, 111, 110, 118, 120, 119, 127, 129, 128, 112, 114, 113, 122, 121, 123, 132, 131, 130, 115, 117, 116, 126, 125, 124, 134, 133, 135, 136, 138, 137, 145, 147, 146, 154, 156, 155, 139, 141, 140, 149, 148, 150, 159, 158, 157, 142, 144, 143, 153, 152, 151, 161, 160, 162], [184, 185, 186, 166, 167, 168, 175, 176, 177, 182, 183, 181, 163, 164, 165, 174, 172, 173, 189, 187, 188, 169, 170, 171, 179, 180, 178, 211, 212, 213, 193, 194, 195, 202, 203, 204, 209, 210, 208, 190, 191, 192, 201, 199, 200, 216, 214, 215, 196, 197, 198, 206, 207, 205, 157, 158, 159, 139, 140, 141, 148, 149, 150, 155, 156, 154, 136, 137, 138, 147, 145, 146, 162, 160, 161, 142, 143, 144, 152, 153, 151, 130, 131, 132, 112, 113, 114, 121, 122, 123, 128, 129, 127, 109, 110, 111, 120, 118, 119, 135, 133, 134, 115, 116, 117, 125, 126, 124, 76, 77, 78, 58, 59, 60, 67, 68, 69, 74, 75, 73, 55, 56, 57, 66, 64, 65, 81, 79, 80, 61, 62, 63, 71, 72, 70, 103, 104, 105, 85, 86, 87, 94, 95, 96, 101, 102, 100, 82, 83, 84, 93, 91, 92, 108, 106, 107, 88, 89, 90, 98, 99, 97, 49, 50, 51, 31, 32, 33, 40, 41, 42, 47, 48, 46, 28, 29, 30, 39, 37, 38, 54, 52, 53, 34, 35, 36, 44, 45, 43, 22, 23, 24, 4, 5, 6, 13, 14, 15, 20, 21, 19, 1, 2, 3, 12, 10, 11, 27, 25, 26, 7, 8, 9, 17, 18, 16], [149, 148, 150, 145, 147, 146, 153, 152, 151, 158, 157, 159, 154, 156, 155, 162, 161, 160, 140, 139, 141, 136, 138, 137, 144, 143, 142, 122, 121, 123, 118, 120, 119, 126, 125, 124, 131, 130, 132, 127, 129, 128, 135, 134, 133, 113, 112, 114, 109, 111, 110, 117, 116, 115, 176, 175, 177, 172, 174, 173, 180, 179, 178, 185, 184, 186, 181, 183, 182, 189, 188, 187, 167, 166, 168, 163, 165, 164, 171, 170, 169, 203, 202, 204, 199, 201, 200, 207, 206, 205, 212, 211, 213, 208, 210, 209, 216, 215, 214, 194, 193, 195, 190, 192, 191, 198, 197, 196, 41, 40, 42, 37, 39, 38, 45, 44, 43, 50, 49, 51, 46, 48, 47, 54, 53, 52, 32, 31, 33, 28, 30, 29, 36, 35, 34, 14, 13, 15, 10, 12, 11, 18, 17, 16, 23, 22, 24, 19, 21, 20, 27, 26, 25, 5, 4, 6, 1, 3, 2, 9, 8, 7, 68, 67, 69, 64, 66, 65, 72, 71, 70, 77, 76, 78, 73, 75, 74, 81, 80, 79, 59, 58, 60, 55, 57, 56, 63, 62, 61, 95, 94, 96, 91, 93, 92, 99, 98, 97, 104, 103, 105, 100, 102, 101, 108, 107, 106, 86, 85, 87, 82, 84, 83, 90, 89, 88]];
cc:=[3,8,11];
gen_vectors_as_perm:=[S!perm : perm in gen_vectors];
passport_label:=1;
gen_vect_label:=1;
is_hyperelliptic:=false;
is_cyclic_trigonal:=false;
Append(~data, rec<RecFormat | group:=G, gp_id:=gp_id, signature:=signature, gen_vectors:=gen_vectors_as_perm, conj_classes:=cc, genus:=genus, dimension:=dim, r:=r, g0:=g0, passport_label:= passport_label,gen_vect_label:=gen_vect_label, braid_class:=braid_class, topological_class:=topological_class, is_hyperelliptic:=is_hyperelliptic,is_cyclic_trigonal:=is_cyclic_trigonal >);
