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

Go to the source code of this file.

Data Types

type  prec::group_float
 variable length datatype used for storage of state More...
 
type  prec::group_int
 
type  prec::tstate
 
type  prec::tplasticstate
 
type  prec::tsourcestate
 
type  prec::thomogmapping
 

Modules

module  prec
 setting precision for real and int type
 

Functions/Subroutines

subroutine prec::prec_init
 reporting precision More...
 
logical elemental pure function prec::deq (a, b, tol)
 equality comparison for float with double precision More...
 
logical elemental pure function prec::dneq (a, b, tol)
 inequality comparison for float with double precision More...
 
logical elemental pure function prec::deq0 (a, tol)
 equality to 0 comparison for float with double precision More...
 
logical elemental pure function prec::dneq0 (a, tol)
 inequality to 0 comparison for float with double precision More...
 
logical elemental pure function prec::ceq (a, b, tol)
 equality comparison for complex with double precision More...
 
logical elemental pure function prec::cneq (a, b, tol)
 inequality comparison for complex with double precision More...
 
subroutine, private prec::unittest
 check correctness of some prec functions More...
 

Variables

integer, parameter prec::preal = IEEE_selected_real_kind(15, 307)
 number with 15 significant digits, up to 1e+-307 (typically 64 bit) More...
 
integer, parameter prec::pint = selected_int_kind(9)
 number with at least up to +-1e9 (typically 32 bit) More...
 
integer, parameter prec::plongint = selected_int_kind(18)
 number with at least up to +-1e18 (typically 64 bit) More...
 
integer, parameter prec::pstringlen = 256
 default string length More...
 
integer, parameter prec::ppathlen = 4096
 maximum length of a path name on linux More...
 
real(preal), parameter prec::tol_math_check = 1.0e-8_pReal
 tolerance for internal math self-checks (rotation) More...
 
real(preal), parameter, private prec::preal_epsilon = epsilon(0.0_pReal)
 minimum positive number such that 1.0 + EPSILON /= 1.0. More...
 
real(preal), parameter, private prec::preal_min = tiny(0.0_pReal)
 smallest normalized floating point number More...
 
integer, dimension(0), parameter prec::emptyintarray = [integer::]
 
real(preal), dimension(0), parameter prec::emptyrealarray = [real(pReal)::]
 
character(len=pstringlen), dimension(0), parameter prec::emptystringarray = [character(len=pStringLen)::]