diff --git a/src/common_io.c b/src/common_io.c index 0316ca0a140f62402e473a1450e620a35a321318..0b6130e3de486b054cce22bc4939b611f0d9fa39 100644 --- a/src/common_io.c +++ b/src/common_io.c @@ -317,6 +317,7 @@ void writeSPHflavour(hid_t h_file) /** * @brief Writes the current Unit System * @param h_file The (opened) HDF5 file in which to write + * @param us The UnitSystem used in the run */ void writeUnitSystem(hid_t h_file, struct UnitSystem* us) { diff --git a/src/serial_io.c b/src/serial_io.c index 9601f7e892ac146369d4d9d6c193f3f2d8e5e3ab..4c38a3e9c52a505b44c0cd581ca90b2108caf997 100644 --- a/src/serial_io.c +++ b/src/serial_io.c @@ -271,6 +271,8 @@ void read_ic ( char* fileName, double dim[3], struct part **parts, int* N, int* * @param N The number of particles to write. * @param dim The dimension of the data (1 for scalar, 3 for vector) * @param part_c A (char*) pointer on the first occurence of the field of interest in the parts array + * @param us The UnitSystem currently in use + * @param convFactor The UnitConversionFactor for this array * * @todo A better version using HDF5 hyperslabs to write the file directly from the part array * will be written once the strucutres have been stabilized. @@ -378,6 +380,7 @@ void writeArrayBackEnd(hid_t grp, char* fileName, FILE* xmfFile, char* name, enu * @brief Writes an HDF5 output file (GADGET-3 type) with its XMF descriptor * * @param e The engine containing all the system. + * @param us The UnitSystem used for the conversion of units in the output * * Creates an HDF5 output file and writes the particles contained * in the engine. If such a file already exists, it is erased and replaced