|
WarpX
|
Functions | |
| bool | WriteBinaryDataOnFile (std::string filename, const amrex::Vector< char > &data) |
| constexpr uint64_t | localIDtoGlobal (int const id, int const cpu) |
| constexpr uint64_t WarpXUtilIO::localIDtoGlobal | ( | int const | id, |
| int const | cpu | ||
| ) |
A helper function to derive a globally unique particle ID
| [in] | id | AMReX particle ID (on local cpu/rank), AoS .id |
| [in] | cpu | AMReX particle CPU (rank) at creation of the particle, AoS .cpu |
| bool WarpXUtilIO::WriteBinaryDataOnFile | ( | std::string | filename, |
| const amrex::Vector< char > & | data | ||
| ) |
A helper function to write binary data on disk.
| [in] | filename | where to write |
| [in] | data | Vector containing binary data to write on disk return true if it succeeds, false otherwise |
1.8.13