DAMASK with grid solvers  Revision: v2.0.3-2204-gdb1f2151
The Düsseldorf Advanced Material Simulation Kit with Grid Solvers
config Module Reference

Reads in the material configuration from file. More...

Functions/Subroutines

subroutine, public config_init
 reads material.config and stores its content per part More...
 
subroutine, public config_deallocate (what)
 deallocates the linked lists that store the content of the configuration files More...
 

Variables

type(tpartitionedstringlist), dimension(:), allocatable, public, protected config_phase
 
type(tpartitionedstringlist), dimension(:), allocatable, public, protected config_microstructure
 
type(tpartitionedstringlist), dimension(:), allocatable, public, protected config_homogenization
 
type(tpartitionedstringlist), dimension(:), allocatable, public, protected config_texture
 
type(tpartitionedstringlist), dimension(:), allocatable, public, protected config_crystallite
 
type(tpartitionedstringlist), public, protected config_numerics
 
type(tpartitionedstringlist), public, protected config_debug
 
character(len=pstringlen), dimension(:), allocatable, public, protected config_name_phase
 name of each phase More...
 
character(len=pstringlen), dimension(:), allocatable, public, protected config_name_homogenization
 name of each homogenization More...
 
character(len=pstringlen), dimension(:), allocatable, public, protected config_name_crystallite
 name of each crystallite setting More...
 
character(len=pstringlen), dimension(:), allocatable, public, protected config_name_microstructure
 name of each microstructure More...
 
character(len=pstringlen), dimension(:), allocatable, public, protected config_name_texture
 name of each texture More...
 

Detailed Description

Reads in the material configuration from file.

Author
Martin Diehl, Max-Planck-Institut für Eisenforschung GmbH

Reads the material configuration file, where solverJobName.materialConfig takes precedence over material.config. Stores the raw strings and the positions of delimiters for the parts 'homogenization', 'crystallite', 'phase', 'texture', and 'microstucture' Reads numerics.config and debug.config

Function/Subroutine Documentation

◆ config_deallocate()

subroutine, public config::config_deallocate ( character(len=*), intent(in)  what)

deallocates the linked lists that store the content of the configuration files

Definition at line 290 of file config.f90.

References config_debug, config_homogenization, config_microstructure, config_numerics, config_phase, config_texture, and io::io_error().

Referenced by crystallite::crystallite_init(), homogenization::homogenization_init(), and material::material_init().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ config_init()

subroutine, public config::config_init

reads material.config and stores its content per part

Definition at line 51 of file config.f90.

References config_crystallite, config_debug, config_homogenization, config_microstructure, config_name_crystallite, config_name_homogenization, config_name_microstructure, config_name_phase, config_name_texture, config_numerics, config_phase, config_texture, debug::debug_level, debug::debug_levelbasic, debug::debug_material, damask_interface::getsolverjobname(), io::io_error(), io::io_gettag(), io::io_lc(), io::io_read_ascii(), parse_debugandnumericsconfig(), parse_materialconfig(), and read_materialconfig().

Referenced by cpfem2::cpfem_initall().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ config_crystallite

type(tpartitionedstringlist), dimension(:), allocatable, public, protected config::config_crystallite

Definition at line 23 of file config.f90.

Referenced by config_init().

◆ config_debug

type(tpartitionedstringlist), public, protected config::config_debug

Definition at line 30 of file config.f90.

Referenced by config_deallocate(), and config_init().

◆ config_homogenization

◆ config_microstructure

type(tpartitionedstringlist), dimension(:), allocatable, public, protected config::config_microstructure

◆ config_name_crystallite

character(len=pstringlen), dimension(:), allocatable, public, protected config::config_name_crystallite

name of each crystallite setting

Definition at line 34 of file config.f90.

Referenced by config_init().

◆ config_name_homogenization

character(len=pstringlen), dimension(:), allocatable, public, protected config::config_name_homogenization

name of each homogenization

Definition at line 34 of file config.f90.

Referenced by config_init(), homogenization::homogenization_results(), and material::material_init().

◆ config_name_microstructure

character(len=pstringlen), dimension(:), allocatable, public, protected config::config_name_microstructure

name of each microstructure

Definition at line 34 of file config.f90.

Referenced by config_init(), material::material_init(), and material::material_parsemicrostructure().

◆ config_name_phase

character(len=pstringlen), dimension(:), allocatable, public, protected config::config_name_phase

◆ config_name_texture

character(len=pstringlen), dimension(:), allocatable, public, protected config::config_name_texture

name of each texture

Definition at line 34 of file config.f90.

Referenced by config_init(), and material::material_init().

◆ config_numerics

◆ config_phase

◆ config_texture

type(tpartitionedstringlist), dimension(:), allocatable, public, protected config::config_texture