Filip Dominec writes:
>
> Hi, Alshikh,
> from what I understand, you shall introduce another callback function
> like your eps_bragg(const vec &pt), which will return the value of
> the Kerr coefficient. It should be called in a similar manner as e.g.
> the susceptibilities are.
>
> I always f
Hi, Alshikh,
from what I understand, you shall introduce another callback function
like your eps_bragg(const vec &pt), which will return the value of
the Kerr coefficient. It should be called in a similar manner as e.g.
the susceptibilities are.
I always found it useful to test out the Kerr nonli
Hello,
I have a bragg structure like the one defined in the meep example
bragg_transmission.cpp
double eps_bragg(const vec &pt) {
double z = pt.z() - zsize * 0.5;
if (fabs(z)*2 > Nperiods)
return nlo*nlo;
else {
double zi;
double zf = modf(z, &zi);
if (zf <
Hello,
I have a bragg structure like the one defined in the example
bragg_transmission.cpp
double eps_bragg(const vec &pt) {
double z = pt.z() - zsize * 0.5;
if (fabs(z)*2 > Nperiods)
return nlo*nlo;
else {
double zi;
double zf = modf(z, &zi);
if (zf < 0) zf += 1;
if (zf < wl
4 matches
Mail list logo