Subtraction operator. Takes one SDF from another.
+ Subtraction operator. Takes one SDF from another.
+Take the first SDF from the 2nd SDF
pure function subtraction(d1, d2, k) result(res)
!! Subtraction operator. Takes one SDF from another.
+ !! Take the first SDF from the 2nd SDF
!> SDF_1 distance
real(kind=wp), intent(IN) :: d1
diff --git a/proc/tauint2.html b/proc/tauint2.html
index 355bad5..2e9e35a 100644
--- a/proc/tauint2.html
+++ b/proc/tauint2.html
@@ -174,10 +174,10 @@ Uses
-
diff --git a/proc/test_kernel.html b/proc/test_kernel.html
index fd7d790..dd3be07 100644
--- a/proc/test_kernel.html
+++ b/proc/test_kernel.html
@@ -174,21 +174,21 @@
Uses
diff --git a/proc/uniform.html b/proc/uniform.html
index e948878..31507ed 100644
--- a/proc/uniform.html
+++ b/proc/uniform.html
@@ -174,11 +174,11 @@ Uses
diff --git a/proc/update_grids.html b/proc/update_grids.html
index 665b14c..d72fa77 100644
--- a/proc/update_grids.html
+++ b/proc/update_grids.html
@@ -175,10 +175,10 @@ Uses
-
diff --git a/proc/update_pos.html b/proc/update_pos.html
index 8194670..3fde1fa 100644
--- a/proc/update_pos.html
+++ b/proc/update_pos.html
@@ -175,8 +175,8 @@
Uses
diff --git a/proc/weight_scatter.html b/proc/weight_scatter.html
index d6ae281..f94b019 100644
--- a/proc/weight_scatter.html
+++ b/proc/weight_scatter.html
@@ -174,23 +174,23 @@
Uses
diff --git a/proc/write_3d_r4_nrrd.html b/proc/write_3d_r4_nrrd.html
index 65f1d9f..74d3ecd 100644
--- a/proc/write_3d_r4_nrrd.html
+++ b/proc/write_3d_r4_nrrd.html
@@ -175,8 +175,8 @@
Uses
diff --git a/proc/write_data.html b/proc/write_data.html
index c63e421..c06e882 100644
--- a/proc/write_data.html
+++ b/proc/write_data.html
@@ -175,8 +175,8 @@
Uses
diff --git a/proc/write_detected_photons.html b/proc/write_detected_photons.html
index ceaebaf..c7899f4 100644
--- a/proc/write_detected_photons.html
+++ b/proc/write_detected_photons.html
@@ -174,8 +174,8 @@
Uses
-
diff --git a/sourcefile/photon.f90.html b/sourcefile/photon.f90.html
index 091a792..86def50 100644
--- a/sourcefile/photon.f90.html
+++ b/sourcefile/photon.f90.html
@@ -105,7 +105,7 @@ photon.f90
-
544 statements
+ title="10.4% of total for source files.">544 statements
-
diff --git a/sourcefile/sdf_base.f90.html b/sourcefile/sdf_base.f90.html
index f22e0ea..5f18d63 100644
--- a/sourcefile/sdf_base.f90.html
+++ b/sourcefile/sdf_base.f90.html
@@ -105,7 +105,7 @@
sdf_base.f90
-
233 statements
+ title=" 4.1% of total for source files.">217 statements
-
@@ -559,37 +559,16 @@
Source Code
do u = 1, size(ds)
ds(u) = cnt(u)%evaluate(pos)
end do
- if(all(ds > 0._wp))then
- id=0
- else
- if(all(ds < 0._wp))then
- id = cnt(maxloc(ds,dim=1))%layer
- else
- ds = -1.*ds
- minvalue = 1000000._wp
- do u = 1, size(ds)
- if(ds(u) > 0. .and. ds(u) < minvalue)then
- minvalue = ds(u)
- id = u
- end if
- end do
- ! id = cnt(minloc(ds),dim=1))%p%layer
- end if
- end if
- ! if(id == 0._wp)then
- ! image(i,j,k)=-99._wp
- ! else
- image(i, j, k) = real(id)!cnt(id)%p%mua
- ! end if
- end do
- end do
- call bar%progress()
- end do
-!$OMP end do
-!$OMP end parallel
- call write_data(image, trim(fileplace)//state%renderfile, state, overwrite=.true.)
- end subroutine render_sub
-end module sdf_baseMod
+ image(i, j, k) = minval(ds)
+ end do
+ end do
+ call bar%progress()
+ end do
+!$OMP end do
+!$OMP end parallel
+ call write_data(image, trim(fileplace)//state%renderfile, state, overwrite=.true.)
+ end subroutine render_sub
+end module sdf_baseMod
diff --git a/sourcefile/sdfmodifiers.f90.html b/sourcefile/sdfmodifiers.f90.html
index 51594ae..b8de3d7 100644
--- a/sourcefile/sdfmodifiers.f90.html
+++ b/sourcefile/sdfmodifiers.f90.html
@@ -667,36 +667,37 @@