WarpX
|
Functions | |
bool | WriteBinaryDataOnFile (const std::string &filename, const amrex::Vector< char > &data) |
bool WarpXUtilIO::WriteBinaryDataOnFile | ( | const 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 |