IElement
public class ElementSimple extends Element
Constructor | Description |
---|---|
ElementSimple(Simulation sim) |
|
ElementSimple(java.lang.String symbol) |
|
ElementSimple(java.lang.String symbol,
double mass) |
Modifier and Type | Method | Description |
---|---|---|
double |
getMass() |
|
double |
rm() |
|
void |
setMass(double newMass) |
Sets mass of this element and updates reciprocal mass accordingly.
|
getMassDimension, getSymbol
public ElementSimple(Simulation sim)
public ElementSimple(java.lang.String symbol)
public ElementSimple(java.lang.String symbol, double mass)