need to do initialization first

This commit is contained in:
Martin Diehl 2020-07-03 18:12:40 +02:00
parent 432609ec14
commit 5688fc5698
1 changed files with 2 additions and 2 deletions

View File

@ -277,10 +277,10 @@ subroutine hypela2(d,g,e,de,s,t,dt,ngens,m,nn,kcus,matus,ndi,nshear,disp, &
call omp_set_num_threads(1) ! no openMP call omp_set_num_threads(1) ! no openMP
if (.not. CPFEM_init_done) then if (.not. CPFEM_init_done) then
debug_Marc => debug_root%get('marc',defaultVal=emptyList)
debug_basic = debug_Marc%contains('basic')
CPFEM_init_done = .true. CPFEM_init_done = .true.
call CPFEM_initAll call CPFEM_initAll
debug_Marc => debug_root%get('marc',defaultVal=emptyList)
debug_basic = debug_Marc%contains('basic')
endif endif
computationMode = 0 ! save initialization value, since it does not result in any calculation computationMode = 0 ! save initialization value, since it does not result in any calculation