small polishing

This commit is contained in:
Martin Diehl 2020-06-23 11:06:41 +02:00
parent 7c4afe06c9
commit e2a0e98267
6 changed files with 8 additions and 11 deletions

View File

@ -140,7 +140,6 @@ subroutine CPFEM_general(mode, ffn, ffn1, temperature_inp, dt, elFE, ip, cauchyS
num_commercialFEM => numerics_root%get('commercialFEM',defaultVal=emptyDict)
iJacoStiffness = num_commercialFEM%get_asInt('ijacostiffness',defaultVal=1)
if (iJacoStiffness < 1) call IO_error(301,ext_msg='iJacoStiffness')
!------------------------------------------------------------------------------
elCP = mesh_FEM2DAMASK_elem(elFE)

View File

@ -1,6 +1,7 @@
!--------------------------------------------------------------------------------------------------
!> @author Franz Roters, Max-Planck-Institut für Eisenforschung GmbH
!> @author Philip Eisenlohr, Max-Planck-Institut für Eisenforschung GmbH
!> @author Sharan Roongta, Max-Planck-Institut für Eisenforschung GmbH
!> @brief Managing of parameters related to numerics
!--------------------------------------------------------------------------------------------------
module numerics
@ -64,16 +65,13 @@ subroutine numerics_init
numerics_root => emptyDict
inquire(file='numerics.yaml', exist=fexist)
fileExists: if (fexist) then
if (fexist) then
write(6,'(a,/)') ' using values from config file'
flush(6)
numerics_input = IO_read('numerics.yaml')
numerics_inFlow = to_flow(numerics_input)
numerics_root => parse_flow(numerics_inFlow,defaultVal=emptyDict)
else fileExists
write(6,'(a,/)') ' using standard values'
flush(6)
endif fileExists
endif
!--------------------------------------------------------------------------------------------------
! openMP parameter