[petsc-users] TSAdaptSetType in fortran

Barry Smith bsmith at mcs.anl.gov
Tue Mar 21 03:45:54 CDT 2017


> On Mar 21, 2017, at 3:39 AM, Praveen C <cpraveen at gmail.com> wrote:
> 
> Thank you.
> 
> Will this fix be added to future versions or I have to apply this manually ?

  I will put it in maint and master as soon as I know it isn't buggy. So within a day or two.


  Barry

> 
> Best
> praveen
> 
> On Tue, Mar 21, 2017 at 1:41 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> 
>   Sorry about that; since it involves character strings so it is something we currently need to do manually.
> 
>   If you are
> 
> 1) using petsc 3.7 from the tar ball I've attached a patch file, apply it in the petsc directory with patch -p1 < add-fortran-tsadaptsettype
> 
> 2) if you are using petsc 3.7 from the git repository (i.e. the maint branch) do "git fetch; git checkout barry/add-fortran-tsadaptsettype"
> 
> 3) if you are using petsc master from git use "git fetch; git checkout barry/add-fortran-tsadaptsettype; git checkout master; git merge barry/add-fortran-tsadaptsettype"
> 
> In all cases after this you need to rerun ./configure and make
> 
>    Barry
> 
> 
> 
> > On Mar 21, 2017, at 1:22 AM, Praveen C <cpraveen at gmail.com> wrote:
> >
> > Dear all
> >
> > In my fortran code, I want to set to TSADAPTNONE by default. But it seems that TSAdaptSetType does not exist in fortran. Is there a solution for this ?
> >
> > Thanks
> > praveen
> 
> 
> 



More information about the petsc-users mailing list