[ET Trac] #2691: New features to particle_tracerET
Leonardo Werneck
trac-noreply at einsteintoolkit.org
Tue Jan 31 15:17:39 CST 2023
#2691: New features to particle_tracerET
Reporter: Leonardo Werneck
Status: new
Milestone: ET_2023_05
Version:
Type: enhancement
Priority: major
Component:
Comment (by Leonardo Werneck):
Gabriele---
Upon further discussion, the functionality you seek is already provided by the thorn, although it is not its default behavior. For example, the following non-standard output configuration:
```
particle_tracerET::output_freq = 4
particle_tracerET::output_format = "ascii" # Default
```
can be made standard by doing
```
particle_tracerET::output_freq = 0
<...>
CarpetIOASCII::out1D_every = 128 # Or whatever
CarpetIOASCII::out1D_vars = "
<...>
particle_tracerET::particle_position_arrays{out_every=4}
"
```
Note that in the standard output the particle positions would be in the file `particle_traceret-particle_position_arrays.x.asc`, while the non-standard output file is named `particles.asc`. In fact one can enable both outputs at the same time using e.g.,
```
particle_tracerET::output_freq = 4
<...>
CarpetIOASCII::out1D_every = 128 # Or whatever
CarpetIOASCII::out1D_vars = "
<...>
particle_tracerET::particle_position_arrays{out_every=particle_tracerET::output_freq}
"
```
Granted, this is not well documented, so we should add this to the thorn’s documentation.
--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2691/new-features-to-particle_traceret
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20230131/55c15fbe/attachment.html
More information about the Trac
mailing list