Output support for Lagrangian particle tracking.
|
| subroutine | lpt_output_init (this, output_path, inertia, snapshots_per_file) |
| | Initialise the LPT output writer.
|
| |
| subroutine | lpt_output_init_file (this) |
| | Initialise the currently active LPT output file.
|
| |
| subroutine | lpt_output_current_path (this, output_path) |
| | Get the active output path, adding a file index when chunked output is on.
|
| |
| subroutine | lpt_output_init_hdf5 (this, output_path, inertia) |
| | Initialise an HDF5 LPT trajectory file.
|
| |
| subroutine | lpt_output_write (this, local_data, n_local) |
| | Write one trajectory snapshot.
|
| |
| subroutine | lpt_output_write_hdf5 (this, local_data, n_local) |
| | Append one local LPT trajectory snapshot to an HDF5 file.
|
| |
| subroutine | lpt_output_write_csv (this, local_data, n_local) |
| | Write one trajectory snapshot to CSV by gathering particle data to rank 0.
|
| |
| subroutine | lpt_output_free (this) |
| | Free the output writer and reset file/output counters.
|
| |
◆ lpt_output_current_path()
- Parameters
-
| output_path | Path selected for the current output file. |
Definition at line 126 of file lpt_output.f90.
◆ lpt_output_free()
◆ lpt_output_init()
- Parameters
-
| output_path | Base output path, including csv/hdf5 suffix. |
| inertia | Whether particle records include diameter and density. |
| snapshots_per_file | Number of snapshots per file, or 0 for all. |
Definition at line 73 of file lpt_output.f90.
◆ lpt_output_init_file()
◆ lpt_output_init_hdf5()
- Parameters
-
| output_path | HDF5 file path to initialise. |
| inertia | Whether particle records include diameter and density. |
Definition at line 143 of file lpt_output.f90.
◆ lpt_output_write()
- Parameters
-
| local_data | Particle data owned by this rank. |
| n_local | Number of local particles. |
Definition at line 199 of file lpt_output.f90.
◆ lpt_output_write_csv()
- Parameters
-
| local_data | Particle data owned by this rank. |
| n_local | Number of local particles. |
Definition at line 291 of file lpt_output.f90.
◆ lpt_output_write_hdf5()
- Parameters
-
| local_data | Particle data owned by this rank. |
| n_local | Number of local particles. |
Definition at line 221 of file lpt_output.f90.