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

Data Types

interface  results_addattribute
 
interface  results_writedataset
 

Functions/Subroutines

subroutine, public results_init
 
subroutine, public results_openjobfile
 opens the results file to append data More...
 
subroutine, public results_closejobfile
 closes the results file More...
 
subroutine, public results_addincrement (inc, time)
 creates the group of increment and adds time as attribute to the file More...
 
subroutine, public results_finalizeincrement
 finalize increment More...
 
integer(hid_t) function, public results_opengroup (groupName)
 open a group from the results file More...
 
integer(hid_t) function, public results_addgroup (groupName)
 adds a new group to the results file More...
 
subroutine, public results_closegroup (group_id)
 close a group More...
 
subroutine, public results_setlink (path, link)
 set link to object in results file More...
 
subroutine results_addattribute_str (attrLabel, attrValue, path)
 adds a string attribute to an object in the results file More...
 
subroutine results_addattribute_int (attrLabel, attrValue, path)
 adds an integer attribute an object in the results file More...
 
subroutine results_addattribute_real (attrLabel, attrValue, path)
 adds a real attribute an object in the results file More...
 
subroutine results_addattribute_int_array (attrLabel, attrValue, path)
 adds an integer array attribute an object in the results file More...
 
subroutine results_addattribute_real_array (attrLabel, attrValue, path)
 adds a real array attribute an object in the results file More...
 
subroutine, public results_removelink (link)
 remove link to an object More...
 
subroutine results_writescalardataset_real (group, dataset, label, description, SIunit)
 stores a scalar dataset in a group More...
 
subroutine results_writevectordataset_real (group, dataset, label, description, SIunit)
 stores a vector dataset in a group More...
 
subroutine results_writetensordataset_real (group, dataset, label, description, SIunit, transposed)
 stores a tensor dataset in a group More...
 
subroutine results_writevectordataset_int (group, dataset, label, description, SIunit)
 stores a vector dataset in a group More...
 
subroutine results_writetensordataset_int (group, dataset, label, description, SIunit)
 stores a tensor dataset in a group More...
 
subroutine results_writescalardataset_rotation (group, dataset, label, description, lattice_structure)
 stores a scalar dataset in a group More...
 
subroutine, public results_mapping_constituent (phaseAt, memberAtLocal, label)
 adds the unique mapping from spatial position and constituent ID to results More...
 
subroutine, public results_mapping_materialpoint (homogenizationAt, memberAtLocal, label)
 adds the unique mapping from spatial position and constituent ID to results More...
 

Variables

integer(hid_t) resultsfile
 

Detailed Description

Author
Vitesh Shah, Max-Planck-Institut für Eisenforschung GmbH
Yi-Chin Yang, Max-Planck-Institut für Eisenforschung GmbH
Jennifer Nastola, Max-Planck-Institut für Eisenforschung GmbH
Martin Diehl, Max-Planck-Institut für Eisenforschung GmbH

Function/Subroutine Documentation

◆ results_addattribute_int()

subroutine results::results_addattribute_int ( character(len=*), intent(in)  attrLabel,
integer, intent(in)  attrValue,
character(len=*), intent(in), optional  path 
)
private

adds an integer attribute an object in the results file

Definition at line 207 of file results.f90.

References resultsfile.

◆ results_addattribute_int_array()

subroutine results::results_addattribute_int_array ( character(len=*), intent(in)  attrLabel,
integer, dimension(:), intent(in)  attrValue,
character(len=*), intent(in), optional  path 
)
private

adds an integer array attribute an object in the results file

Definition at line 243 of file results.f90.

References resultsfile.

◆ results_addattribute_real()

subroutine results::results_addattribute_real ( character(len=*), intent(in)  attrLabel,
real(preal), intent(in)  attrValue,
character(len=*), intent(in), optional  path 
)
private

adds a real attribute an object in the results file

Definition at line 225 of file results.f90.

References resultsfile.

◆ results_addattribute_real_array()

subroutine results::results_addattribute_real_array ( character(len=*), intent(in)  attrLabel,
real(preal), dimension(:), intent(in)  attrValue,
character(len=*), intent(in), optional  path 
)
private

adds a real array attribute an object in the results file

Definition at line 261 of file results.f90.

References resultsfile.

◆ results_addattribute_str()

