Add TS interface API for 2nd order systems as in PETSc commit efe9872e0e12ef39052464c4f0551d2124a04b33

Merged
#79 · Created  · Last updated

Merged pull request

Merged in francesco_ballarin/petsc4py/maint (pull request #79)

f23e9de·Author: ·Closed by: ·2016-10-25

Description

Dear Lisandro, dear petsc4py community,

I was trying to use TS and its method ALPHA2 in a user code, and I found out that the ALPHA2 name is wrapped, but setI2Function, setI2Jacobian, etc. were not.

Please find below my attempt at doing so, mostly copying what was already implemented for the standard case.

Please also note that I could not stick to the naming convention for the methods

  • TS2GetSolution

  • TS2SetSolution

because of the leading number. Those have been renamed in

  • ts.getSolution2

  • ts.setSolution2

Best regards, Francesco

0 attachments

0 comments

Loading commits...