2014-03-14 04:50:50 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
|
|
|
!> @author Franz Roters, Max-Planck-Institut für Eisenforschung GmbH
|
|
|
|
!> @author Philip Eisenlohr, Max-Planck-Institut für Eisenforschung GmbH
|
2014-05-08 23:14:28 +05:30
|
|
|
!> @author Martin Diehl, Max-Planck-Institut für Eisenforschung GmbH
|
2019-01-13 02:34:03 +05:30
|
|
|
!> @brief dummy homogenization homogenization scheme for 1 constituent per material point
|
2014-03-14 04:50:50 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
2019-04-06 01:12:07 +05:30
|
|
|
submodule(homogenization) homogenization_mech_none
|
2014-03-14 04:50:50 +05:30
|
|
|
|
|
|
|
contains
|
|
|
|
|
|
|
|
!--------------------------------------------------------------------------------------------------
|
2020-07-03 20:15:11 +05:30
|
|
|
!> @brief allocates all necessary fields, reads information from material configuration file
|
2014-03-14 04:50:50 +05:30
|
|
|
!--------------------------------------------------------------------------------------------------
|
2020-07-02 01:50:22 +05:30
|
|
|
module subroutine mech_none_init
|
2020-07-03 20:15:11 +05:30
|
|
|
|
2019-03-09 12:17:01 +05:30
|
|
|
integer :: &
|
|
|
|
Ninstance, &
|
|
|
|
h, &
|
|
|
|
NofMyHomog
|
2020-07-03 20:15:11 +05:30
|
|
|
|
2020-08-15 19:32:10 +05:30
|
|
|
write(6,'(/,a)') ' <<<+- homogenization_mech_none init -+>>>'
|
2019-05-18 10:53:46 +05:30
|
|
|
|
2019-03-09 12:17:01 +05:30
|
|
|
Ninstance = count(homogenization_type == HOMOGENIZATION_NONE_ID)
|
2020-07-02 01:50:22 +05:30
|
|
|
write(6,'(a16,1x,i5,/)') '# instances:',Ninstance; flush(6)
|
2020-07-03 20:15:11 +05:30
|
|
|
|
2019-03-09 12:17:01 +05:30
|
|
|
do h = 1, size(homogenization_type)
|
|
|
|
if (homogenization_type(h) /= HOMOGENIZATION_NONE_ID) cycle
|
2020-07-03 20:15:11 +05:30
|
|
|
|
2019-03-10 15:32:32 +05:30
|
|
|
NofMyHomog = count(material_homogenizationAt == h)
|
2019-03-09 12:17:01 +05:30
|
|
|
homogState(h)%sizeState = 0
|
|
|
|
allocate(homogState(h)%state0 (0,NofMyHomog))
|
|
|
|
allocate(homogState(h)%subState0(0,NofMyHomog))
|
|
|
|
allocate(homogState(h)%state (0,NofMyHomog))
|
2020-07-03 20:15:11 +05:30
|
|
|
|
2019-03-09 12:17:01 +05:30
|
|
|
enddo
|
2014-08-21 23:18:20 +05:30
|
|
|
|
2019-04-06 01:12:07 +05:30
|
|
|
end subroutine mech_none_init
|
2014-03-14 04:50:50 +05:30
|
|
|
|
2019-04-06 01:12:07 +05:30
|
|
|
end submodule homogenization_mech_none
|