Skip to content
Snippets Groups Projects
Commit d286ea31 authored by Josh Borrow's avatar Josh Borrow
Browse files

Merge branch 'io_selection_changes' of...

Merge branch 'io_selection_changes' of https://gitlab.cosma.dur.ac.uk/swift/swiftsim into io_selection_changes
parents a35acbda ed7b3bd5
No related branches found
No related tags found
1 merge request!1088Io selection changes
...@@ -124,7 +124,7 @@ runner_iact_nonsym_bh_gas_density( ...@@ -124,7 +124,7 @@ runner_iact_nonsym_bh_gas_density(
error( error(
"Invalid denominator for BH particle %lld and gas particle " "Invalid denominator for BH particle %lld and gas particle "
"%lld in Bondi rate calculation.", "%lld in Bondi rate calculation.",
bp->id, pj->id); bi->id, pj->id);
#endif #endif
const double denominator_inv = 1. / sqrt(denominator2); const double denominator_inv = 1. / sqrt(denominator2);
......
/******************************************************************************* /*******************************************************************************
* This file is part of SWIFT. * This file is part of SWIFT.
* Copyright (c) 2020 Josh Borrow (josh.borrow@durham.ac.uk) * Copyright (c) 2020 Josh Borrow (josh.borrow@durham.ac.uk)
...@@ -17,14 +16,20 @@ ...@@ -17,14 +16,20 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
******************************************************************************/ ******************************************************************************/
#include "../config.h"
/* Some standard headers. */
#include <stdlib.h> #include <stdlib.h>
/* MPI headers. */
#ifdef WITH_MPI #ifdef WITH_MPI
#include <mpi.h> #include <mpi.h>
#endif #endif
/* This object's header. */
#include "output_options.h" #include "output_options.h"
/* Local headers. */
#include "parser.h" #include "parser.h"
#include "part_type.h" #include "part_type.h"
#include "swift.h" #include "swift.h"
...@@ -143,4 +148,4 @@ int output_options_should_write_field(struct output_options* output_options, ...@@ -143,4 +148,4 @@ int output_options_should_write_field(struct output_options* output_options,
#endif #endif
return should_write; return should_write;
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment