MCPcopy Create free account
hub / github.com/NanoComp/meep / create_or_extend_data

Method create_or_extend_data

src/h5file.cpp:600–606  ·  view source on GitHub ↗

If append_data is true, dataname is the current dataset, and is extensible, then as extend_data; otherwise as create_data. */

Source from the content-addressed store, hash-verified

598/* If append_data is true, dataname is the current dataset, and is
599 extensible, then as extend_data; otherwise as create_data. */
600void h5file::create_or_extend_data(const char *dataname, int rank, const size_t *dims,
601 bool append_data, bool single_precision) {
602 if (get_extending(dataname))
603 extend_data(dataname, rank, dims);
604 else
605 create_data(dataname, rank, dims, append_data, single_precision);
606}
607
608/*****************************************************************************/
609

Callers 2

process_dft_componentMethod · 0.80
output_hdf5Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected