| 216 | complex<double> tr(0.0, 0.0); |
| 217 | int nc = 0; |
| 218 | FOR_MAGNETIC_COMPONENTS(c) { |
| 219 | if (gv.has_field(c)) { |
| 220 | tr += get_chi1inv(c, component_direction(c), loc, frequency, false); |
| 221 | ++nc; |
| 222 | } |
| 223 | } |
| 224 | return complex<double>(nc, 0) / sum_to_all(tr); |
| 225 | } |
| 226 |
no test coverage detected