Walter,
Thanks for the great explanation. Is there a way to give COMSOL tabulated x,y,z coordinates with the property E(x,y,z) at each point and have COMSOL interpolate the material property between these points? I am using a discontinuous function but always get errors on the boundaries due to computer rounding errors. See picture. (Also, I realize now that I should do a linear interpolation across a single element rather than keep it's properties constant. Don't mind that.).
Thanks for the great explanation. Is there a way to give COMSOL tabulated x,y,z coordinates with the property E(x,y,z) at each point and have COMSOL interpolate the material property between these points? I am using a discontinuous function but always get errors on the boundaries due to computer rounding errors. See picture. (Also, I realize now that I should do a linear interpolation across a single element rather than keep it's properties constant. Don't mind that.).