Skip to content
Snippets Groups Projects
Commit d90c8387 authored by Dave Whipp's avatar Dave Whipp
Browse files

Added storage of past element material number

parent f226820b
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ use definitions ...@@ -23,7 +23,7 @@ use definitions
!------------------------------------------------------------------------------| !------------------------------------------------------------------------------|
!(((((((((((((((( Purpose of the routine )))))))))))))))))))))))))))))))))))))) !(((((((((((((((( Purpose of the routine ))))))))))))))))))))))))))))))))))))))
!------------------------------------------------------------------------------| !------------------------------------------------------------------------------|
! This routine loops over all of the cloud particles and fills and array of | ! This routine loops over all of the cloud particles and fills an array of |
! size nelem x nmat with the material numbers for the cloud particles within | ! size nelem x nmat with the material numbers for the cloud particles within |
! each element | ! each element |
...@@ -62,6 +62,7 @@ do i = 1,cl%np ...@@ -62,6 +62,7 @@ do i = 1,cl%np
leaf,level,locc,x0,y0,z0,dxyz) leaf,level,locc,x0,y0,z0,dxyz)
cl_matnum = cl%matnum(i) cl_matnum = cl%matnum(i)
cloud_elem_mat_bins(leaf,cl_matnum)=cloud_elem_mat_bins(leaf,cl_matnum)+1 cloud_elem_mat_bins(leaf,cl_matnum)=cloud_elem_mat_bins(leaf,cl_matnum)+1
osolve%matnump(leaf) = cl%ematnump(i)
enddo enddo
end subroutine find_mat_numbers_from_cloud end subroutine find_mat_numbers_from_cloud
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment