Martin Diehl
136a4b1377
PETSc defines are rather complicated
...
now mpi_f08 can be used on newer PETSc installations if old MPI modules
are not exposed
2021-07-09 18:48:25 +02:00
Martin Diehl
637f78bd52
old name (for PETSc < 3.15)
2021-07-09 14:50:29 +02:00
Martin Diehl
139f2c177a
use MPI_f08 if possible
...
most PETSc installations provide outdated MPI (f90 version)
MPI_COMM_WORLD is now of derived type (Fortran 08 style)
PETSC_COMM_WORLD is the plain integer (f90 style) alias.
Note that HDF5 is assumed to have f90 interfaces
2021-07-08 16:27:37 +02:00
Martin Diehl
ae9a48c124
polishing
2021-06-24 15:23:24 +02:00
Martin Diehl
1bfbd30ae2
polishing
2021-06-15 19:53:05 +02:00
Martin Diehl
218e6a79a8
VTK image data is the appropriate type, not VTK rectilinear grid
...
FFTs require constant spacing in all three directions, this is
guaranteed by the vtkImageData but not by vtkRectilinearGrid
2021-06-15 19:02:26 +02:00
Martin Diehl
b67e837548
needs broadcast, otherwise rank>0 fail
2021-04-11 09:58:40 +02:00
Martin Diehl
547f2ffa69
cleaning
2021-04-11 09:46:11 +02:00
Martin Diehl
5f608ed572
only 2 and 3 dimension can be 1
2021-04-09 08:25:30 +02:00
Martin Diehl
6c7201610e
Bugfix for access of unallocated variable
...
IntelMPI seems to access sendbuf for root!=0 in MPI_Scatterv
2021-02-17 17:56:39 +01:00
Martin Diehl
437d91495b
No FEsolving
2021-01-06 14:24:02 +01:00
Martin Diehl
78a246b44a
avoid constant reallocation, it is slow for large vtr files
2020-12-05 12:46:48 +01:00
Martin Diehl
42eb802126
not needed anymore
2020-12-05 11:29:23 +01:00
Martin Diehl
ac0a20696c
rename: grid -> cells
2020-12-03 22:16:34 +01:00
Martin Diehl
e419eea507
read vtr file only by process 1
2020-11-12 14:40:25 +01:00
Martin Diehl
bb471cb923
it's a process, not a thread
2020-11-12 07:51:07 +01:00
Martin Diehl
5531f892c3
z = 0 for invalid number of processes
...
e.g. using 24 processes for a 128x128x128 grid would need 21 processes
with z=6 and 1 process with z=2
2020-11-11 12:47:13 +01:00
Martin Diehl
2db5c9bade
geom -> vtr (zero-based)
2020-10-09 22:19:53 +02:00
Philip Eisenlohr
792e5045b8
fixed grid size assignments for MPI layers
2020-09-24 19:05:10 +02:00
Martin Diehl
0f64954300
whitespace adjustment
2020-09-24 09:36:19 +02:00
Martin Diehl
b995f34834
Merge branch 'development' into geom-fully-out-of-place
2020-09-23 22:50:20 +02:00
Martin Diehl
fa413efcbb
microstructure -> material
2020-09-23 21:25:14 +02:00
Martin Diehl
cfeec53178
dataset is called 'material', not 'materialpoint'
...
avoid infinite loop in case it is not found
2020-09-23 21:10:39 +02:00
Martin Diehl
41fbc58c1b
standard conforming name
2020-09-22 13:09:12 +02:00
Martin Diehl
53ce4e07d2
forgotten renames in subfolders
2020-09-22 13:02:33 +02:00
Martin Diehl
cc92b0ad84
print is more appropriate than write
2020-09-19 08:29:50 +02:00
Martin Diehl
1ff098d004
Merge remote-tracking branch 'origin/development' into Fortran-simplifications
2020-09-15 19:36:59 +02:00
Martin Diehl
89f25eb7d7
use reasonable tolerances for checking regular grid spacing
2020-09-14 14:06:09 +02:00
Martin Diehl
3ebba9b3c0
more sensible locations for reporting
2020-09-13 21:21:55 +02:00
Martin Diehl
84b9104302
clearly indicate origin of functions
...
also supresses (flawed) error message of gfortran related to
non-standard type 'bytes'
2020-09-13 20:14:34 +02:00
Martin Diehl
f266def906
Merge branch 'vtr-as-input' into Fortran-simplifications
2020-09-13 19:34:48 +02:00
Philip Eisenlohr
507910ffcd
improved language/descriptions
2020-09-13 18:32:49 +02:00
Martin Diehl
38a4118dc5
prefix to global variables increases readability
2020-09-13 11:05:42 +02:00
Martin Diehl
b499578a95
prefix should be name of the module
...
poor substitute for namespace
2020-09-13 10:39:17 +02:00
Martin Diehl
da0e16520c
handling of MPI in 'parallelization'
2020-09-13 10:26:33 +02:00
Martin Diehl
e2ded43636
polishing
...
- unified style (CamelCase)
- more sanity checks
- simplified determination of grid
2020-09-13 06:58:34 +02:00
Martin Diehl
81063046c4
improved error handling, potentially faster algorithm
2020-09-12 22:55:30 +02:00
Martin Diehl
307b1b20cc
forgotten rename for ifort workaround
2020-09-12 15:26:16 +02:00
Martin Diehl
566ab7e7d9
reading in VTR files
...
will replace geom file in the near future
2020-09-12 14:43:04 +02:00
Martin Diehl
23bf51cca0
homogenizationAt from discretization not needed anymore
2020-08-29 16:45:18 +02:00
Sharan Roongta
7754a1ea56
Restructuring for material.yaml
2020-08-15 16:08:46 +02:00
Martin Diehl
8de3b67c26
no silent crash
2020-07-13 21:13:53 +02:00
Sharan Roongta
dda2f2cf22
defined locally
2020-07-01 22:39:44 +02:00
Sharan Roongta
4942304ee8
extended for grid
2020-06-18 17:43:25 +02:00
Martin Diehl
0f2447d413
restart does not overwrite existing results
2020-05-06 21:48:55 +02:00
Martin Diehl
7aa47d8f5a
module name follows filename
2020-03-20 07:18:11 +01:00
Martin Diehl
0bb7fea782
sort into folders ...
...
and avoid names like mesh_mesh
2020-03-16 21:03:54 +01:00