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

spatial discretization More...

Functions/Subroutines

subroutine, public discretization_init (homogenizationAt, microstructureAt, IPcoords0, NodeCoords0, sharedNodesBegin)
 stores the relevant information in globally accesible variables More...
 
subroutine, public discretization_results
 write the displacements More...
 
subroutine, public discretization_setipcoords (IPcoords)
 stores current IP coordinates More...
 
subroutine, public discretization_setnodecoords (NodeCoords)
 stores current IP coordinates More...
 

Variables

integer, public, protected discretization_nip
 
integer, public, protected discretization_nelem
 
integer, dimension(:), allocatable, public, protected discretization_homogenizationat
 
integer, dimension(:), allocatable, public, protected discretization_microstructureat
 
real(preal), dimension(:,:), allocatable, public, protected discretization_ipcoords0
 
real(preal), dimension(:,:), allocatable, public, protected discretization_ipcoords
 
real(preal), dimension(:,:), allocatable, public, protected discretization_nodecoords0
 
real(preal), dimension(:,:), allocatable, public, protected discretization_nodecoords
 
integer discretization_sharednodesbegin
 

Detailed Description

spatial discretization

serves as an abstraction layer between the different solvers and DAMASK

Function/Subroutine Documentation

◆ discretization_init()

subroutine, public discretization::discretization_init ( integer, dimension(:), intent(in)  homogenizationAt,
integer, dimension(:), intent(in)  microstructureAt,
real(preal), dimension(:,:), intent(in)  IPcoords0,
real(preal), dimension(:,:), intent(in)  NodeCoords0,
integer, intent(in), optional  sharedNodesBegin 
)

stores the relevant information in globally accesible variables

Definition at line 48 of file discretization.f90.

References discretization_homogenizationat, discretization_ipcoords, discretization_ipcoords0, discretization_microstructureat, discretization_nelem, discretization_nip, discretization_nodecoords, discretization_nodecoords0, and discretization_sharednodesbegin.

Referenced by discretization_grid::discretization_grid_init().

+ Here is the caller graph for this function:

◆ discretization_results()

subroutine, public discretization::discretization_results

write the displacements

Definition at line 85 of file discretization.f90.

References discretization_ipcoords, discretization_ipcoords0, discretization_nodecoords, discretization_nodecoords0, discretization_sharednodesbegin, results::results_addgroup(), and results::results_closegroup().

Referenced by cpfem2::cpfem_results().

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

◆ discretization_setipcoords()

subroutine, public discretization::discretization_setipcoords ( real(preal), dimension(:,:), intent(in)  IPcoords)

stores current IP coordinates

Definition at line 105 of file discretization.f90.

References discretization_ipcoords.

Referenced by spectral_utilities::utilities_updatecoords().

+ Here is the caller graph for this function:

◆ discretization_setnodecoords()

subroutine, public discretization::discretization_setnodecoords ( real(preal), dimension(:,:), intent(in)  NodeCoords)

stores current IP coordinates

Definition at line 117 of file discretization.f90.

References discretization_nodecoords.

Referenced by spectral_utilities::utilities_updatecoords().

+ Here is the caller graph for this function:

Variable Documentation

◆ discretization_homogenizationat

integer, dimension(:), allocatable, public, protected discretization::discretization_homogenizationat

◆ discretization_ipcoords

real(preal), dimension(:,:), allocatable, public, protected discretization::discretization_ipcoords

◆ discretization_ipcoords0

real(preal), dimension(:,:), allocatable, public, protected discretization::discretization_ipcoords0

Definition at line 25 of file discretization.f90.

Referenced by discretization_init(), and discretization_results().

◆ discretization_microstructureat

integer, dimension(:), allocatable, public, protected discretization::discretization_microstructureat

◆ discretization_nelem

integer, public, protected discretization::discretization_nelem

◆ discretization_nip

◆ discretization_nodecoords

real(preal), dimension(:,:), allocatable, public, protected discretization::discretization_nodecoords

◆ discretization_nodecoords0

real(preal), dimension(:,:), allocatable, public, protected discretization::discretization_nodecoords0

Definition at line 25 of file discretization.f90.

Referenced by discretization_init(), and discretization_results().

◆ discretization_sharednodesbegin

integer discretization::discretization_sharednodesbegin
private

Definition at line 31 of file discretization.f90.

Referenced by discretization_init(), and discretization_results().