Home
last modified time | relevance | path

Searched refs:nx2p1 (Results 1 – 2 of 2) sorted by relevance

/dports/math/xlife++/xlifepp-sources-v2.0.1-2018-05-09/src/mathsResources/exactSolutions/
H A Dhelmholtz3d.cpp58 real_t nx2p1=1.; in scatteredFieldSphereNeumann() local
65 in *= i1; n++; nx2p1 += 2; nm1++; np1++; in scatteredFieldSphereNeumann()
71 a[n] = - in * nx2p1 * hnp.real() / hnp; in scatteredFieldSphereNeumann()
131 real_t nx2p1=1.; in scatteredFieldSphereDirichlet() local
137 in *= i1; n++; nx2p1 += 2; in scatteredFieldSphereDirichlet()
138 a[n] = in * nx2p1 *js[n] / complex_t(js[n], ys[n]); in scatteredFieldSphereDirichlet()
H A Dmaxwell3d.cpp82 real_t nx2p1 = 1.; in scatteredFieldMaxwellExn() local
95 nx2p1 += 2.; in scatteredFieldMaxwellExn()
102 hnpphn = n * complex_t(js[nm1], ys[nm1]) - np1 * complex_t(js[np1], ys[np1]) + nx2p1 * hn; in scatteredFieldMaxwellExn()
103 a[n] = -in * nx2p1 * (hnpphn.real() / hnpphn); in scatteredFieldMaxwellExn()
104 b[n] = -in * nx2p1 * (js[n] / hn); in scatteredFieldMaxwellExn()
147 nx2p1 = 3.; in scatteredFieldMaxwellExn()
149 for (int n = 1; n < nf; nm1++, np1++, nx2p1 += 2, n++) in scatteredFieldMaxwellExn()
155 … hnpphn = (n * complex_t(js[nm1], ys[nm1]) - np1 * complex_t(js[np1], ys[np1])) / nx2p1 + hn / rho; in scatteredFieldMaxwellExn()