data layout and names as discussed with Karo and Philip
This commit is contained in:
parent
f1f88610dd
commit
d0579bb674
|
@ -6,6 +6,9 @@ module discretization
|
||||||
|
|
||||||
use prec
|
use prec
|
||||||
use results
|
use results
|
||||||
|
#if defined(PETSc) || defined(DAMASK_HDF5)
|
||||||
|
use HDF5_utilities
|
||||||
|
#endif
|
||||||
|
|
||||||
implicit none
|
implicit none
|
||||||
private
|
private
|
||||||
|
@ -67,11 +70,13 @@ subroutine discretization_results
|
||||||
#if defined(PETSc) || defined(DAMASK_HDF5)
|
#if defined(PETSc) || defined(DAMASK_HDF5)
|
||||||
real(pReal), dimension(:,:), allocatable :: u
|
real(pReal), dimension(:,:), allocatable :: u
|
||||||
|
|
||||||
u = discretization_NodeCoords -discretization_NodeCoords0
|
call HDF5_closeGroup(results_addGroup(trim('current/geometry')))
|
||||||
call results_writeDataset('current',U,'U','nodal displacements','m')
|
|
||||||
|
|
||||||
u = discretization_IPcoords -discretization_IPcoords0
|
u = discretization_NodeCoords - discretization_NodeCoords0
|
||||||
call results_writeDataset('current',u,'u','IP displacements','m')
|
call results_writeDataset('current/geometry',u,'u_n','nodal displacements','m')
|
||||||
|
|
||||||
|
u = discretization_IPcoords - discretization_IPcoords0
|
||||||
|
call results_writeDataset('current/geometry',u,'u_c','cell center displacements','m')
|
||||||
#endif
|
#endif
|
||||||
end subroutine discretization_results
|
end subroutine discretization_results
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue