Parallel green function
Compare changes
+ 154
− 76
@@ -51,10 +51,9 @@
@@ -72,9 +71,10 @@ __attribute__((always_inline)) INLINE static int row_major_id_periodic(int i,
@@ -106,8 +106,9 @@ __attribute__((always_inline)) INLINE static double CIC_get(
@@ -137,8 +138,9 @@ __attribute__((always_inline)) INLINE static void CIC_set(
@@ -183,8 +185,9 @@ INLINE static void gpart_to_mesh_CIC(const struct gpart* gp, double* rho, int N,
@@ -253,8 +256,8 @@ void cell_gpart_to_mesh_CIC_mapper(void* map_data, int num, void* extra) {
@@ -342,6 +345,139 @@ void mesh_to_gparts_CIC(struct gpart* gp, const double* pot, int N, double fac,
@@ -359,7 +495,7 @@ void mesh_to_gparts_CIC(struct gpart* gp, const double* pot, int N, double fac,
@@ -453,66 +589,8 @@ void pm_mesh_compute_potential(struct pm_mesh* mesh, const struct space* s,
@@ -534,7 +612,7 @@ void pm_mesh_compute_potential(struct pm_mesh* mesh, const struct space* s,