Home
last modified time | relevance | path

Searched refs:fftReal (Results 1 – 2 of 2) sorted by relevance

/petsc/src/ts/tutorials/hamiltonian/
H A Dex2.c139 IS fftReal; // The indices for real parts member
206 options->fftReal = NULL; in ProcessOptions()
371 PetscCall(ISCreateStride(PETSC_COMM_SELF, N, 0, 1, &ctx->fftReal)); in SetupContext()
410 PetscCall(ISDestroy(&ctx->fftReal)); in DestroyContext()
848 PetscCall(VecISCopy(ctx->fftX, ctx->fftReal, SCATTER_FORWARD, rho)); in MonitorPoisson()
853 PetscCall(VecISCopy(ctx->fftY, ctx->fftReal, SCATTER_REVERSE, rhohat)); in MonitorPoisson()
H A Dex4.c187 IS fftReal; // The indices for real parts member
280 options->fftReal = NULL; in ProcessOptions()
456 PetscCall(ISCreateStride(PETSC_COMM_SELF, N, 0, 1, &ctx->fftReal)); in SetupContext()
565 PetscCall(ISDestroy(&ctx->fftReal)); in DestroyContext()
1364 PetscCall(VecISCopy(ctx->fftX, ctx->fftReal, SCATTER_FORWARD, rho)); in MonitorPoisson()
1369 PetscCall(VecISCopy(ctx->fftY, ctx->fftReal, SCATTER_REVERSE, rhohat)); in MonitorPoisson()