@@ -188,7 +188,7 @@ function swigc_TrilinosSolver_solve(farg1, farg2, farg3) &
188
188
type (SwigClassWrapper), intent (in ) :: farg1
189
189
type (SwigClassWrapper), intent (in ) :: farg2
190
190
type (SwigClassWrapper), intent (in ) :: farg3
191
- real (C_DOUBLE ) :: fresult
191
+ integer (C_INT ) :: fresult
192
192
end function
193
193
194
194
subroutine swigc_delete_TrilinosSolver (farg1 ) &
@@ -602,13 +602,21 @@ subroutine swigf_TrilinosSolver_setup_solver(self, paramlist)
602
602
call swigc_TrilinosSolver_setup_solver(farg1, farg2)
603
603
end subroutine
604
604
605
+
606
+ subroutine SWIGTM_fout_bool (imout , fout )
607
+ use , intrinsic :: ISO_C_BINDING
608
+ integer (kind= C_INT), intent (in ) :: imout
609
+ logical , intent (out ) :: fout
610
+ fout = (imout /= 0 )
611
+ end subroutine
612
+
605
613
subroutine swigf_TrilinosSolver_solve (self , rhs , lhs , swig_result )
606
614
use , intrinsic :: ISO_C_BINDING
607
615
class(TrilinosSolver), intent (in ) :: self
608
616
class(TpetraMultiVector), intent (in ) :: rhs
609
617
class(TpetraMultiVector), intent (in ) :: lhs
610
- real (C_DOUBLE) , intent (out ), optional :: swig_result
611
- real (C_DOUBLE ) :: fresult
618
+ logical , intent (out ), optional :: swig_result
619
+ integer (C_INT ) :: fresult
612
620
type (SwigClassWrapper) :: farg1
613
621
type (SwigClassWrapper) :: farg2
614
622
type (SwigClassWrapper) :: farg3
@@ -618,7 +626,7 @@ subroutine swigf_TrilinosSolver_solve(self, rhs, lhs, swig_result)
618
626
farg3 = lhs% swigdata
619
627
fresult = swigc_TrilinosSolver_solve(farg1, farg2, farg3)
620
628
if (present (swig_result)) then
621
- swig_result = fresult
629
+ call SWIGTM_fout_bool( fresult, swig_result)
622
630
endif
623
631
624
632
end subroutine
@@ -800,14 +808,6 @@ function swigf_TrilinosEigenSolver_solve(self, eigenvalues, eigenvectors, eigeni
800
808
swig_result = int (fresult)
801
809
end function
802
810
803
-
804
- subroutine SWIGTM_fout_bool (imout , fout )
805
- use , intrinsic :: ISO_C_BINDING
806
- integer (kind= C_INT), intent (in ) :: imout
807
- logical , intent (out ) :: fout
808
- fout = (imout /= 0 )
809
- end subroutine
810
-
811
811
function swigf_TrilinosEigenSolver_converged (self ) &
812
812
result(swig_result)
813
813
use , intrinsic :: ISO_C_BINDING
0 commit comments