avoid chained inclusions

This commit is contained in:
Martin Diehl 2021-07-08 14:27:04 +02:00
parent 69415d2e05
commit 58bc6e2ba6
8 changed files with 23 additions and 2 deletions

View File

@ -5,6 +5,7 @@
!-------------------------------------------------------------------------------------------------- !--------------------------------------------------------------------------------------------------
module CPFEM2 module CPFEM2
use prec use prec
use parallelization
use config use config
use math use math
use rotations use rotations
@ -15,9 +16,10 @@ module CPFEM2
use IO use IO
use base64 use base64
use DAMASK_interface use DAMASK_interface
use results
use discretization use discretization
use HDF5
use HDF5_utilities use HDF5_utilities
use results
use homogenization use homogenization
use phase use phase
#if defined(MESH) #if defined(MESH)

View File

@ -14,7 +14,7 @@ module HDF5_utilities
use parallelization use parallelization
implicit none implicit none
public private
!-------------------------------------------------------------------------------------------------- !--------------------------------------------------------------------------------------------------
!> @brief reads integer or float data of defined shape from file !> @brief reads integer or float data of defined shape from file
@ -76,6 +76,18 @@ module HDF5_utilities
#else #else
logical, parameter, private :: parallel_default = .false. logical, parameter, private :: parallel_default = .false.
#endif #endif
public :: &
HDF5_utilities_init, &
HDF5_read, &
HDF5_write, &
HDF5_addAttribute, &
HDF5_addGroup, &
HDF5_openGroup, &
HDF5_closeGroup, &
HDF5_openFile, &
HDF5_closeFile, &
HDF5_objectExists, &
HDF5_setLink
contains contains

View File

@ -14,6 +14,7 @@ module grid_mechanical_FEM
use parallelization use parallelization
use DAMASK_interface use DAMASK_interface
use IO use IO
use HDF5
use HDF5_utilities use HDF5_utilities
use math use math
use rotations use rotations

View File

@ -14,6 +14,7 @@ module grid_mechanical_spectral_basic
use parallelization use parallelization
use DAMASK_interface use DAMASK_interface
use IO use IO
use HDF5
use HDF5_utilities use HDF5_utilities
use math use math
use rotations use rotations

View File

@ -14,6 +14,7 @@ module grid_mechanical_spectral_polarisation
use parallelization use parallelization
use DAMASK_interface use DAMASK_interface
use IO use IO
use HDF5
use HDF5_utilities use HDF5_utilities
use math use math
use rotations use rotations

View File

@ -12,6 +12,7 @@ module homogenization
use material use material
use phase use phase
use discretization use discretization
use HDF5
use HDF5_utilities use HDF5_utilities
use results use results
use lattice use lattice

View File

@ -14,6 +14,7 @@ module phase
use lattice use lattice
use discretization use discretization
use parallelization use parallelization
use HDF5
use HDF5_utilities use HDF5_utilities
implicit none implicit none

View File

@ -5,10 +5,12 @@
!> @author Martin Diehl, Max-Planck-Institut für Eisenforschung GmbH !> @author Martin Diehl, Max-Planck-Institut für Eisenforschung GmbH
!-------------------------------------------------------------------------------------------------- !--------------------------------------------------------------------------------------------------
module results module results
use prec
use DAMASK_interface use DAMASK_interface
use parallelization use parallelization
use IO use IO
use HDF5_utilities use HDF5_utilities
use HDF5
#ifdef PETSc #ifdef PETSc
use PETSC use PETSC
#endif #endif