simplify includes
following python suggestions to include only once at the top of a module
This commit is contained in:
parent
eb7db3acbd
commit
badfba8c6f
|
@ -7,6 +7,7 @@
|
||||||
module homogenization
|
module homogenization
|
||||||
use prec, only: &
|
use prec, only: &
|
||||||
pReal
|
pReal
|
||||||
|
use material
|
||||||
|
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
! General variables for the homogenization at a material point
|
! General variables for the homogenization at a material point
|
||||||
|
@ -101,7 +102,6 @@ subroutine homogenization_init
|
||||||
config_deallocate, &
|
config_deallocate, &
|
||||||
config_homogenization, &
|
config_homogenization, &
|
||||||
homogenization_name
|
homogenization_name
|
||||||
use material
|
|
||||||
use homogenization_mech_RGC
|
use homogenization_mech_RGC
|
||||||
use thermal_isothermal
|
use thermal_isothermal
|
||||||
use thermal_adiabatic
|
use thermal_adiabatic
|
||||||
|
@ -316,17 +316,6 @@ subroutine materialpoint_stressAndItsTangent(updateJaco,dt)
|
||||||
terminallyIll
|
terminallyIll
|
||||||
use mesh, only: &
|
use mesh, only: &
|
||||||
mesh_element
|
mesh_element
|
||||||
use material, only: &
|
|
||||||
plasticState, &
|
|
||||||
sourceState, &
|
|
||||||
homogState, &
|
|
||||||
thermalState, &
|
|
||||||
damageState, &
|
|
||||||
phase_Nsources, &
|
|
||||||
material_homogenizationAt, &
|
|
||||||
mappingHomogenization, &
|
|
||||||
phaseAt, phasememberAt, &
|
|
||||||
homogenization_Ngrains
|
|
||||||
use crystallite, only: &
|
use crystallite, only: &
|
||||||
crystallite_F0, &
|
crystallite_F0, &
|
||||||
crystallite_Fp0, &
|
crystallite_Fp0, &
|
||||||
|
@ -658,16 +647,6 @@ subroutine materialpoint_postResults
|
||||||
FEsolving_execIP
|
FEsolving_execIP
|
||||||
use mesh, only: &
|
use mesh, only: &
|
||||||
mesh_element
|
mesh_element
|
||||||
use material, only: &
|
|
||||||
material_homogenizationAt, &
|
|
||||||
homogState, &
|
|
||||||
thermalState, &
|
|
||||||
damageState, &
|
|
||||||
plasticState, &
|
|
||||||
sourceState, &
|
|
||||||
material_phase, &
|
|
||||||
homogenization_Ngrains, &
|
|
||||||
microstructure_crystallite
|
|
||||||
use crystallite, only: &
|
use crystallite, only: &
|
||||||
crystallite_sizePostResults, &
|
crystallite_sizePostResults, &
|
||||||
crystallite_postResults
|
crystallite_postResults
|
||||||
|
@ -723,12 +702,6 @@ end subroutine materialpoint_postResults
|
||||||
subroutine partitionDeformation(ip,el)
|
subroutine partitionDeformation(ip,el)
|
||||||
use mesh, only: &
|
use mesh, only: &
|
||||||
mesh_element
|
mesh_element
|
||||||
use material, only: &
|
|
||||||
homogenization_type, &
|
|
||||||
homogenization_Ngrains, &
|
|
||||||
HOMOGENIZATION_NONE_ID, &
|
|
||||||
HOMOGENIZATION_ISOSTRAIN_ID, &
|
|
||||||
HOMOGENIZATION_RGC_ID
|
|
||||||
use crystallite, only: &
|
use crystallite, only: &
|
||||||
crystallite_partionedF
|
crystallite_partionedF
|
||||||
use homogenization_mech_RGC, only: &
|
use homogenization_mech_RGC, only: &
|
||||||
|
@ -767,14 +740,6 @@ end subroutine partitionDeformation
|
||||||
function updateState(ip,el)
|
function updateState(ip,el)
|
||||||
use mesh, only: &
|
use mesh, only: &
|
||||||
mesh_element
|
mesh_element
|
||||||
use material, only: &
|
|
||||||
homogenization_type, &
|
|
||||||
thermal_type, &
|
|
||||||
damage_type, &
|
|
||||||
homogenization_Ngrains, &
|
|
||||||
HOMOGENIZATION_RGC_ID, &
|
|
||||||
THERMAL_adiabatic_ID, &
|
|
||||||
DAMAGE_local_ID
|
|
||||||
use crystallite, only: &
|
use crystallite, only: &
|
||||||
crystallite_P, &
|
crystallite_P, &
|
||||||
crystallite_dPdF, &
|
crystallite_dPdF, &
|
||||||
|
@ -835,13 +800,6 @@ end function updateState
|
||||||
subroutine averageStressAndItsTangent(ip,el)
|
subroutine averageStressAndItsTangent(ip,el)
|
||||||
use mesh, only: &
|
use mesh, only: &
|
||||||
mesh_element
|
mesh_element
|
||||||
use material, only: &
|
|
||||||
homogenization_type, &
|
|
||||||
homogenization_typeInstance, &
|
|
||||||
homogenization_Ngrains, &
|
|
||||||
HOMOGENIZATION_NONE_ID, &
|
|
||||||
HOMOGENIZATION_ISOSTRAIN_ID, &
|
|
||||||
HOMOGENIZATION_RGC_ID
|
|
||||||
use crystallite, only: &
|
use crystallite, only: &
|
||||||
crystallite_P,crystallite_dPdF
|
crystallite_P,crystallite_dPdF
|
||||||
use homogenization_mech_RGC, only: &
|
use homogenization_mech_RGC, only: &
|
||||||
|
@ -884,27 +842,6 @@ end subroutine averageStressAndItsTangent
|
||||||
function postResults(ip,el)
|
function postResults(ip,el)
|
||||||
use mesh, only: &
|
use mesh, only: &
|
||||||
mesh_element
|
mesh_element
|
||||||
use material, only: &
|
|
||||||
thermalMapping, &
|
|
||||||
thermal_typeInstance, &
|
|
||||||
material_homogenizationAt, &
|
|
||||||
homogenization_typeInstance,&
|
|
||||||
mappingHomogenization, &
|
|
||||||
homogState, &
|
|
||||||
thermalState, &
|
|
||||||
damageState, &
|
|
||||||
homogenization_type, &
|
|
||||||
thermal_type, &
|
|
||||||
damage_type, &
|
|
||||||
HOMOGENIZATION_NONE_ID, &
|
|
||||||
HOMOGENIZATION_ISOSTRAIN_ID, &
|
|
||||||
HOMOGENIZATION_RGC_ID, &
|
|
||||||
THERMAL_isothermal_ID, &
|
|
||||||
THERMAL_adiabatic_ID, &
|
|
||||||
THERMAL_conduction_ID, &
|
|
||||||
DAMAGE_none_ID, &
|
|
||||||
DAMAGE_local_ID, &
|
|
||||||
DAMAGE_nonlocal_ID
|
|
||||||
use homogenization_mech_RGC, only: &
|
use homogenization_mech_RGC, only: &
|
||||||
homogenization_RGC_postResults
|
homogenization_RGC_postResults
|
||||||
use thermal_adiabatic, only: &
|
use thermal_adiabatic, only: &
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
module homogenization_mech_RGC
|
module homogenization_mech_RGC
|
||||||
use prec, only: &
|
use prec, only: &
|
||||||
pReal
|
pReal
|
||||||
|
use material
|
||||||
|
|
||||||
implicit none
|
implicit none
|
||||||
private
|
private
|
||||||
|
@ -104,18 +105,6 @@ subroutine homogenization_RGC_init()
|
||||||
INRAD
|
INRAD
|
||||||
use IO, only: &
|
use IO, only: &
|
||||||
IO_error
|
IO_error
|
||||||
use material, only: &
|
|
||||||
#ifdef DEBUG
|
|
||||||
mappingHomogenization, &
|
|
||||||
#endif
|
|
||||||
homogenization_type, &
|
|
||||||
material_homogenizationAt, &
|
|
||||||
homogState, &
|
|
||||||
HOMOGENIZATION_RGC_ID, &
|
|
||||||
HOMOGENIZATION_RGC_LABEL, &
|
|
||||||
homogenization_typeInstance, &
|
|
||||||
homogenization_Noutput, &
|
|
||||||
homogenization_Ngrains
|
|
||||||
use config, only: &
|
use config, only: &
|
||||||
config_homogenization
|
config_homogenization
|
||||||
|
|
||||||
|
@ -322,10 +311,6 @@ function homogenization_RGC_updateState(P,F,F0,avgF,dt,dPdF,ip,el)
|
||||||
#endif
|
#endif
|
||||||
use math, only: &
|
use math, only: &
|
||||||
math_invert2
|
math_invert2
|
||||||
use material, only: &
|
|
||||||
material_homogenizationAt, &
|
|
||||||
homogenization_typeInstance, &
|
|
||||||
mappingHomogenization
|
|
||||||
use numerics, only: &
|
use numerics, only: &
|
||||||
absTol_RGC, &
|
absTol_RGC, &
|
||||||
relTol_RGC, &
|
relTol_RGC, &
|
||||||
|
|
|
@ -36,13 +36,6 @@ module subroutine mech_isostrain_init
|
||||||
debug_levelBasic
|
debug_levelBasic
|
||||||
use IO, only: &
|
use IO, only: &
|
||||||
IO_error
|
IO_error
|
||||||
use material, only: &
|
|
||||||
homogenization_type, &
|
|
||||||
material_homogenizationAt, &
|
|
||||||
homogState, &
|
|
||||||
HOMOGENIZATION_ISOSTRAIN_ID, &
|
|
||||||
HOMOGENIZATION_ISOSTRAIN_LABEL, &
|
|
||||||
homogenization_typeInstance
|
|
||||||
use config, only: &
|
use config, only: &
|
||||||
config_homogenization
|
config_homogenization
|
||||||
|
|
||||||
|
|
|
@ -20,12 +20,6 @@ module subroutine mech_none_init
|
||||||
debug_levelBasic
|
debug_levelBasic
|
||||||
use config, only: &
|
use config, only: &
|
||||||
config_homogenization
|
config_homogenization
|
||||||
use material, only: &
|
|
||||||
homogenization_type, &
|
|
||||||
material_homogenizationAt, &
|
|
||||||
homogState, &
|
|
||||||
HOMOGENIZATION_NONE_LABEL, &
|
|
||||||
HOMOGENIZATION_NONE_ID
|
|
||||||
|
|
||||||
implicit none
|
implicit none
|
||||||
integer :: &
|
integer :: &
|
||||||
|
|
Loading…
Reference in New Issue