N_constituents is a general homogenization poperty
This commit is contained in:
parent
8d4adebea2
commit
28380c0985
2
PRIVATE
2
PRIVATE
|
@ -1 +1 @@
|
||||||
Subproject commit 64e62f805b5ad784e3397ee5f735aaeb3cc134c2
|
Subproject commit ae5882a2ffd932807d7589bc375ebff01836495f
|
|
@ -51,7 +51,7 @@ module subroutine mech_isostrain_init
|
||||||
homogMech => homog%get('mech')
|
homogMech => homog%get('mech')
|
||||||
associate(prm => param(homogenization_typeInstance(h)))
|
associate(prm => param(homogenization_typeInstance(h)))
|
||||||
|
|
||||||
prm%N_constituents = homogMech%get_asInt('N_constituents')
|
prm%N_constituents = homog%get_asInt('N_constituents')
|
||||||
select case(homogMech%get_asString('mapping',defaultVal = 'sum'))
|
select case(homogMech%get_asString('mapping',defaultVal = 'sum'))
|
||||||
case ('sum')
|
case ('sum')
|
||||||
prm%mapping = parallel_ID
|
prm%mapping = parallel_ID
|
||||||
|
|
|
@ -262,10 +262,10 @@ subroutine material_parseHomogenization
|
||||||
homogenization_Ngrains(h) = 1
|
homogenization_Ngrains(h) = 1
|
||||||
case('isostrain')
|
case('isostrain')
|
||||||
homogenization_type(h) = HOMOGENIZATION_ISOSTRAIN_ID
|
homogenization_type(h) = HOMOGENIZATION_ISOSTRAIN_ID
|
||||||
homogenization_Ngrains(h) = homogMech%get_asInt('N_constituents')
|
homogenization_Ngrains(h) = homog%get_asInt('N_constituents')
|
||||||
case('RGC')
|
case('RGC')
|
||||||
homogenization_type(h) = HOMOGENIZATION_RGC_ID
|
homogenization_type(h) = HOMOGENIZATION_RGC_ID
|
||||||
homogenization_Ngrains(h) = homogMech%get_asInt('N_constituents')
|
homogenization_Ngrains(h) = homog%get_asInt('N_constituents')
|
||||||
case default
|
case default
|
||||||
call IO_error(500,ext_msg=homogMech%get_asString('type'))
|
call IO_error(500,ext_msg=homogMech%get_asString('type'))
|
||||||
end select
|
end select
|
||||||
|
|
Loading…
Reference in New Issue