subroutine results::results_addattribute_str ( character(len=*), intent(in)  attrLabel,
character(len=*), intent(in)  attrValue,
character(len=*), intent(in), optional  path 
)
private

adds a string attribute to an object in the results file

Definition at line 190 of file results.f90.

References resultsfile.

◆ results_addgroup()

integer(hid_t) function, public results::results_addgroup ( character(len=*), intent(in)  groupName)

adds a new group to the results file

Definition at line 154 of file results.f90.

References hdf5_utilities::hdf5_addgroup(), and resultsfile.

Referenced by constitutive::constitutive_results(), crystallite::crystallite_results(), discretization_grid::discretization_grid_init(), discretization::discretization_results(), homogenization::homogenization_results(), results_addincrement(), and results_init().

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

◆ results_addincrement()

subroutine, public results::results_addincrement ( integer, intent(in)  inc,
real(preal), intent(in)  time 
)

creates the group of increment and adds time as attribute to the file

Definition at line 112 of file results.f90.

References results_addgroup(), results_closegroup(), and results_setlink().

Referenced by cpfem2::cpfem_results().

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

◆ results_closegroup()

subroutine, public results::results_closegroup ( integer(hid_t), intent(in)  group_id)

close a group

Definition at line 166 of file results.f90.

References hdf5_utilities::hdf5_closegroup().

Referenced by constitutive::constitutive_results(), crystallite::crystallite_results(), discretization_grid::discretization_grid_init(), discretization::discretization_results(), homogenization::homogenization_results(), results_addincrement(), and results_init().

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

◆ results_closejobfile()

subroutine, public results::results_closejobfile

closes the results file

Definition at line 102 of file results.f90.

References hdf5_utilities::hdf5_closefile(), and resultsfile.

Referenced by cpfem2::cpfem_results(), discretization_grid::discretization_grid_init(), material::material_init(), and results_init().

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

◆ results_finalizeincrement()

subroutine, public results::results_finalizeincrement

finalize increment

remove soft link

Definition at line 132 of file results.f90.

References results_removelink().

Referenced by cpfem2::cpfem_results().

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

◆ results_init()

subroutine, public results::results_init

Definition at line 67 of file results.f90.

References damask_interface::getsolverjobname(), hdf5_utilities::hdf5_openfile(), results_addgroup(), results_closegroup(), results_closejobfile(), and resultsfile.

Referenced by cpfem2::cpfem_initall().

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

◆ results_mapping_constituent()

subroutine, public results::results_mapping_constituent ( integer, dimension(:,:), intent(in)  phaseAt,
integer, dimension(:,:,:), intent(in)  memberAtLocal,
character(len=pstringlen), dimension(:), intent(in)  label 
)

adds the unique mapping from spatial position and constituent ID to results

Parameters
[in]phaseatphase section at (constituent,element)
[in]memberatlocalphase member at (constituent,IP,element)
[in]labellabel of each phase section

Definition at line 493 of file results.f90.

References hdf5_utilities::hdf5_closegroup(), results_opengroup(), numerics::worldrank, and numerics::worldsize.

Referenced by material::material_init().

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

◆ results_mapping_materialpoint()

subroutine, public results::results_mapping_materialpoint ( integer, dimension(:), intent(in)  homogenizationAt,
integer, dimension(:,:), intent(in)  memberAtLocal,
character(len=pstringlen), dimension(:), intent(in)  label 
)

adds the unique mapping from spatial position and constituent ID to results

Parameters
[in]homogenizationathomogenization section at (element)
[in]memberatlocalhomogenization member at (IP,element)
[in]labellabel of each homogenization section

Definition at line 628 of file results.f90.

References hdf5_utilities::hdf5_closegroup(), results_opengroup(), numerics::worldrank, and numerics::worldsize.

Referenced by material::material_init().

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

◆ results_opengroup()

integer(hid_t) function, public results::results_opengroup ( character(len=*), intent(in)  groupName)

open a group from the results file

Definition at line 142 of file results.f90.

References hdf5_utilities::hdf5_opengroup(), and resultsfile.

Referenced by results_mapping_constituent(), results_mapping_materialpoint(), results_writescalardataset_real(), results_writescalardataset_rotation(), results_writetensordataset_int(), results_writetensordataset_real(), results_writevectordataset_int(), and results_writevectordataset_real().

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

◆ results_openjobfile()

subroutine, public results::results_openjobfile

