Skip to content
Snippets Groups Projects
Commit 9dddef19 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Formatting

parent 98e20a96
No related branches found
No related tags found
No related merge requests found
...@@ -24,16 +24,21 @@ ...@@ -24,16 +24,21 @@
#include <stddef.h> #include <stddef.h>
/* Local includes. */ /* Local includes. */
#include "velociraptor_interface.h"
#include "swift_velociraptor_part.h" #include "swift_velociraptor_part.h"
#include "velociraptor_interface.h"
/* Dummy VELOCIraptor interface for testing compilation without linking the actual VELOCIraptor library. */ /* Dummy VELOCIraptor interface for testing compilation without linking the
* actual VELOCIraptor library. */
#ifdef HAVE_DUMMY_VELOCIRAPTOR #ifdef HAVE_DUMMY_VELOCIRAPTOR
int InitVelociraptor(char *config_name, char *output_name, int InitVelociraptor(char *config_name, char *output_name,
struct cosmoinfo cosmo_info, struct unitinfo unit_info, struct cosmoinfo cosmo_info, struct unitinfo unit_info,
struct siminfo sim_info){return 0;} struct siminfo sim_info) {
return 0;
}
int InvokeVelociraptor(const size_t num_gravity_parts, int InvokeVelociraptor(const size_t num_gravity_parts,
const size_t num_hydro_parts, const size_t num_hydro_parts,
struct swift_vel_part *swift_parts, struct swift_vel_part *swift_parts,
const int *cell_node_ids, char *output_name) {return 0;} const int *cell_node_ids, char *output_name) {
return 0;
}
#endif /* HAVE_DUMMY_VELOCIRAPTOR */ #endif /* HAVE_DUMMY_VELOCIRAPTOR */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment