mirror of
https://github.com/pim-n/pg-rad
synced 2026-03-11 19:58:11 +01:00
update tests to reflect new Landscape design
This commit is contained in:
@ -46,7 +46,7 @@ class Landscape:
|
||||
|
||||
def calculate_fluence_at(self, pos: tuple):
|
||||
total_phi = 0.
|
||||
for source in self.sources:
|
||||
for source in self.point_sources:
|
||||
r = source.distance_to(pos)
|
||||
phi_source = phi_single_source(
|
||||
r=r,
|
||||
|
||||
Reference in New Issue
Block a user