[petsc-users] Combine PETSc with CVode example

Smith, Barry F. bsmith at mcs.anl.gov
Thu Nov 8 22:06:11 CST 2018



> On Nov 8, 2018, at 9:14 PM, Jed Brown via petsc-users <petsc-users at mcs.anl.gov> wrote:
> 
> All PETSc TS examples can be run with -ts_type sundials.

   Note that in general PETSc uses its integrators across the entire grid, not a separate integrator at each point, though that is possible. You need to create a TS object for each grid point, provide the appropriate function (that operates on that one point) and then set the integrator to sundials.

   Barry

> 
> Aroli Marcellinus via petsc-users <petsc-users at mcs.anl.gov> writes:
> 
>> Hi,
>> 
>> 
>> Is there any simple example about using CVode in PETSc properly? Like
>> solving ODE in each node at some 3D-mesh?
>> 
>> Thank you.
>> 
>> Aroli Marcellinus
>> 
>> *Kumoh Institute of Technology**Computational Medicine Laboratory*
>> 61 Daehak-ro (Sinpyeong-dong), Gumi, Gyeongbuk
>> +82 10 9724 3957
>> KTalk ID: vondarkness



More information about the petsc-users mailing list