Skip to content
Snippets Groups Projects
Commit 19490f8e authored by Loic Hausammann's avatar Loic Hausammann
Browse files

GEAR: update pressure_floor/none API

parent c78ba29b
No related branches found
No related tags found
1 merge request!885Gear merge pressure floor and GEAR star formation
...@@ -61,6 +61,7 @@ ...@@ -61,6 +61,7 @@
#include "hydro_properties.h" #include "hydro_properties.h"
#include "memswap.h" #include "memswap.h"
#include "minmax.h" #include "minmax.h"
#include "pressure_floor.h"
#include "scheduler.h" #include "scheduler.h"
#include "space.h" #include "space.h"
#include "space_getsid.h" #include "space_getsid.h"
......
...@@ -84,6 +84,7 @@ __attribute__((always_inline)) static INLINE float pressure_floor_get_physical_p ...@@ -84,6 +84,7 @@ __attribute__((always_inline)) static INLINE float pressure_floor_get_physical_p
* *
* @param p The #part. * @param p The #part.
* @param pressure_comoving The comoving pressure without any pressure floor. * @param pressure_comoving The comoving pressure without any pressure floor.
* @param cosmo The #cosmology model.
* *
* @return The physical or comoving pressure with the floor. * @return The physical or comoving pressure with the floor.
*/ */
......
...@@ -44,13 +44,12 @@ struct pressure_floor_properties {}; ...@@ -44,13 +44,12 @@ struct pressure_floor_properties {};
* *
* @param p The #part. * @param p The #part.
* @param rho The physical or comoving density. * @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. * @return The physical pressure with the floor.
*/ */
static INLINE float pressure_floor_get_physical_pressure(const struct part* p, static INLINE float pressure_floor_get_physical_pressure(
const float rho, const struct part* p, const float rho, const struct cosmology *cosmo) {
const float pressure) {
return pressure; return pressure;
} }
...@@ -61,13 +60,12 @@ static INLINE float pressure_floor_get_physical_pressure(const struct part* p, ...@@ -61,13 +60,12 @@ static INLINE float pressure_floor_get_physical_pressure(const struct part* p,
* *
* @param p The #part. * @param p The #part.
* @param rho The physical or comoving density. * @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. * @return The comoving pressure with the floor.
*/ */
static INLINE float pressure_floor_get_comoving_pressure(const struct part* p, static INLINE float pressure_floor_get_comoving_pressure(
const float rho, const struct part* p, const float rho, const struct cosmology *cosmo) {
const float pressure) {
return pressure; return pressure;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment