#this script is an input for the maddi program
#it decomposes the key domain into 1200 subdomains
#using a weight function 

read key.poly

#define the library and the weight function name  
setWeightFunction ../madd/libweight.so keyweight

#set min angle to 61
set f=0.34
#set uniform factor to 1
set r=1
#set graded factor to 2
set a=2

dec 1200

write fw-key1200.poly
writeSubdomains fw-key1200.dat

statistics

exit