problem with attaching charge density to grid attribute: CHARGE and MODE solver
Hi,
I am having difficulty in reading the matlab file and adding attributes to the grid. It loads all data sets to worksheet except the charge data which is in structure form.
The code is as follows:
# add data source (np density grid attribute)
matlabload(filename_mzi); # read in charge dataset
addgridattribute("np Density");
importdataset(charge); # attach to grid attribute
set("name",filename_mzi);
Please help me in setting this attribute.
Also how to save the all of the CHARGE solver data and CHARGEMONITOR data in script?
Thanks,