opens the results file to append data

Definition at line 92 of file results.f90.

References damask_interface::getsolverjobname(), hdf5_utilities::hdf5_openfile(), and resultsfile.

Referenced by cpfem2::cpfem_results(), discretization_grid::discretization_grid_init(), geometry_plastic_nonlocal::geometry_plastic_nonlocal_results(), and material::material_init().

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

◆ results_removelink()

subroutine, public results::results_removelink ( character(len=*), intent(in)  link)

remove link to an object

Definition at line 279 of file results.f90.

References resultsfile.

Referenced by results_finalizeincrement().

+ Here is the caller graph for this function:

◆ results_setlink()

subroutine, public results::results_setlink ( character(len=*), intent(in)  path,
character(len=*), intent(in)  link 
)

set link to object in results file

Definition at line 178 of file results.f90.

References hdf5_utilities::hdf5_setlink(), and resultsfile.

Referenced by results_addincrement().

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

◆ results_writescalardataset_real()

subroutine results::results_writescalardataset_real ( character(len=*), intent(in)  group,
real(preal), dimension(:), intent(inout)  dataset,
character(len=*), intent(in)  label,
character(len=*), intent(in)  description,
character(len=*), intent(in), optional  SIunit 
)
private

stores a scalar dataset in a group

Definition at line 293 of file results.f90.

References hdf5_utilities::hdf5_closegroup(), hdf5_utilities::hdf5_objectexists(), and results_opengroup().

+ Here is the call graph for this function:

◆ results_writescalardataset_rotation()

subroutine results::results_writescalardataset_rotation ( character(len=*), intent(in)  group,
type(rotation), dimension(:), intent(inout)  dataset,
character(len=*), intent(in)  label,
character(len=*), intent(in)  description,
character(len=*), intent(in), optional  lattice_structure 
)
private

stores a scalar dataset in a group

Definition at line 463 of file results.f90.

References hdf5_utilities::hdf5_closegroup(), hdf5_utilities::hdf5_objectexists(), and results_opengroup().

+ Here is the call graph for this function:

◆ results_writetensordataset_int()

subroutine results::results_writetensordataset_int ( character(len=*), intent(in)  group,
integer, dimension(:,:,:), intent(inout)  dataset,
character(len=*), intent(in)  label,
character(len=*), intent(in)  description,
character(len=*), intent(in), optional  SIunit 
)
private

stores a tensor dataset in a group

Definition at line 433 of file results.f90.

References hdf5_utilities::hdf5_closegroup(), hdf5_utilities::hdf5_objectexists(), and results_opengroup().

+ Here is the call graph for this function:

◆ results_writetensordataset_real()

subroutine results::results_writetensordataset_real ( character(len=*), intent(in)  group,
real(preal), dimension(:,:,:), intent(in)  dataset,
character(len=*), intent(in)  label,
character(len=*), intent(in)  description,
character(len=*), intent(in), optional  SIunit,
logical, intent(in), optional  transposed 
)
private

stores a tensor dataset in a group

Definition at line 352 of file results.f90.

References hdf5_utilities::hdf5_closegroup(), hdf5_utilities::hdf5_objectexists(), and results_opengroup().

+ Here is the call graph for this function:

◆ results_writevectordataset_int()

subroutine results::results_writevectordataset_int ( character(len=*), intent(in)  group,
integer, dimension(:,:), intent(inout)  dataset,
character(len=*), intent(in)  label,
character(len=*), intent(in)  description,
character(len=*), intent(in), optional  SIunit 
)
private

stores a vector dataset in a group

Definition at line 403 of file results.f90.

References hdf5_utilities::hdf5_closegroup(), hdf5_utilities::hdf5_objectexists(), and results_opengroup().

+ Here is the call graph for this function:

◆ results_writevectordataset_real()

subroutine results::results_writevectordataset_real ( character(len=*), intent(in)  group,
real(preal), dimension(:,:), intent(inout)  dataset,
character(len=*), intent(in)  label,
character(len=*), intent(in)  description,
character(len=*), intent(in), optional  SIunit 
)
private

stores a vector dataset in a group

Definition at line 322 of file results.f90.

References hdf5_utilities::hdf5_closegroup(), hdf5_utilities::hdf5_objectexists(), and results_opengroup().

+ Here is the call graph for this function:

Variable Documentation

◆ resultsfile