I have no problems using a material_function to set an index which varies with position. However, the construct fails if my function returns materials_library.Al even if I include this in an extra_materials list (either in the initialization of the simulation or as a separate assignment). The simulation runs without error, but the metal is seemingly absent.
All is well if I just assign a Block material as materials_library.Al Are these (material_function; extra_materials) constructs fully implemented? If so, do they need a special syntax? I am running meep-git-1.4.3.r76 on Arch. Thanks, Ian _______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss