Commit 19490f8e authored by Loic Hausammann's avatar Loic Hausammann
Browse files

GEAR: update pressure_floor/none API

parent c78ba29b
......@@ -61,6 +61,7 @@
#include "hydro_properties.h"
#include "memswap.h"
#include "minmax.h"
#include "pressure_floor.h"
#include "scheduler.h"
#include "space.h"
#include "space_getsid.h"
......
......@@ -84,6 +84,7 @@ __attribute__((always_inline)) static INLINE float pressure_floor_get_physical_p
*
* @param p The #part.
* @param pressure_comoving The comoving pressure without any pressure floor.
* @param cosmo The #cosmology model.
*
* @return The physical or comoving pressure with the floor.
*/
......
......@@ -44,13 +44,12 @@ struct pressure_floor_properties {};
*
* @param p The #part.
* @param rho The physical or comoving density.
* @param pressure The physical pressure without any pressure floor.
* @param cosmo The #cosmology model.
*
* @return The physical pressure with the floor.
*/
static INLINE float pressure_floor_get_physical_pressure(const struct part* p,
const float rho,
const float pressure) {
static INLINE float pressure_floor_get_physical_pressure(
const struct part* p, const float rho, const struct cosmology *cosmo) {
return pressure;
}
......@@ -61,13 +60,12 @@ static INLINE float pressure_floor_get_physical_pressure(const struct part* p,
*
* @param p The #part.
* @param rho The physical or comoving density.
* @param pressure The comoving pressure without any pressure floor.
* @param cosmo The #cosmology model.
*
* @return The comoving pressure with the floor.
*/
static INLINE float pressure_floor_get_comoving_pressure(const struct part* p,
const float rho,
const float pressure) {
static INLINE float pressure_floor_get_comoving_pressure(
const struct part* p, const float rho, const struct cosmology *cosmo) {
return pressure;
}
......
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