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

Go to the source code of this file.

Modules

module  lambert
 Mapping homochoric <-> cubochoric.
 

Functions/Subroutines

pure real(preal) function, dimension(3), public lambert::lambert_cubetoball (cube)
 map from 3D cubic grid to 3D ball More...
 
pure real(preal) function, dimension(3), public lambert::lambert_balltocube (xyz)
 map from 3D ball to 3D cubic grid
More...
 
pure integer function, dimension(3) lambert::getpyramidorder (xyz)
 determine to which pyramid a point in a cubic grid belongs More...
 

Variables

real(preal), parameter lambert::spi = sqrt(PI)
 
real(preal), parameter lambert::pref = sqrt(6.0_pReal/PI)
 
real(preal), parameter lambert::a = PI**(5.0_pReal/6.0_pReal)/6.0_pReal**(1.0_pReal/6.0_pReal)
 
real(preal), parameter lambert::ap = PI**(2.0_pReal/3.0_pReal)
 
real(preal), parameter lambert::sc = A/AP
 
real(preal), parameter lambert::beta = A/2.0_pReal
 
real(preal), parameter lambert::r1 = (3.0_pReal*PI/4.0_pReal)**(1.0_pReal/3.0_pReal)
 
real(preal), parameter lambert::r2 = sqrt(2.0_pReal)
 
real(preal), parameter lambert::pi12 = PI/12.0_pReal
 
real(preal), parameter lambert::prek = R1 * 2.0_pReal**(1.0_pReal/4.0_pReal)/BETA