Skip to content

Commit

Permalink
Merge branch '159_temp_jacobian_type_fd_step_fix' into 159_fd_step_size
Browse files Browse the repository at this point in the history
  • Loading branch information
PrasadBabarendaGamage committed Sep 14, 2018
2 parents 55688f3 + f6dc50a commit 0602545
Show file tree
Hide file tree
Showing 12 changed files with 255 additions and 195 deletions.
8 changes: 4 additions & 4 deletions src/Burgers_equation_routines.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1242,8 +1242,8 @@ SUBROUTINE BURGERS_EQUATION_EQUATIONS_SET_SETUP(EQUATIONS_SET,EQUATIONS_SET_SETU
END SELECT
ENDIF
! Use the analytic Jacobian calculation
CALL EquationsMatrices_JacobianTypesSet(vectorMatrices,[EQUATIONS_JACOBIAN_ANALYTIC_CALCULATED], &
& err,error,*999)
!CALL EquationsMatrices_JacobianTypesSet(vectorMatrices,[EQUATIONS_JACOBIAN_ANALYTIC_CALCULATED], &
! & err,error,*999)
CALL EquationsMatrices_VectorCreateFinish(vectorMatrices,err,error,*999)
CASE(EQUATIONS_SET_BEM_SOLUTION_METHOD)
CALL FlagError("Not implemented.",err,error,*999)
Expand Down Expand Up @@ -1313,8 +1313,8 @@ SUBROUTINE BURGERS_EQUATION_EQUATIONS_SET_SETUP(EQUATIONS_SET,EQUATIONS_SET_SETU
CALL FlagError(localError,err,error,*999)
END SELECT
! Use the analytic Jacobian calculation
CALL EquationsMatrices_JacobianTypesSet(vectorMatrices,[EQUATIONS_JACOBIAN_ANALYTIC_CALCULATED], &
& err,error,*999)
!CALL EquationsMatrices_JacobianTypesSet(vectorMatrices,[EQUATIONS_JACOBIAN_ANALYTIC_CALCULATED], &
! & err,error,*999)
CALL EquationsMatrices_VectorCreateFinish(vectorMatrices,err,error,*999)
CASE(EQUATIONS_SET_BEM_SOLUTION_METHOD)
CALL FlagError("Not implemented.",err,error,*999)
Expand Down
14 changes: 7 additions & 7 deletions src/Navier_Stokes_equations_routines.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2290,8 +2290,8 @@ SUBROUTINE NAVIER_STOKES_EQUATIONS_SET_SETUP(EQUATIONS_SET,EQUATIONS_SET_SETUP,e
!Create the equations matrices
CALL EquationsMatrices_VectorCreateStart(vectorEquations,vectorMatrices,err,error,*999)
! Use the analytic Jacobian calculation
CALL EquationsMatrices_JacobianTypesSet(vectorMatrices,[EQUATIONS_JACOBIAN_ANALYTIC_CALCULATED], &
& err,error,*999)
!CALL EquationsMatrices_JacobianTypesSet(vectorMatrices,[EQUATIONS_JACOBIAN_ANALYTIC_CALCULATED], &
! & err,error,*999)
SELECT CASE(equations%sparsityType)
CASE(EQUATIONS_MATRICES_FULL_MATRICES)
CALL EquationsMatrices_LinearStorageTypeSet(vectorMatrices,[MATRIX_BLOCK_STORAGE_TYPE], &
Expand Down Expand Up @@ -2330,8 +2330,8 @@ SUBROUTINE NAVIER_STOKES_EQUATIONS_SET_SETUP(EQUATIONS_SET,EQUATIONS_SET_SETUP,e
!Create the equations matrices
CALL EquationsMatrices_VectorCreateStart(vectorEquations,vectorMatrices,err,error,*999)
! Use the analytic Jacobian calculation
CALL EquationsMatrices_JacobianTypesSet(vectorMatrices,[EQUATIONS_JACOBIAN_ANALYTIC_CALCULATED], &
& err,error,*999)
!CALL EquationsMatrices_JacobianTypesSet(vectorMatrices,[EQUATIONS_JACOBIAN_ANALYTIC_CALCULATED], &
! & err,error,*999)
SELECT CASE(equations%sparsityType)
CASE(EQUATIONS_MATRICES_FULL_MATRICES)
CALL EquationsMatrices_LinearStorageTypeSet(vectorMatrices,[MATRIX_BLOCK_STORAGE_TYPE], &
Expand Down Expand Up @@ -2418,7 +2418,7 @@ SUBROUTINE NAVIER_STOKES_EQUATIONS_SET_SETUP(EQUATIONS_SET,EQUATIONS_SET_SETUP,e
!Create the equations matrices
CALL EquationsMatrices_VectorCreateStart(vectorEquations,vectorMatrices,err,error,*999)
! Use the analytic Jacobian calculation
CALL EquationsMatrices_JacobianTypesSet(vectorMatrices,[EQUATIONS_JACOBIAN_ANALYTIC_CALCULATED],err,error,*999)
!CALL EquationsMatrices_JacobianTypesSet(vectorMatrices,[EQUATIONS_JACOBIAN_ANALYTIC_CALCULATED],err,error,*999)
SELECT CASE(equations%sparsityType)
CASE(EQUATIONS_MATRICES_FULL_MATRICES)
CALL EquationsMatrices_DynamicStorageTypeSet(vectorMatrices,[MATRIX_BLOCK_STORAGE_TYPE, &
Expand Down Expand Up @@ -2496,8 +2496,8 @@ SUBROUTINE NAVIER_STOKES_EQUATIONS_SET_SETUP(EQUATIONS_SET,EQUATIONS_SET_SETUP,e
!Create the equations matrices
CALL EquationsMatrices_VectorCreateStart(vectorEquations,vectorMatrices,err,error,*999)
! Use the analytic Jacobian calculation
CALL EquationsMatrices_JacobianTypesSet(vectorMatrices,[EQUATIONS_JACOBIAN_ANALYTIC_CALCULATED], &
& err,error,*999)
!CALL EquationsMatrices_JacobianTypesSet(vectorMatrices,[EQUATIONS_JACOBIAN_ANALYTIC_CALCULATED], &
! & err,error,*999)
SELECT CASE(equations%sparsityType)
CASE(EQUATIONS_MATRICES_FULL_MATRICES)
CALL EquationsMatrices_LinearStorageTypeSet(vectorMatrices,[MATRIX_BLOCK_STORAGE_TYPE], &
Expand Down
2 changes: 1 addition & 1 deletion src/Poisson_equations_routines.f90
Original file line number Diff line number Diff line change
Expand Up @@ -3171,7 +3171,7 @@ SUBROUTINE Poisson_EquationsSetNonlinearSourceSetup(EQUATIONS_SET,EQUATIONS_SET_
!Create the equations matrices
CALL EquationsMatrices_VectorCreateStart(vectorEquations,vectorMatrices,err,error,*999)
!Use the analytic Jacobian calculation
CALL EquationsMatrices_JacobianTypesSet(vectorMatrices,[EQUATIONS_JACOBIAN_ANALYTIC_CALCULATED],err,error,*999)
!CALL EquationsMatrices_JacobianTypesSet(vectorMatrices,[EQUATIONS_JACOBIAN_ANALYTIC_CALCULATED],err,error,*999)
SELECT CASE(equations%sparsityType)
CASE(EQUATIONS_MATRICES_FULL_MATRICES)
CALL EquationsMatrices_LinearStorageTypeSet(vectorMatrices,[MATRIX_BLOCK_STORAGE_TYPE],err,error,*999)
Expand Down
4 changes: 2 additions & 2 deletions src/characteristic_equation_routines.f90
Original file line number Diff line number Diff line change
Expand Up @@ -780,8 +780,8 @@ SUBROUTINE Characteristic_EquationsSetSetup(equationsSet,equationsSetSetup,err,e
!Create the equations matrices
CALL EquationsMatrices_VectorCreateStart(vectorEquations,vectorMatrices,err,error,*999)
! Use the analytic Jacobian calculation
CALL EquationsMatrices_JacobianTypesSet(vectorMatrices,[EQUATIONS_JACOBIAN_ANALYTIC_CALCULATED], &
& err,error,*999)
!CALL EquationsMatrices_JacobianTypesSet(vectorMatrices,[EQUATIONS_JACOBIAN_ANALYTIC_CALCULATED], &
! & err,error,*999)
SELECT CASE(equations%sparsityType)
CASE(EQUATIONS_MATRICES_FULL_MATRICES)
CALL EquationsMatrices_LinearStorageTypeSet(vectorMatrices,[MATRIX_BLOCK_STORAGE_TYPE], &
Expand Down

0 comments on commit 0602545

Please sign in to comment.