(self)
| 2973 | ) |
| 2974 | |
| 2975 | def add_sources(self): |
| 2976 | for s in self.sources: |
| 2977 | if self.fields is None: |
| 2978 | self.init_sim() # in case only some processes have IndexedSources |
| 2979 | s.add_source( |
| 2980 | self |
| 2981 | ) # each source type can optionally override its own add_source method, else will default to mp.Source method |
| 2982 | self.fields.require_source_components() # needed by IndexedSource objects |
| 2983 | |
| 2984 | def _evaluate_dft_objects(self): |
| 2985 | for dft in self.dft_objects: |
no test coverage detected