Commit 78bdf0f
authored
Fix: Names in
## Summary
The ParticleContainer's `make_alike` function must not forget the names
of the SoA components. Currently, it creates a new container with the
same components, but default names.
## Additional background
First seen in BLAST-WarpX/warpx#5481
## Checklist
The proposed changes:
- [x] fix a bug or incorrect behavior in AMReX
- [ ] add new capabilities to AMReX
- [ ] changes answers in the test suite to more than roundoff level
- [ ] are likely to significantly affect the results of downstream AMReX
users
- [ ] include documentation in the code and/or rst files, if appropriatePC::make_alike (#4322)1 parent 779df09 commit 78bdf0f
1 file changed
+16
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1374 | 1374 | | |
1375 | 1375 | | |
1376 | 1376 | | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
| 1382 | + | |
| 1383 | + | |
| 1384 | + | |
| 1385 | + | |
| 1386 | + | |
1377 | 1387 | | |
1378 | | - | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
1379 | 1391 | | |
1380 | 1392 | | |
1381 | | - | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
1382 | 1396 | | |
1383 | 1397 | | |
1384 | 1398 | | |
| |||
0 commit comments