early initialization of results
need to be done before config if config writes to it
This commit is contained in:
parent
820d590b6b
commit
f20302e0ee
|
@ -4,22 +4,23 @@
|
||||||
!> @brief CPFEM engine
|
!> @brief CPFEM engine
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
module CPFEM
|
module CPFEM
|
||||||
|
use DAMASK_interface
|
||||||
use prec
|
use prec
|
||||||
use math
|
use IO
|
||||||
use rotations
|
|
||||||
use YAML_types
|
use YAML_types
|
||||||
use YAML_parse
|
use YAML_parse
|
||||||
use discretization_marc
|
|
||||||
use material
|
|
||||||
use config
|
|
||||||
use homogenization
|
|
||||||
use IO
|
|
||||||
use discretization
|
|
||||||
use DAMASK_interface
|
|
||||||
use HDF5_utilities
|
use HDF5_utilities
|
||||||
use results
|
use results
|
||||||
|
use config
|
||||||
|
use math
|
||||||
|
use rotations
|
||||||
use lattice
|
use lattice
|
||||||
|
use material
|
||||||
use phase
|
use phase
|
||||||
|
use homogenization
|
||||||
|
|
||||||
|
use discretization
|
||||||
|
use discretization_marc
|
||||||
|
|
||||||
implicit none
|
implicit none
|
||||||
private
|
private
|
||||||
|
@ -68,7 +69,7 @@ contains
|
||||||
|
|
||||||
|
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
!> @brief call all module initializations
|
!> @brief Initialize all modules.
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
subroutine CPFEM_initAll
|
subroutine CPFEM_initAll
|
||||||
|
|
||||||
|
@ -77,13 +78,13 @@ subroutine CPFEM_initAll
|
||||||
call IO_init
|
call IO_init
|
||||||
call YAML_types_init
|
call YAML_types_init
|
||||||
call YAML_parse_init
|
call YAML_parse_init
|
||||||
|
call HDF5_utilities_init
|
||||||
|
call results_init(.false.)
|
||||||
call config_init
|
call config_init
|
||||||
call math_init
|
call math_init
|
||||||
call rotations_init
|
call rotations_init
|
||||||
call HDF5_utilities_init
|
|
||||||
call results_init(.false.)
|
|
||||||
call discretization_marc_init
|
|
||||||
call lattice_init
|
call lattice_init
|
||||||
|
call discretization_marc_init
|
||||||
call material_init(.false.)
|
call material_init(.false.)
|
||||||
call phase_init
|
call phase_init
|
||||||
call homogenization_init
|
call homogenization_init
|
||||||
|
|
|
@ -4,28 +4,29 @@
|
||||||
!> @brief needs a good name and description
|
!> @brief needs a good name and description
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
module CPFEM2
|
module CPFEM2
|
||||||
use prec
|
|
||||||
use parallelization
|
use parallelization
|
||||||
use config
|
use DAMASK_interface
|
||||||
use math
|
use prec
|
||||||
use rotations
|
use IO
|
||||||
use YAML_types
|
use YAML_types
|
||||||
use YAML_parse
|
use YAML_parse
|
||||||
use material
|
|
||||||
use lattice
|
|
||||||
use IO
|
|
||||||
use base64
|
|
||||||
use DAMASK_interface
|
|
||||||
use discretization
|
|
||||||
use HDF5
|
use HDF5
|
||||||
use HDF5_utilities
|
use HDF5_utilities
|
||||||
use results
|
use results
|
||||||
use homogenization
|
use config
|
||||||
|
use math
|
||||||
|
use rotations
|
||||||
|
use lattice
|
||||||
|
use material
|
||||||
use phase
|
use phase
|
||||||
|
use homogenization
|
||||||
|
|
||||||
|
use discretization
|
||||||
#if defined(MESH)
|
#if defined(MESH)
|
||||||
use FEM_quadrature
|
use FEM_quadrature
|
||||||
use discretization_mesh
|
use discretization_mesh
|
||||||
#elif defined(GRID)
|
#elif defined(GRID)
|
||||||
|
use base64
|
||||||
use discretization_grid
|
use discretization_grid
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -36,7 +37,7 @@ contains
|
||||||
|
|
||||||
|
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
!> @brief call all module initializations
|
!> @brief Initialize all modules.
|
||||||
!--------------------------------------------------------------------------------------------------
|
!--------------------------------------------------------------------------------------------------
|
||||||
subroutine CPFEM_initAll
|
subroutine CPFEM_initAll
|
||||||
|
|
||||||
|
@ -44,18 +45,19 @@ subroutine CPFEM_initAll
|
||||||
call DAMASK_interface_init ! Spectral and FEM interface to commandline
|
call DAMASK_interface_init ! Spectral and FEM interface to commandline
|
||||||
call prec_init
|
call prec_init
|
||||||
call IO_init
|
call IO_init
|
||||||
call base64_init
|
#if defined(MESH)
|
||||||
#ifdef MESH
|
|
||||||
call FEM_quadrature_init
|
call FEM_quadrature_init
|
||||||
|
#elif defined(GRID)
|
||||||
|
call base64_init
|
||||||
#endif
|
#endif
|
||||||
call YAML_types_init
|
call YAML_types_init
|
||||||
call YAML_parse_init
|
call YAML_parse_init
|
||||||
|
call HDF5_utilities_init
|
||||||
|
call results_init(restart=interface_restartInc>0)
|
||||||
call config_init
|
call config_init
|
||||||
call math_init
|
call math_init
|
||||||
call rotations_init
|
call rotations_init
|
||||||
call lattice_init
|
call lattice_init
|
||||||
call HDF5_utilities_init
|
|
||||||
call results_init(restart=interface_restartInc>0)
|
|
||||||
#if defined(MESH)
|
#if defined(MESH)
|
||||||
call discretization_mesh_init(restart=interface_restartInc>0)
|
call discretization_mesh_init(restart=interface_restartInc>0)
|
||||||
#elif defined(GRID)
|
#elif defined(GRID)
|
||||||
|
|
Loading…
Reference in New Issue