Vector3 in Meep in Python
问题 I'm getting 'module' object has no attribute 'Vector3' error in my simple python code. This is rightAngle.py file import meep as mp import math cell = mp.Vector3(16, 8, 0) geometry = [mp.Bloack(mp.Vector3(1e20, 1, 1e20), center = mp.Vector3(0, 0), material = mp.Medium(epsilon = 12))] sources = [mp.Source(mp.ContinuousSource(frequency = 0.15), component = mp.Ez, center = mp.Vector3(-7, 0))] pml_layers = [mp.PML(1.0)] resolution = 10 Compling using: python rightAngle.py >& rightAngle.out And