adopted from DAMASK_spectral
This commit is contained in:
parent
4c057ba529
commit
6780217193
|
@ -7,8 +7,13 @@
|
||||||
!> results
|
!> results
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
program DAMASK_FEM
|
program DAMASK_FEM
|
||||||
use, intrinsic :: &
|
#if defined(__GFORTRAN__) || __INTEL_COMPILER >= 1800
|
||||||
iso_fortran_env ! to get compiler_version and compiler_options (at least for gfortran >4.6 at the moment)
|
use, intrinsic :: iso_fortran_env, only: &
|
||||||
|
compiler_version, &
|
||||||
|
compiler_options
|
||||||
|
#endif
|
||||||
|
#include <petsc/finclude/petscsys.h>
|
||||||
|
use PETScsys
|
||||||
use prec, only: &
|
use prec, only: &
|
||||||
pInt, &
|
pInt, &
|
||||||
pReal, &
|
pReal, &
|
||||||
|
@ -64,7 +69,6 @@ program DAMASK_FEM
|
||||||
use FEM_mech
|
use FEM_mech
|
||||||
|
|
||||||
implicit none
|
implicit none
|
||||||
#include <petsc/finclude/petsc.h>
|
|
||||||
|
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
! variables related to information from load case and geom file
|
! variables related to information from load case and geom file
|
||||||
|
@ -102,8 +106,7 @@ program DAMASK_FEM
|
||||||
convergedCounter = 0_pInt, & !< No. of converged increments
|
convergedCounter = 0_pInt, & !< No. of converged increments
|
||||||
notConvergedCounter = 0_pInt, & !< No. of non-converged increments
|
notConvergedCounter = 0_pInt, & !< No. of non-converged increments
|
||||||
statUnit = 0_pInt, & !< file unit for statistics output
|
statUnit = 0_pInt, & !< file unit for statistics output
|
||||||
lastRestartWritten = 0_pInt !< total increment No. at which last restart information was written
|
lastRestartWritten = 0_pInt, & !< total increment No. at which last restart information was written
|
||||||
integer(pInt) :: &
|
|
||||||
stagIter, &
|
stagIter, &
|
||||||
component
|
component
|
||||||
logical :: &
|
logical :: &
|
||||||
|
@ -117,7 +120,6 @@ program DAMASK_FEM
|
||||||
PetscErrorCode :: ierr
|
PetscErrorCode :: ierr
|
||||||
|
|
||||||
external :: &
|
external :: &
|
||||||
MPI_abort, &
|
|
||||||
quit
|
quit
|
||||||
|
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue