Parse geometry file to set up discretization and geometry for nonlocal model. More...
Functions/Subroutines | |
subroutine, public | discretization_grid_init |
reads the geometry file to obtain information on discretization More... | |
subroutine | readgeom (grid, geomSize, origin, microstructure, homogenization) |
Parses geometry file. More... | |
real(preal) function, dimension(3, product(grid)) | ipcoordinates0 (grid, geomSize, grid3Offset) |
Calculate undeformed position of IPs/cell centers (pretend to be an element) More... | |
pure real(preal) function, dimension(3, product(grid+1)) | nodes0 (grid, geomSize, grid3Offset) |
Calculate position of undeformed nodes (pretend to be an element) More... | |
pure real(preal) function, dimension(6, 1, product(grid)) | cellsurfacearea (geomSize, grid) |
Calculate IP interface areas. More... | |
pure real(preal) function, dimension(3, 6, 1, nelems) | cellsurfacenormal (nElems) |
Calculate IP interface areas normals. More... | |
pure integer function, dimension(3, 6, 1, product(grid)) | ipneighborhood (grid) |
Build IP neighborhood relations. More... | |
Variables | |
integer, dimension(3), public, protected | grid |
(global) grid More... | |
integer, public, protected | grid3 |
(local) grid in 3rd direction More... | |
integer, public, protected | grid3offset |
(local) grid offset in 3rd direction More... | |
real(preal), dimension(3), public, protected | geomsize |
(global) physical size More... | |
real(preal), public, protected | size3 |
(local) size in 3rd direction More... | |
real(preal), public, protected | size3offset |
(local) size offset in 3rd direction More... | |
Parse geometry file to set up discretization and geometry for nonlocal model.
|
private |
Calculate IP interface areas.
Definition at line 1799 of file discretization_grid.f90.
References geomsize, and grid.
Referenced by discretization_grid_init().
|
private |
Calculate IP interface areas normals.
Definition at line 1816 of file discretization_grid.f90.
Referenced by discretization_grid_init().
subroutine, public discretization_grid::discretization_grid_init |
reads the geometry file to obtain information on discretization
Definition at line 1497 of file discretization_grid.f90.
References cellsurfacearea(), cellsurfacenormal(), debug::debug_e, debug::debug_i, discretization::discretization_init(), fesolving::fesolving_execelem, fesolving::fesolving_execip, geometry_plastic_nonlocal::geometry_plastic_nonlocal_setiparea(), geometry_plastic_nonlocal::geometry_plastic_nonlocal_setipareanormal(), geometry_plastic_nonlocal::geometry_plastic_nonlocal_setipneighborhood(), geometry_plastic_nonlocal::geometry_plastic_nonlocal_setipvolume(), geomsize, grid, grid3, grid3offset, io::io_error(), ipcoordinates0(), ipneighborhood(), nodes0(), prec::preal, readgeom(), results::results_addgroup(), results::results_closegroup(), results::results_closejobfile(), results::results_openjobfile(), size3, size3offset, numerics::worldrank, and numerics::worldsize.
|
private |
Calculate undeformed position of IPs/cell centers (pretend to be an element)
Definition at line 1751 of file discretization_grid.f90.
References geomsize, grid, grid3offset, and prec::preal.
Referenced by discretization_grid_init().
|
private |
Build IP neighborhood relations.
Definition at line 1835 of file discretization_grid.f90.
References grid.
Referenced by discretization_grid_init().
|
private |
Calculate position of undeformed nodes (pretend to be an element)
Definition at line 1775 of file discretization_grid.f90.
References geomsize, grid, grid3, grid3offset, and prec::preal.
Referenced by discretization_grid_init().
|
private |
Parses geometry file.
important variables have an implicit "save" attribute. Therefore, this function is
Definition at line 1583 of file discretization_grid.f90.
References damask_interface::geometryfile, io::io_eol, io::io_error(), io::io_floatvalue(), io::io_intvalue(), io::io_lc(), io::io_stringpos(), and io::io_stringvalue().
Referenced by discretization_grid_init().
real(preal), dimension(3), public, protected discretization_grid::geomsize |
(global) physical size
Definition at line 1481 of file discretization_grid.f90.
Referenced by cellsurfacearea(), grid_mech_fem::converged(), discretization_grid_init(), grid_mech_fem::grid_mech_fem_init(), ipcoordinates0(), nodes0(), spectral_utilities::utilities_curlrms(), spectral_utilities::utilities_divergencerms(), spectral_utilities::utilities_getfreqderivative(), spectral_utilities::utilities_init(), and spectral_utilities::utilities_updatecoords().
integer, dimension(3), public, protected discretization_grid::grid |
(global) grid
Definition at line 1476 of file discretization_grid.f90.
Referenced by cellsurfacearea(), discretization_grid_init(), grid_damage_spectral::formresidual(), grid_thermal_spectral::formresidual(), grid_mech_spectral_basic::formresidual(), grid_mech_fem::formresidual(), grid_mech_spectral_polarisation::formresidual(), grid_damage_spectral::grid_damage_spectral_forward(), grid_damage_spectral::grid_damage_spectral_init(), grid_damage_spectral::grid_damage_spectral_solution(), grid_mech_fem::grid_mech_fem_forward(), grid_mech_fem::grid_mech_fem_init(), grid_mech_spectral_basic::grid_mech_spectral_basic_forward(), grid_mech_spectral_basic::grid_mech_spectral_basic_init(), grid_mech_spectral_polarisation::grid_mech_spectral_polarisation_forward(), grid_mech_spectral_polarisation::grid_mech_spectral_polarisation_init(), grid_thermal_spectral::grid_thermal_spectral_forward(), grid_thermal_spectral::grid_thermal_spectral_init(), grid_thermal_spectral::grid_thermal_spectral_solution(), ipcoordinates0(), ipneighborhood(), nodes0(), grid_damage_spectral::updatereference(), grid_thermal_spectral::updatereference(), spectral_utilities::utilities_calculaterate(), spectral_utilities::utilities_constitutiveresponse(), spectral_utilities::utilities_curlrms(), spectral_utilities::utilities_divergencerms(), spectral_utilities::utilities_fftscalarforward(), spectral_utilities::utilities_ffttensorforward(), spectral_utilities::utilities_fftvectorforward(), spectral_utilities::utilities_forwardfield(), spectral_utilities::utilities_fouriergammaconvolution(), spectral_utilities::utilities_fouriergreenconvolution(), spectral_utilities::utilities_fourierscalargradient(), spectral_utilities::utilities_fouriertensordivergence(), spectral_utilities::utilities_fouriervectordivergence(), spectral_utilities::utilities_fouriervectorgradient(), spectral_utilities::utilities_getfreqderivative(), spectral_utilities::utilities_init(), spectral_utilities::utilities_updatecoords(), and spectral_utilities::utilities_updategamma().
integer, public, protected discretization_grid::grid3 |
(local) grid in 3rd direction
Definition at line 1478 of file discretization_grid.f90.
Referenced by discretization_grid_init(), grid_damage_spectral::formresidual(), grid_thermal_spectral::formresidual(), grid_mech_spectral_basic::formresidual(), grid_mech_spectral_polarisation::formresidual(), grid_damage_spectral::grid_damage_spectral_forward(), grid_damage_spectral::grid_damage_spectral_init(), grid_damage_spectral::grid_damage_spectral_solution(), grid_mech_fem::grid_mech_fem_forward(), grid_mech_fem::grid_mech_fem_init(), grid_mech_spectral_basic::grid_mech_spectral_basic_forward(), grid_mech_spectral_basic::grid_mech_spectral_basic_init(), grid_mech_spectral_polarisation::grid_mech_spectral_polarisation_forward(), grid_mech_spectral_polarisation::grid_mech_spectral_polarisation_init(), grid_thermal_spectral::grid_thermal_spectral_forward(), grid_thermal_spectral::grid_thermal_spectral_init(), grid_thermal_spectral::grid_thermal_spectral_solution(), nodes0(), grid_thermal_spectral::updatereference(), grid_damage_spectral::updatereference(), spectral_utilities::utilities_calculaterate(), spectral_utilities::utilities_constitutiveresponse(), spectral_utilities::utilities_curlrms(), spectral_utilities::utilities_divergencerms(), spectral_utilities::utilities_forwardfield(), spectral_utilities::utilities_fouriergammaconvolution(), spectral_utilities::utilities_fouriergreenconvolution(), spectral_utilities::utilities_fourierscalargradient(), spectral_utilities::utilities_fouriertensordivergence(), spectral_utilities::utilities_fouriervectordivergence(), spectral_utilities::utilities_fouriervectorgradient(), spectral_utilities::utilities_init(), spectral_utilities::utilities_updatecoords(), and spectral_utilities::utilities_updategamma().
integer, public, protected discretization_grid::grid3offset |
(local) grid offset in 3rd direction
Definition at line 1478 of file discretization_grid.f90.
Referenced by discretization_grid_init(), ipcoordinates0(), nodes0(), spectral_utilities::utilities_fouriergammaconvolution(), spectral_utilities::utilities_init(), spectral_utilities::utilities_updatecoords(), and spectral_utilities::utilities_updategamma().
real(preal), public, protected discretization_grid::size3 |
(local) size in 3rd direction
Definition at line 1483 of file discretization_grid.f90.
Referenced by discretization_grid_init().
real(preal), public, protected discretization_grid::size3offset |
(local) size offset in 3rd direction
Definition at line 1483 of file discretization_grid.f90.
Referenced by discretization_grid_init().