MCPcopy Create free account
hub / github.com/NanoComp/meep / _get_field_function_volume

Method _get_field_function_volume

python/simulation.py:4358–4364  ·  view source on GitHub ↗
(self, where=None, center=None, size=None)

Source from the content-addressed store, hash-verified

4356 )
4357
4358 def _get_field_function_volume(self, where=None, center=None, size=None):
4359 try:
4360 where = self._volume_from_kwargs(where, center, size)
4361 except ValueError:
4362 where = self.fields.total_volume()
4363
4364 return where
4365
4366 def integrate_field_function(self, cs, func, where=None, center=None, size=None):
4367 """

Callers 3

Calls 2

_volume_from_kwargsMethod · 0.95
total_volumeMethod · 0.80

Tested by

no test coverage detected