Commit b8008198 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Also add the new function to the units header file. Remove the unnecessary...

Also add the new function to the units header file. Remove the unnecessary inclusion of the MPI headers.
parent 46eba013
......@@ -28,11 +28,6 @@
#include <stdlib.h>
#include <string.h>
/* MPI headers. */
#ifdef WITH_MPI
#include <mpi.h>
#endif
/* This object's header. */
#include "units.h"
......
......@@ -96,6 +96,8 @@ enum unit_conversion_factor {
};
void units_init_cgs(struct unit_system*);
void units_init(struct unit_system* us, double U_M_in_cgs, double U_L_in_cgs,
double U_t_in_cgs, double U_C_in_cgs, double U_T_in_cgs);
void units_init_from_params(struct unit_system*, const struct swift_params*,
const char* category);
void units_init_default(struct unit_system* us,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment