Re: [petsc-users] Kronecker Product

2023-01-30 Thread Guglielmo, Tyler Hardy via petsc-users
Cc: Barry Smith , petsc-users@mcs.anl.gov Subject: Re: [petsc-users] Kronecker Product On Mon, Jan 30, 2023 at 3:08 PM Guglielmo, Tyler Hardy via petsc-users mailto:petsc-users@mcs.anl.gov>> wrote: I would need the Kronecker product to be explicitly available to perform matrix expone

Re: [petsc-users] Kronecker Product

2023-01-30 Thread Guglielmo, Tyler Hardy via petsc-users
t; Cc: Barry Smith mailto:bsm...@petsc.dev>>, petsc-users@mcs.anl.gov<mailto:petsc-users@mcs.anl.gov> mailto:petsc-users@mcs.anl.gov>> Subject: Re: [petsc-users] Kronecker Product On Mon, Jan 30, 2023 at 2:24 PM Guglielmo, Tyler Hardy via petsc-users mailto:petsc-users@mcs.anl.gov

Re: [petsc-users] Kronecker Product

2023-01-30 Thread Guglielmo, Tyler Hardy via petsc-users
-users@mcs.anl.gov Subject: Re: [petsc-users] Kronecker Product On Mon, Jan 30, 2023 at 2:24 PM Guglielmo, Tyler Hardy via petsc-users mailto:petsc-users@mcs.anl.gov>> wrote: Thanks Barry, I saw that function, but wasn’t sure how to apply it since the documentation says that S and T are

Re: [petsc-users] Kronecker Product

2023-01-30 Thread Guglielmo, Tyler Hardy via petsc-users
12:53 PM, Guglielmo, Tyler Hardy via petsc-users wrote: Hi all, I am wondering if there is any functionality for taking Kronecker products of large sparse matrices that are parallel? MatSeqAIJKron is as close as I have found, but it seems like this does not work for parallel matrices. Any

[petsc-users] Kronecker Product

2023-01-30 Thread Guglielmo, Tyler Hardy via petsc-users
Hi all, I am wondering if there is any functionality for taking Kronecker products of large sparse matrices that are parallel? MatSeqAIJKron is as close as I have found, but it seems like this does not work for parallel matrices. Any ideas here? An option could be to make A and B

[petsc-users] Using slepc MFN

2022-12-15 Thread Guglielmo, Tyler Hardy via petsc-users
Not sure if there are many slepc users here, but I have a question regarding MFN in slepc. Essentially I am running a loop over time steps, and at each step I would like to compute a matrix exponential, however the matrix that I am computing the exponential of changes in a non-trivial way at

Re: [petsc-users] Saving solution with monitor function

2022-12-14 Thread Guglielmo, Tyler Hardy via petsc-users
information. If you need specific information that it does not currently provide we can attempt to provide additional functionality. Barry On Dec 14, 2022, at 1:07 PM, Guglielmo, Tyler Hardy via petsc-users wrote: Thanks Matt, I’m a bit confused on where the trajectory is

Re: [petsc-users] Saving solution with monitor function

2022-12-14 Thread Guglielmo, Tyler Hardy via petsc-users
Knepley Date: Tuesday, December 13, 2022 at 6:41 AM To: Guglielmo, Tyler Hardy Cc: petsc-users@mcs.anl.gov Subject: Re: [petsc-users] Saving solution with monitor function On Tue, Dec 13, 2022 at 8:40 AM Guglielmo, Tyler Hardy via petsc-users mailto:petsc-users@mcs.anl.gov>> wrote: Hi all,

Re: [petsc-users] Saving solution with monitor function

2022-12-13 Thread Guglielmo, Tyler Hardy via petsc-users
these files into Matlab, you can use some scripts in share/petsc/matlab/ such as PetscReadBinaryTrajectory.m and PetscBinaryRead.m. The python versions of these scripts are available in lib/petsc/bin/. Hong(Mr.) On Dec 13, 2022, at 12:14 AM, Guglielmo, Tyler Hardy via petsc-users mailto:petsc

[petsc-users] Saving solution with monitor function

2022-12-13 Thread Guglielmo, Tyler Hardy via petsc-users
Hi all, I am a new PETSc user (and new to MPI in general), and was wondering if someone could help me out with what I am sure is a basic question (if this is not the appropriate email list or there is a better place please let me know!). Basically, I am writing a code that requires a solution