commit:2018:07_19
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
commit:2018:07_19 [2018/07/18 11:41] – [Added [a] / deleted [d] / modified [m] / renamed [r] test cases] cerquaglia | commit:2018:07_19 [2018/07/18 11:52] – removed cerquaglia | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Commit 2018-07-17 ====== | ||
- | ===== 1. Description ===== | ||
- | |||
- | A center of gravity and mass extractor for '' | ||
- | |||
- | The synthax is the same as other extractors: | ||
- | |||
- | < | ||
- | valuesmanager = metafor.getValuesManager() | ||
- | extractor1 = InteractionGravityCenterAndMassValueExtractor(interaction) | ||
- | valuesmanager.add(nbr, | ||
- | </ | ||
- | |||
- | At each archiving step the extractor fills a four columns text file, where columns 1-3 contain x, y, and z coordinates of the center of gravity respectively, | ||
- | |||
- | < | ||
- | Since the evolution of the density is not directly tracked in Metafor, in order to take into account the density variation for the computation of the center of gravity and mass, the mass matrix is directly employed.</ | ||
- | |||
- | <note important> | ||
- | To compute the center of gravity and the mass of an interaction a density different from zero is needed. Pay attention, when you define your material properties, to explicitly define a '' | ||
- | </ | ||
- | |||
- | ===== 2. Tests ===== | ||
- | |||
- | For the moment, a gravity center and mass extractor has been added for all the test cases contained in '' | ||
- | |||
- | |||
- | ===== Added [a] / deleted [d] / modified [m] / renamed [r] test cases ====== | ||
- | |||
- | < | ||
- | [m] apps/ | ||
- | [m] apps/ | ||
- | [m] apps/ | ||
- | </ |
commit/2018/07_19.txt · Last modified: 2018/07/19 09:05 by papeleux