Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/hamiltonian/
H A Dex2.c137 Mat fftPot; // Fourier Transform operator for the potential member
203 options->fftPot = NULL; in ProcessOptions()
368 PetscCall(MatCreateFFT(comm, dim, &N, MATFFTW, &ctx->fftPot)); in SetupContext()
370 PetscCall(MatCreateVecs(ctx->fftPot, &ctx->fftX, &ctx->fftY)); in SetupContext()
407 PetscCall(MatDestroy(&ctx->fftPot)); in DestroyContext()
849 PetscCall(MatMult(ctx->fftPot, ctx->fftX, ctx->fftY)); in MonitorPoisson()
H A Dex4.c185 Mat fftPot; // Fourier Transform operator for the potential member
277 options->fftPot = NULL; in ProcessOptions()
453 PetscCall(MatCreateFFT(comm, dim, &N, MATFFTW, &ctx->fftPot)); in SetupContext()
455 PetscCall(MatCreateVecs(ctx->fftPot, &ctx->fftX, &ctx->fftY)); in SetupContext()
562 PetscCall(MatDestroy(&ctx->fftPot)); in DestroyContext()
1365 PetscCall(MatMult(ctx->fftPot, ctx->fftX, ctx->fftY)); in MonitorPoisson()