Changes between Version 16 and Version 17 of CodeChanges
- Timestamp:
- 10/12/12 11:26:14 (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CodeChanges
v16 v17 18 18 * In not, do nothing 19 19 * Should surfaces that are flagged for removal be removed within this subroutine or outside of it??? Should the corresponding LSFs be removed as well, and should {{{params%ns}}} be redefined to be the original value minus the number of removed surfaces??? 20 2. {{{ get_element_material_number_from_cloud()}}}[[BR]]21 This subroutine should create an array of {{{nelem}}} x {{{nmat}}} (?) , fill that array with the number of cloud particles of a given material for each element and assign the element material number based on some criteria. In general, the procedure would be20 2. {{{find_material_numbers_from_cloud()}}}[[BR]] 21 This subroutine should create an array of {{{nelem}}} x {{{nmat}}} (?) and fill that array with the number of cloud particles of a given material for each element. In general, the procedure would be 22 22 * Allocate an array that is {{{nelem}}} x {{{nmat}}} (or {{{nelem}}} x {{{nlsf}}}???); initialize to zero 23 23 * Loop through all cloud particles 24 24 * Find which element contains a given particle 25 25 * Increment the material number index for the element in the 2D array created above using the cloud particle material number 26 * After looping through all cloud particles, loop through all elements 27 * For a given element, check associated material number distribution list 26 3. {{{get_element_material_number_from_cloud.f90}}}[[BR]] 27 This subroutine will operate on a given element (called from {{{make_cut.f90}}}??) to assign the element material number based on some criteria. The procedure would be 28 * For a given element, check associated material number distribution list (from {{{find_material_numbers_from_cloud()}}}) 28 29 * Look for index of max value 29 30 * Look for 'ties'. Do a count on the value at the index found above. If that number is >1, we have a tie. 30 31 * Based on the info above, make a decision on which material number should be used (Things to consider: Majority rule, how to handle ties, etc.) 31 32 * Call {{{make_matrix.f90}}} using the material number from the decision 33 32 34 33 35 ''Record of code changes by routine''