From 8153cd50b40a0b0f750d39b2576d04ec7b2562a1 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Mon, 11 Jul 2011 14:28:56 +0000 Subject: [PATCH] added spectral numeric parameters to numerics.config, changed values for spectral numeric parameters in numerics.f90 to more suitable values for new method for determination of divergence in Fourier space --- code/numerics.config | 7 +++++++ code/numerics.f90 | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/code/numerics.config b/code/numerics.config index 40927970c..147cabd27 100644 --- a/code/numerics.config +++ b/code/numerics.config @@ -49,3 +49,10 @@ volDiscrepancyMod_RGC 1.0e+12 discrepancyPower_RGC 5.0 fixed_seed 0 # put any number larger than zero, integer, if you want to have a pseudo random distribution + +## spectral parameters ## +err_div_tol 1.0e-2 # 1.0e-4 proposed by Suquet, less strict criteria are usefull +err_defgrad_tol 1.0e-3 # relative tolerance for fullfillment of average deformation gradient (is usually passively fullfilled) +err_stress_tolrel 0.01 # relative tolerance for fullfillment of stress BC +itmax 40 # Maximum iteration number +memory_efficient 1 # Precalculate Gamma-operator (81 double per point) diff --git a/code/numerics.f90 b/code/numerics.f90 index 7de1dde1f..aedc4bbd1 100644 --- a/code/numerics.f90 +++ b/code/numerics.f90 @@ -163,10 +163,10 @@ subroutine numerics_init() volDiscrPow_RGC = 5.0 !* spectral parameters: - err_div_tol = 1.0e-4 ! proposed by Suquet, less strict criteria are usefull, e.g. 5e-3 + err_div_tol = 1.0e-2 ! proposed by Suquet, less strict criteria are usefull, e.g. 5e-3 err_defgrad_tol = 1.0e-3 ! relative tolerance for fullfillment of average deformation gradient (is usually passively fullfilled) err_stress_tolrel = 0.01 ! relative tolerance for fullfillment of stress BC - itmax = 20_pInt ! Maximum iteration number + itmax = 40_pInt ! Maximum iteration number memory_efficient = .true. ! Precalculate Gamma-operator (81 double per point) !* Random seeding parameters: added <<>>