Hi Freddie, I wrote a matlab function to generate sampler plugin in batches. Hope this can help those in need. Regards, Kiny.
clear all; close all;clc
fid = fopen('PyFR_sample.dat', 'w');
x = linspace(0,30.64,200);
y = -30*ones(1,length(x));
nstep = 1 ;
format = 'primative';
header = 'true';
for i =1:length(x)
fprintf (fid, '[soln-plugin-sampler-%d] \n', i);
fprintf (fid, 'nsteps = %d \n', nstep);
fprintf (fid, 'samp-pts = [( %f, %f)] \n', x(i),y(i));
fprintf (fid, 'format = %s \n', format);
fprintf (fid, 'file = ./data/pyfr_%d.csv \n', i);
fprintf (fid, 'header = %s \n', header);
fprintf (fid, '\n');
end
fclose(fid)