Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing redundant functions related to old AoS architecture #1605

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions parcels/include/parcels.h
Original file line number Diff line number Diff line change
Expand Up @@ -1188,17 +1188,6 @@ static inline StatusCode temporal_interpolation(type_coord x, type_coord y, type
}
}

static inline StatusCode temporal_interpolation_pstruct(type_coord x, type_coord y, type_coord z, double time, CField *f,
void *vxi, void *vyi, void *vzi, void *vti,
float *value, int interp_method, int gridindexingtype)
{
int *xi = (int *) vxi;
int *yi = (int *) vyi;
int *zi = (int *) vzi;
int *ti = (int *) vti;
return temporal_interpolation(x, y, z, time, f, xi, yi, zi, ti, value, interp_method, gridindexingtype);
}

static inline StatusCode temporal_interpolationUV(type_coord x, type_coord y, type_coord z, double time,
CField *U, CField *V,
int *xi, int *yi, int *zi, int *ti,
Expand All @@ -1224,18 +1213,6 @@ static inline StatusCode temporal_interpolationUV(type_coord x, type_coord y, ty
}
}

static inline StatusCode temporal_interpolationUV_pstruct(type_coord x, type_coord y, type_coord z, double time,
CField *U, CField *V,
void *vxi, void *vyi, void *vzi, void *vti,
float *valueU, float *valueV, int interp_method, int gridindexingtype)
{
int *xi = (int *) vxi;
int *yi = (int *) vyi;
int *zi = (int *) vzi;
int *ti = (int *) vti;
return temporal_interpolationUV(x, y, z, time, U, V, xi, yi, zi, ti, valueU, valueV, interp_method, gridindexingtype);
}

static inline StatusCode temporal_interpolationUVW(type_coord x, type_coord y, type_coord z, double time,
CField *U, CField *V, CField *W,
int *xi, int *yi, int *zi, int *ti,
Expand Down Expand Up @@ -1263,20 +1240,6 @@ static inline StatusCode temporal_interpolationUVW(type_coord x, type_coord y, t
return SUCCESS;
}

static inline StatusCode temporal_interpolationUVW_pstruct(type_coord x, type_coord y, type_coord z, double time,
CField *U, CField *V, CField *W,
void *vxi, void *vyi, void *vzi, void *vti,
float *valueU, float *valueV, float *valueW, int interp_method, int gridindexingtype)
{
int *xi = (int *) vxi;
int *yi = (int *) vyi;
int *zi = (int *) vzi;
int *ti = (int *) vti;
return temporal_interpolationUVW(x, y, z, time, U, V, W, xi, yi, zi, ti, valueU, valueV, valueW, interp_method, gridindexingtype);
}



#ifdef __cplusplus
}
#endif
Expand Down
Loading