Dear Vladimir, search for the variable 'chi2' in the code, it is used in multiple files. The actual computation of its physical effect should be in step_generic.cpp Filip
2015-07-22 23:05 GMT+02:00, Владимир Борисович Новиков <vb.novi...@physics.msu.ru>: > Dear all, > Please show code place in https://github.com/stevengj/meep where nonlinear > polarization (chi2*E*E) is calculated. > > Vladimir > _______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss