doc:user:elements:specials:mass
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:user:elements:specials:mass [2016/03/30 15:23] – external edit 127.0.0.1 | doc:user:elements:specials:mass [2017/02/24 15:26] (current) – [Interaction] papeleux | ||
---|---|---|---|
Line 47: | Line 47: | ||
==== Mass[2|3]DElement ==== | ==== Mass[2|3]DElement ==== | ||
- | Punctual mass element. They must be associated to a '' | + | Punctual mass element. They must be associated to a '' |
=== Parameters === | === Parameters === | ||
Line 53: | Line 53: | ||
| '' | | '' | ||
| '' | | '' | ||
- | | '' | + | | '' |
| '' | | '' | ||
| '' | | '' | ||
| '' | | '' | ||
+ | | '' | ||
+ | |||
Line 62: | Line 64: | ||
===== Interaction ===== | ===== Interaction ===== | ||
- | Finally, once the '' | + | Finally, once the '' |
- | app = FieldApplicator(no) | + | app = Mechanism0DInteraction(no) |
app.push(gObject1) | app.push(gObject1) | ||
app.push(gObject2) | app.push(gObject2) | ||
Line 73: | Line 75: | ||
or | or | ||
- | app = interactionset.add(FieldApplicator(no)) #add returns a reference | + | app = interactionset.add(Mechanism0DInteraction(no)) #add returns a reference |
app.push(gObject1) | app.push(gObject1) | ||
app.push(gObject2) | app.push(gObject2) | ||
Line 80: | Line 82: | ||
where | where | ||
- | | '' | + | | '' |
|'' | |'' | ||
| '' | | '' | ||
doc/user/elements/specials/mass.1459344184.txt.gz · Last modified: 2017/02/24 15:14 (external edit)