DAMASK with grid solvers  Revision: v2.0.3-2204-gdb1f2151
The Düsseldorf Advanced Material Simulation Kit with Grid Solvers
homogenization_mech_none.f90
Go to the documentation of this file.
1 # 1 "/home/damask_user/GitLabCI_Pipeline_4301/DAMASK/src/homogenization_mech_none.f90"
2 # 1 "<built-in>"
3 # 1 "<command-line>"
4 # 1 "/home/damask_user/GitLabCI_Pipeline_4301/DAMASK/src/homogenization_mech_none.f90"
5 !--------------------------------------------------------------------------------------------------
10 !--------------------------------------------------------------------------------------------------
11 submodule(homogenization) homogenization_mech_none
12 
13 contains
14 
15 !--------------------------------------------------------------------------------------------------
17 !--------------------------------------------------------------------------------------------------
18 module subroutine mech_none_init
19 
20  integer :: &
21  Ninstance, &
22  h, &
23  NofMyHomog
24 
25  write(6,'(/,a)') ' <<<+- homogenization_'//homogenization_none_label//' init -+>>>'; flush(6)
26 
27  ninstance = count(homogenization_type == homogenization_none_id)
28  if (iand(debug_level(debug_homogenization),debug_levelbasic) /= 0) &
29  write(6,'(a16,1x,i5,/)') '# instances:',ninstance
30 
31  do h = 1, size(homogenization_type)
32  if (homogenization_type(h) /= homogenization_none_id) cycle
33 
34  nofmyhomog = count(material_homogenizationat == h)
35  homogstate(h)%sizeState = 0
36  allocate(homogstate(h)%state0 (0,nofmyhomog))
37  allocate(homogstate(h)%subState0(0,nofmyhomog))
38  allocate(homogstate(h)%state (0,nofmyhomog))
39 
40  enddo
41 
42 end subroutine mech_none_init
43 
44 end submodule homogenization_mech_none
homogenization
homogenization manager, organizing deformation partitioning and stress homogenization
Definition: homogenization.f90:11