Skip to content

Commit ea38c76

Browse files
committed
WIP
1 parent 93f910b commit ea38c76

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

include/ftk/filters/mpas_ocean_particle_tracker.cuh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ void mop_load_data(mop_ctx_t *c,
4949
const double *zTop,
5050
const double *A);
5151

52+
void mop_load_particles(mop_ctx_t *c,
53+
5254
void mop_execute(mop_ctx_t *c, int scope, int current_timestep);
5355
void mop_swap(mop_ctx_t *c);
5456

src/filters/particle_tracer_mpas.cu

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -305,17 +305,9 @@ void mop_load_data(mop_ctx_t *c,
305305
load_data<double>(c->d_A, A, c->ncells * c->nlayers, "A");
306306
}
307307

308-
#if 0
308+
309309
void mop_execute(mop_ctx_t *c, int scope, int current_timestep)
310310
{
311-
const int np = c->nphi * c->iphi * c->vphi;
312-
const int mx3n1 = (2 * c->m2n1 + c->m2n0) * np;
313-
const int mx3n2 = (3 * c->m2n2 + 2 * c->m2n1) * np;
314-
// const int mx4n2 = 3 * mx3n2 + 2 * mx3n1;
315-
const int mx4n2_ordinal = mx3n2,
316-
mx4n2_interval = 2 * mx3n2 + 2 * mx3n1;
317-
// fprintf(stderr, "executing timestep %d\n", current_timestep);
318-
319311
size_t ntasks;
320312
if (scope == scope_ordinal) ntasks = mx4n2_ordinal;
321313
else ntasks = mx4n2_interval;

0 commit comments

Comments
 (0)