()
| 16145 | return JSON.stringify({ subparticles: this.map(subparticle => subparticle._toObjectForSerialization()) }, null, " ") |
| 16146 | } |
| 16147 | get asGrid() { |
| 16148 | const AtomBreakSymbol = this.atomBreakSymbol |
| 16149 | return this.toString() |
| 16150 | .split(this.particleBreakSymbol) |
| 16151 | .map(line => line.split(AtomBreakSymbol)) |
| 16152 | } |
| 16153 | get asGridJson() { |
| 16154 | return JSON.stringify(this.asGrid, null, 2) |
| 16155 | } |