2013-02-11 15:14:17 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
!> @author Franz Roters, Max-Planck-Institut für Eisenforschung GmbH
|
|
|
|
!> @author Philip Eisenlohr, Max-Planck-Institut für Eisenforschung GmbH
|
|
|
|
!> @brief Managing of parameters related to numerics
|
|
|
|
!--------------------------------------------------------------------------------------------------
|
2012-03-07 15:37:29 +05:30
|
|
|
module numerics
|
2019-05-15 02:42:32 +05:30
|
|
|
use prec
|
2019-06-11 19:46:10 +05:30
|
|
|
use IO
|
2020-06-16 21:23:14 +05:30
|
|
|
use YAML_types
|
|
|
|
use YAML_parse
|
2019-06-11 19:46:10 +05:30
|
|
|
|
|
|
|
#ifdef PETSc
|
|
|
|
#include <petsc/finclude/petscsys.h>
|
|
|
|
use petscsys
|
|
|
|
#endif
|
|
|
|
!$ use OMP_LIB
|
2009-06-15 18:41:21 +05:30
|
|
|
|
2013-01-10 03:49:32 +05:30
|
|
|
implicit none
|
|
|
|
private
|
2009-06-15 18:41:21 +05:30
|
|
|
|
2020-06-16 21:23:14 +05:30
|
|
|
class(tNode), pointer, public :: &
|
|
|
|
numerics_root
|
2019-06-11 18:09:51 +05:30
|
|
|
integer, protected, public :: &
|
2020-03-17 02:09:53 +05:30
|
|
|
iJacoStiffness = 1, & !< frequency of stiffness update
|
|
|
|
randomSeed = 0, & !< fixed seeding for pseudo-random number generator, Default 0: use random seed
|
|
|
|
worldrank = 0, & !< MPI worldrank (/=0 for MPI simulations only)
|
2020-04-01 14:27:53 +05:30
|
|
|
worldsize = 1 !< MPI worldsize (/=1 for MPI simulations only)
|
2016-12-23 18:50:29 +05:30
|
|
|
integer(4), protected, public :: &
|
2013-09-26 22:51:46 +05:30
|
|
|
DAMASK_NumThreadsInt = 0 !< value stored in environment variable DAMASK_NUM_THREADS, set to zero if no OpenMP directive
|
2013-01-10 03:49:32 +05:30
|
|
|
real(pReal), protected, public :: &
|
2013-03-28 15:32:11 +05:30
|
|
|
defgradTolerance = 1.0e-7_pReal, & !< deviation of deformation gradient that is still allowed (used by CPFEM to determine outdated ffn1)
|
|
|
|
numerics_unitlength = 1.0_pReal, & !< determines the physical length of one computational length unit
|
2014-12-02 22:47:35 +05:30
|
|
|
charLength = 1.0_pReal, & !< characteristic length scale for gradient problems
|
2020-03-17 02:09:53 +05:30
|
|
|
residualStiffness = 1.0e-6_pReal !< non-zero residual damage
|
2012-06-15 21:40:21 +05:30
|
|
|
|
2015-05-28 22:32:23 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
! field parameters:
|
|
|
|
real(pReal), protected, public :: &
|
|
|
|
err_struct_tolAbs = 1.0e-10_pReal, & !< absolute tolerance for mechanical equilibrium
|
2020-06-16 21:23:14 +05:30
|
|
|
err_struct_tolRel = 1.0e-4_pReal !< relative tolerance for mechanical equilibrium
|
2019-06-11 18:09:51 +05:30
|
|
|
integer, protected, public :: &
|
|
|
|
itmax = 250, & !< maximum number of iterations
|
|
|
|
itmin = 1, & !< minimum number of iterations
|
|
|
|
stagItMax = 10, & !< max number of field level staggered iterations
|
|
|
|
maxCutBack = 3 !< max number of cut backs
|
2015-05-28 22:32:23 +05:30
|
|
|
|
2013-03-28 15:32:11 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
! spectral parameters:
|
2019-03-23 13:57:58 +05:30
|
|
|
#ifdef Grid
|
2013-01-10 03:49:32 +05:30
|
|
|
real(pReal), protected, public :: &
|
2018-08-21 02:04:43 +05:30
|
|
|
err_div_tolAbs = 1.0e-4_pReal, & !< absolute tolerance for equilibrium
|
2013-08-07 22:50:05 +05:30
|
|
|
err_div_tolRel = 5.0e-4_pReal, & !< relative tolerance for equilibrium
|
|
|
|
err_curl_tolAbs = 1.0e-10_pReal, & !< absolute tolerance for compatibility
|
|
|
|
err_curl_tolRel = 5.0e-4_pReal, & !< relative tolerance for compatibility
|
|
|
|
err_stress_tolAbs = 1.0e3_pReal, & !< absolute tolerance for fullfillment of stress BC
|
|
|
|
err_stress_tolRel = 0.01_pReal, & !< relative tolerance for fullfillment of stress BC
|
2020-03-17 02:09:53 +05:30
|
|
|
polarAlpha = 1.0_pReal, & !< polarization scheme parameter 0.0 < alpha < 2.0. alpha = 1.0 ==> AL scheme, alpha = 2.0 ==> accelerated scheme
|
|
|
|
polarBeta = 1.0_pReal !< polarization scheme parameter 0.0 < beta < 2.0. beta = 1.0 ==> AL scheme, beta = 2.0 ==> accelerated scheme
|
2020-01-26 16:28:13 +05:30
|
|
|
character(len=pStringLen), protected, public :: &
|
2015-06-09 18:58:50 +05:30
|
|
|
petsc_options = ''
|
2012-10-02 20:56:56 +05:30
|
|
|
#endif
|
2011-02-07 20:05:42 +05:30
|
|
|
|
2014-06-06 06:08:29 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
2020-04-28 14:05:43 +05:30
|
|
|
! Mesh parameters:
|
|
|
|
#ifdef Mesh
|
2019-06-11 18:09:51 +05:30
|
|
|
integer, protected, public :: &
|
|
|
|
integrationOrder = 2, & !< order of quadrature rule required
|
|
|
|
structOrder = 2 !< order of displacement shape functions
|
2020-03-17 02:09:53 +05:30
|
|
|
logical, protected, public :: &
|
|
|
|
BBarStabilisation = .false.
|
2020-01-26 17:48:29 +05:30
|
|
|
character(len=pStringLen), protected, public :: &
|
2015-06-09 18:58:50 +05:30
|
|
|
petsc_options = ''
|
2014-06-06 06:08:29 +05:30
|
|
|
#endif
|
|
|
|
|
2013-01-10 03:49:32 +05:30
|
|
|
public :: numerics_init
|
2020-03-17 02:09:53 +05:30
|
|
|
|
2012-10-02 20:56:56 +05:30
|
|
|
contains
|
2009-11-10 19:06:27 +05:30
|
|
|
|
2013-02-11 15:14:17 +05:30
|
|
|
|
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
!> @brief reads in parameters from numerics.config and sets openMP related parameters. Also does
|
|
|
|
! a sanity check
|
|
|
|
!--------------------------------------------------------------------------------------------------
|
2012-03-07 15:37:29 +05:30
|
|
|
subroutine numerics_init
|
|
|
|
!$ integer :: gotDAMASK_NUM_THREADS = 1
|
2019-06-11 18:09:51 +05:30
|
|
|
integer :: i,j, ierr
|
2020-06-16 21:23:14 +05:30
|
|
|
character(len=:), allocatable :: &
|
|
|
|
numerics_input, &
|
|
|
|
numerics_inFlow, &
|
|
|
|
key
|
|
|
|
class (tNode), pointer :: &
|
|
|
|
num_grid, &
|
|
|
|
num_mesh, &
|
|
|
|
num_generic
|
2019-03-09 04:37:57 +05:30
|
|
|
logical :: fexist
|
2012-06-12 15:14:05 +05:30
|
|
|
!$ character(len=6) DAMASK_NumThreadsString ! environment variable DAMASK_NUM_THREADS
|
2009-08-27 21:00:40 +05:30
|
|
|
|
2014-10-10 18:38:34 +05:30
|
|
|
#ifdef PETSc
|
2014-10-10 01:53:06 +05:30
|
|
|
call MPI_Comm_rank(PETSC_COMM_WORLD,worldrank,ierr);CHKERRQ(ierr)
|
|
|
|
call MPI_Comm_size(PETSC_COMM_WORLD,worldsize,ierr);CHKERRQ(ierr)
|
2014-10-10 18:38:34 +05:30
|
|
|
#endif
|
2016-06-29 20:05:49 +05:30
|
|
|
write(6,'(/,a)') ' <<<+- numerics init -+>>>'
|
2020-03-17 02:09:53 +05:30
|
|
|
|
2012-01-31 01:46:19 +05:30
|
|
|
!$ call GET_ENVIRONMENT_VARIABLE(NAME='DAMASK_NUM_THREADS',VALUE=DAMASK_NumThreadsString,STATUS=gotDAMASK_NUM_THREADS) ! get environment variable DAMASK_NUM_THREADS...
|
2014-02-28 16:00:07 +05:30
|
|
|
!$ if(gotDAMASK_NUM_THREADS /= 0) then ! could not get number of threads, set it to 1
|
2019-06-11 18:09:51 +05:30
|
|
|
!$ call IO_warning(35,ext_msg='BEGIN:'//DAMASK_NumThreadsString//':END')
|
2016-12-23 18:50:29 +05:30
|
|
|
!$ DAMASK_NumThreadsInt = 1_4
|
2014-02-28 16:00:07 +05:30
|
|
|
!$ else
|
|
|
|
!$ read(DAMASK_NumThreadsString,'(i6)') DAMASK_NumThreadsInt ! read as integer
|
2016-12-23 18:50:29 +05:30
|
|
|
!$ if (DAMASK_NumThreadsInt < 1_4) DAMASK_NumThreadsInt = 1_4 ! in case of string conversion fails, set it to one
|
2014-02-28 16:00:07 +05:30
|
|
|
!$ endif
|
|
|
|
!$ call omp_set_num_threads(DAMASK_NumThreadsInt) ! set number of threads for parallel execution
|
2020-03-17 02:09:53 +05:30
|
|
|
|
2020-06-16 21:23:14 +05:30
|
|
|
inquire(file='numerics.yaml', exist=fexist)
|
|
|
|
|
2019-03-09 04:37:57 +05:30
|
|
|
fileExists: if (fexist) then
|
2017-04-25 16:04:14 +05:30
|
|
|
write(6,'(a,/)') ' using values from config file'
|
|
|
|
flush(6)
|
2020-06-16 21:23:14 +05:30
|
|
|
numerics_input = IO_read('numerics.yaml')
|
|
|
|
numerics_inFlow = to_flow(numerics_input)
|
|
|
|
numerics_root => parse_flow(numerics_inFlow,defaultVal=emptyDict)
|
2013-02-11 15:14:17 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
2020-06-16 21:23:14 +05:30
|
|
|
! spectral parameters
|
|
|
|
num_grid => numerics_root%get('grid',defaultVal=emptyDict)
|
|
|
|
do i=1,num_grid%length
|
|
|
|
key = num_grid%getKey(i)
|
|
|
|
select case(key)
|
|
|
|
#ifdef Grid
|
|
|
|
case ('err_div_tolabs')
|
|
|
|
err_div_tolAbs = num_grid%get_asFloat(key)
|
|
|
|
case ('err_div_tolrel')
|
|
|
|
err_div_tolRel = num_grid%get_asFloat(key)
|
|
|
|
case ('err_stress_tolrel')
|
|
|
|
err_stress_tolrel = num_grid%get_asFloat(key)
|
|
|
|
case ('err_stress_tolabs')
|
|
|
|
err_stress_tolabs = num_grid%get_asFloat(key)
|
|
|
|
case ('err_curl_tolabs')
|
|
|
|
err_curl_tolAbs = num_grid%get_asFloat(key)
|
|
|
|
case ('err_curl_tolrel')
|
|
|
|
err_curl_tolRel = num_grid%get_asFloat(key)
|
|
|
|
case ('polaralpha')
|
|
|
|
polarAlpha = num_grid%get_asFloat(key)
|
|
|
|
case ('polarbeta')
|
|
|
|
polarBeta = num_grid%get_asFloat(key)
|
|
|
|
#endif
|
|
|
|
case ('itmax')
|
|
|
|
itmax = num_grid%get_asInt(key)
|
|
|
|
case ('itmin')
|
|
|
|
itmin = num_grid%get_asInt(key)
|
|
|
|
case ('maxCutBack')
|
|
|
|
maxCutBack = num_grid%get_asInt(key)
|
|
|
|
case ('maxStaggeredIter')
|
|
|
|
stagItMax = num_grid%get_asInt(key)
|
|
|
|
#ifdef PETSC
|
|
|
|
case ('petsc_options')
|
|
|
|
petsc_options = num_grid%get_asString(key)
|
|
|
|
#endif
|
|
|
|
endselect
|
|
|
|
enddo
|
|
|
|
|
|
|
|
num_generic => numerics_root%get('generic',defaultVal=emptyDict)
|
|
|
|
do i=1,num_generic%length
|
|
|
|
key = num_generic%getKey(i)
|
|
|
|
select case(key)
|
2012-03-07 15:37:29 +05:30
|
|
|
case ('defgradtolerance')
|
2020-06-16 21:23:14 +05:30
|
|
|
defgradTolerance = num_generic%get_asFloat(key)
|
2012-03-07 15:37:29 +05:30
|
|
|
case ('ijacostiffness')
|
2020-06-16 21:23:14 +05:30
|
|
|
iJacoStiffness = num_generic%get_asInt(key)
|
2012-09-24 21:52:25 +05:30
|
|
|
case ('unitlength')
|
2020-06-16 21:23:14 +05:30
|
|
|
numerics_unitlength = num_generic%get_asFloat(key)
|
2009-07-31 17:32:20 +05:30
|
|
|
|
2013-02-11 15:14:17 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
2013-03-28 15:32:11 +05:30
|
|
|
! random seeding parameter
|
2020-06-16 21:23:14 +05:30
|
|
|
case ('fixed_seed', 'random_seed')
|
|
|
|
randomSeed = num_generic%get_asInt(key)
|
2013-02-11 15:14:17 +05:30
|
|
|
|
2014-06-25 04:48:07 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
! gradient parameter
|
2020-06-16 21:23:14 +05:30
|
|
|
case ('charLength')
|
|
|
|
charLength = num_generic%get_asFloat(key)
|
|
|
|
case ('residualStiffness')
|
|
|
|
residualStiffness = num_generic%get_asFloat(key)
|
2015-05-28 22:32:23 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
! field parameters
|
|
|
|
case ('err_struct_tolabs')
|
2020-06-16 21:23:14 +05:30
|
|
|
err_struct_tolAbs = num_generic%get_asFloat(key)
|
2015-05-28 22:32:23 +05:30
|
|
|
case ('err_struct_tolrel')
|
2020-06-16 21:23:14 +05:30
|
|
|
err_struct_tolRel = num_generic%get_asFloat(key)
|
|
|
|
endselect
|
|
|
|
enddo
|
2014-06-06 06:08:29 +05:30
|
|
|
|
2020-04-28 14:05:43 +05:30
|
|
|
#ifdef Mesh
|
2020-06-16 21:23:14 +05:30
|
|
|
num_grid => numerics_root%get('mesh',defaultVal=emptyDict)
|
|
|
|
do i=1,num_grid%length
|
|
|
|
key = num_grid%getKey(i)
|
|
|
|
select case(key)
|
2014-06-06 06:08:29 +05:30
|
|
|
case ('integrationorder')
|
2020-06-16 21:23:14 +05:30
|
|
|
integrationorder = num_generic%get_asInt(key)
|
2014-06-06 06:08:29 +05:30
|
|
|
case ('structorder')
|
2020-06-16 21:23:14 +05:30
|
|
|
structorder = num_generic%get_asInt(key)
|
2014-12-08 21:57:23 +05:30
|
|
|
case ('bbarstabilisation')
|
2020-06-16 21:23:14 +05:30
|
|
|
BBarStabilisation = num_generic%get_asInt(key) > 0
|
2018-10-09 02:31:27 +05:30
|
|
|
end select
|
2012-03-07 15:37:29 +05:30
|
|
|
enddo
|
2020-06-16 21:23:14 +05:30
|
|
|
#endif
|
|
|
|
|
2013-02-11 15:14:17 +05:30
|
|
|
else fileExists
|
|
|
|
write(6,'(a,/)') ' using standard values'
|
2014-02-06 16:11:34 +05:30
|
|
|
flush(6)
|
2013-02-11 15:14:17 +05:30
|
|
|
endif fileExists
|
|
|
|
|
|
|
|
!--------------------------------------------------------------------------------------------------
|
2013-03-28 15:32:11 +05:30
|
|
|
! writing parameters to output
|
2016-06-29 20:05:49 +05:30
|
|
|
write(6,'(a24,1x,es8.1)') ' defgradTolerance: ',defgradTolerance
|
|
|
|
write(6,'(a24,1x,i8)') ' iJacoStiffness: ',iJacoStiffness
|
|
|
|
write(6,'(a24,1x,es8.1,/)')' unitlength: ',numerics_unitlength
|
2013-03-28 15:32:11 +05:30
|
|
|
|
2013-02-11 15:14:17 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
! Random seeding parameter
|
2018-10-09 02:31:27 +05:30
|
|
|
write(6,'(a16,1x,i16,/)') ' random_seed: ',randomSeed
|
2019-06-11 18:09:51 +05:30
|
|
|
if (randomSeed <= 0) &
|
2017-11-08 01:26:28 +05:30
|
|
|
write(6,'(a,/)') ' random seed will be generated!'
|
2014-11-03 16:06:07 +05:30
|
|
|
|
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
! gradient parameter
|
2016-06-29 20:05:49 +05:30
|
|
|
write(6,'(a24,1x,es8.1)') ' charLength: ',charLength
|
|
|
|
write(6,'(a24,1x,es8.1)') ' residualStiffness: ',residualStiffness
|
2014-11-03 16:06:07 +05:30
|
|
|
|
2013-02-11 15:14:17 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
! openMP parameter
|
2016-06-29 20:05:49 +05:30
|
|
|
!$ write(6,'(a24,1x,i8,/)') ' number of threads: ',DAMASK_NumThreadsInt
|
2010-10-13 21:34:44 +05:30
|
|
|
|
2013-02-11 15:14:17 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
2015-05-28 22:32:23 +05:30
|
|
|
! field parameters
|
2016-06-29 20:05:49 +05:30
|
|
|
write(6,'(a24,1x,i8)') ' itmax: ',itmax
|
|
|
|
write(6,'(a24,1x,i8)') ' itmin: ',itmin
|
|
|
|
write(6,'(a24,1x,i8)') ' maxCutBack: ',maxCutBack
|
|
|
|
write(6,'(a24,1x,i8)') ' maxStaggeredIter: ',stagItMax
|
|
|
|
write(6,'(a24,1x,es8.1)') ' err_struct_tolAbs: ',err_struct_tolAbs
|
|
|
|
write(6,'(a24,1x,es8.1)') ' err_struct_tolRel: ',err_struct_tolRel
|
2015-05-28 22:32:23 +05:30
|
|
|
|
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
! spectral parameters
|
2019-03-23 13:57:58 +05:30
|
|
|
#ifdef Grid
|
2016-06-29 20:05:49 +05:30
|
|
|
write(6,'(a24,1x,es8.1)') ' err_stress_tolAbs: ',err_stress_tolAbs
|
|
|
|
write(6,'(a24,1x,es8.1)') ' err_stress_tolRel: ',err_stress_tolRel
|
|
|
|
write(6,'(a24,1x,es8.1)') ' err_div_tolAbs: ',err_div_tolAbs
|
|
|
|
write(6,'(a24,1x,es8.1)') ' err_div_tolRel: ',err_div_tolRel
|
|
|
|
write(6,'(a24,1x,es8.1)') ' err_curl_tolAbs: ',err_curl_tolAbs
|
|
|
|
write(6,'(a24,1x,es8.1)') ' err_curl_tolRel: ',err_curl_tolRel
|
|
|
|
write(6,'(a24,1x,es8.1)') ' polarAlpha: ',polarAlpha
|
|
|
|
write(6,'(a24,1x,es8.1)') ' polarBeta: ',polarBeta
|
2012-08-29 00:49:47 +05:30
|
|
|
#endif
|
2010-12-02 16:34:29 +05:30
|
|
|
|
2014-06-06 06:08:29 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
! spectral parameters
|
2020-04-28 14:05:43 +05:30
|
|
|
#ifdef Mesh
|
2016-06-29 20:05:49 +05:30
|
|
|
write(6,'(a24,1x,i8)') ' integrationOrder: ',integrationOrder
|
|
|
|
write(6,'(a24,1x,i8)') ' structOrder: ',structOrder
|
|
|
|
write(6,'(a24,1x,L8)') ' B-Bar stabilisation: ',BBarStabilisation
|
2014-06-06 06:08:29 +05:30
|
|
|
#endif
|
|
|
|
|
2020-04-01 14:27:53 +05:30
|
|
|
#ifdef PETSC
|
|
|
|
write(6,'(a24,1x,a)') ' PETSc_options: ',trim(petsc_options)
|
|
|
|
#endif
|
|
|
|
|
2013-02-11 15:14:17 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
! sanity checks
|
2019-06-11 18:09:51 +05:30
|
|
|
if (defgradTolerance <= 0.0_pReal) call IO_error(301,ext_msg='defgradTolerance')
|
|
|
|
if (iJacoStiffness < 1) call IO_error(301,ext_msg='iJacoStiffness')
|
|
|
|
if (numerics_unitlength <= 0.0_pReal) call IO_error(301,ext_msg='unitlength')
|
|
|
|
if (residualStiffness < 0.0_pReal) call IO_error(301,ext_msg='residualStiffness')
|
|
|
|
if (itmax <= 1) call IO_error(301,ext_msg='itmax')
|
|
|
|
if (itmin > itmax .or. itmin < 1) call IO_error(301,ext_msg='itmin')
|
|
|
|
if (maxCutBack < 0) call IO_error(301,ext_msg='maxCutBack')
|
|
|
|
if (stagItMax < 0) call IO_error(301,ext_msg='maxStaggeredIter')
|
|
|
|
if (err_struct_tolRel <= 0.0_pReal) call IO_error(301,ext_msg='err_struct_tolRel')
|
|
|
|
if (err_struct_tolAbs <= 0.0_pReal) call IO_error(301,ext_msg='err_struct_tolAbs')
|
2019-03-23 13:57:58 +05:30
|
|
|
#ifdef Grid
|
2019-06-11 18:09:51 +05:30
|
|
|
if (err_stress_tolrel <= 0.0_pReal) call IO_error(301,ext_msg='err_stress_tolRel')
|
|
|
|
if (err_stress_tolabs <= 0.0_pReal) call IO_error(301,ext_msg='err_stress_tolAbs')
|
|
|
|
if (err_div_tolRel < 0.0_pReal) call IO_error(301,ext_msg='err_div_tolRel')
|
|
|
|
if (err_div_tolAbs <= 0.0_pReal) call IO_error(301,ext_msg='err_div_tolAbs')
|
|
|
|
if (err_curl_tolRel < 0.0_pReal) call IO_error(301,ext_msg='err_curl_tolRel')
|
|
|
|
if (err_curl_tolAbs <= 0.0_pReal) call IO_error(301,ext_msg='err_curl_tolAbs')
|
2013-02-28 23:05:02 +05:30
|
|
|
if (polarAlpha <= 0.0_pReal .or. &
|
2019-06-11 18:09:51 +05:30
|
|
|
polarAlpha > 2.0_pReal) call IO_error(301,ext_msg='polarAlpha')
|
2013-08-07 22:50:05 +05:30
|
|
|
if (polarBeta < 0.0_pReal .or. &
|
2019-06-11 18:09:51 +05:30
|
|
|
polarBeta > 2.0_pReal) call IO_error(301,ext_msg='polarBeta')
|
2012-08-29 00:49:47 +05:30
|
|
|
#endif
|
2012-03-07 15:37:29 +05:30
|
|
|
|
|
|
|
end subroutine numerics_init
|
2009-06-15 18:41:21 +05:30
|
|
|
|
2012-03-07 15:37:29 +05:30
|
|
|
end module numerics
|