|
| procedure, pass(this), private | init_file (this) |
| | Initialise the currently active LPT output file.
|
| |
| procedure, pass(this), private | current_path (this, output_path) |
| | Get the active output path, adding a file index when chunked output is on.
|
| |
| procedure, pass(this), private | init_hdf5 (this, output_path, inertia) |
| | Initialise an HDF5 LPT trajectory file.
|
| |
| procedure, pass(this), private | write_csv (this, local_data, n_local) |
| | Write one trajectory snapshot to CSV by gathering particle data to rank 0.
|
| |
| procedure, pass(this), private | write_hdf5 (this, local_data, n_local) |
| | Append one local LPT trajectory snapshot to an HDF5 file.
|
| |
Definition at line 46 of file lpt_output.f90.
◆ current_path()
- Parameters
-
| output_path | Path selected for the current output file. |
Definition at line 61 of file lpt_output.f90.
◆ free()
◆ 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 57 of file lpt_output.f90.
◆ init_file()
◆ init_hdf5()
- Parameters
-
| output_path | HDF5 file path to initialise. |
| inertia | Whether particle records include diameter and density. |
Definition at line 62 of file lpt_output.f90.
◆ write()
- Parameters
-
| local_data | Particle data owned by this rank. |
| n_local | Number of local particles. |
Definition at line 59 of file lpt_output.f90.
◆ write_csv()
- Parameters
-
| local_data | Particle data owned by this rank. |
| n_local | Number of local particles. |
Definition at line 63 of file lpt_output.f90.
◆ write_hdf5()
- Parameters
-
| local_data | Particle data owned by this rank. |
| n_local | Number of local particles. |
Definition at line 64 of file lpt_output.f90.
◆ hdf5_output
| logical lpt_output::lpt_output_t::hdf5_output = .false. |
◆ hdf5_output_count
| integer lpt_output::lpt_output_t::hdf5_output_count = 0 |
◆ inertia
| logical lpt_output::lpt_output_t::inertia = .false. |
◆ n_data
| integer lpt_output::lpt_output_t::n_data = 0 |
◆ output_file
| type(file_t) lpt_output::lpt_output_t::output_file |
◆ output_file_index
| integer lpt_output::lpt_output_t::output_file_index = 1 |
◆ output_path
| character(len=1024) lpt_output::lpt_output_t::output_path = "" |
◆ snapshots_in_file
| integer lpt_output::lpt_output_t::snapshots_in_file = 0 |
◆ snapshots_per_file
| integer lpt_output::lpt_output_t::snapshots_per_file = 0 |
The documentation for this type was generated from the following file: