Franz Roters
81ae66860a
Merge remote-tracking branch 'remotes/origin/explicitNonlocal' into development
2020-02-11 10:32:53 +01:00
Martin Diehl
a306e473ef
use rhoSgl0 (converged situation)
2020-02-11 05:41:10 +01:00
Martin Diehl
cd76172d74
debugging PETSc
2020-02-08 09:17:44 +01:00
Martin Diehl
187b3603d3
using new names
2020-02-08 09:08:52 +01:00
Martin Diehl
8f2e345ab4
polishing
2020-02-08 08:19:06 +01:00
Martin Diehl
4c4c052e73
slowly getting newer PETSc versions to work
2020-02-08 07:03:18 +01:00
Martin Diehl
5456ee98f4
still needed (new section was created)
2020-02-08 06:59:37 +01:00
Martin Diehl
984370d7d1
not needed
2020-02-07 18:34:00 +01:00
Martin Diehl
e932b386b9
Merge branch 'development' into MiscImprovements
2020-02-07 17:11:01 +01:00
Martin Diehl
5d4d1dcf9a
all nonlocal parts are fully explicit
...
i.e. they are based on converged (partioned0) states
2020-02-07 12:41:01 +01:00
Martin Diehl
f854dc27e9
explicit dotState for nonlocal
...
all flux related quantities are calculated based on the converged
quantities
2020-02-07 12:23:22 +01:00
Martin Diehl
4f4c6c5949
using converged dislocation velocity (from last subinc)
2020-02-07 12:01:54 +01:00
Martin Diehl
c7e3ac28f6
preparing data handling for explicit forward of flux
2020-02-07 11:44:03 +01:00
Martin Diehl
1ceba73d31
adopting to PETSc >3.10
...
thanks to Matthew Knepley from the PETSc team
2020-02-07 09:10:08 +01:00
Martin Diehl
98e5713ce5
Merge branch 'development' into noAbaqus
2020-02-06 18:33:13 +01:00
Franz Roters
47109b903b
Merge branch 'plasticity-submodule' into 'development'
...
Plasticity submodule
See merge request damask/DAMASK!120
2020-02-06 10:13:48 +01:00
Martin Diehl
cab000f4b4
not used
2020-02-04 23:52:10 +01:00
Martin Diehl
13ce372684
not used
2020-02-04 23:45:34 +01:00
Martin Diehl
2d74a83dad
cleaning
2020-02-03 23:48:09 +01:00
Martin Diehl
9e131c0110
rank 0 takes care of statistics file
2020-02-03 23:09:46 +01:00
Martin Diehl
e9dad64f2b
use central functionality
2020-02-03 23:01:08 +01:00
Martin Diehl
7bdfd05749
simplified
2020-02-03 22:44:57 +01:00
Martin Diehl
c6579f8890
[skip ci] unified
2020-02-03 22:41:52 +01:00
Martin Diehl
1ad79883b4
not needed
2020-02-03 22:33:56 +01:00
Martin Diehl
0ce0bb2d85
better understandable
2020-02-03 21:39:00 +01:00
Martin Diehl
54589a9c56
crystallite does not exist any more
2020-02-02 20:37:05 +01:00
Martin Diehl
588525611b
also report correctly negative seeds
2020-02-01 09:04:02 +01:00
Martin Diehl
796fd9a774
natural order
2020-01-31 21:43:45 +01:00
Martin Diehl
042d09a730
names from paper
2020-01-31 21:43:12 +01:00
Martin Diehl
55e53536f2
fixing indentation
...
always 2 spaces, not 1 for the first level
2020-01-31 21:37:18 +01:00
Martin Diehl
26496976c8
not used anymore
2020-01-31 21:19:15 +01:00
Martin Diehl
0d96c728fe
better readable
2020-01-31 07:02:24 +01:00
Martin Diehl
3791c50468
better readable
2020-01-31 06:55:26 +01:00
Martin Diehl
f5f397cb70
better readable
2020-01-31 06:52:11 +01:00
Martin Diehl
6ce4ce523a
Merge branch 'MiscImprovements' of magit1.mpie.de:/damask/DAMASK into MiscImprovements
2020-01-31 00:13:25 +01:00
Martin Diehl
269d65005b
use nomenclature from the DAMASK paper
2020-01-31 00:07:23 +01:00
Martin Diehl
0b8ff64884
store mapping MARC/FEM2DAMASK mapping
...
do not calculate the mapping for elements and nodes per call on
the fly, rather store it. Not memory efficient in the case that numbers
are not consequtive (order does not matter, but missing nodes/elements
would waste some 2 integers per missing number). However, this seem to cause
problems anyway when range indicators like '1 to 10' are used.
2020-01-30 23:39:59 +01:00
Martin Diehl
d54b8714e1
avoid invalid error access
2020-01-29 23:42:50 +01:00
Martin Diehl
c2cdcb17f7
wrong string
2020-01-29 23:04:15 +01:00
Martin Diehl
59fe9d06b0
shortening
2020-01-29 22:53:19 +01:00
Martin Diehl
9690f170e1
4 space indentation
2020-01-29 22:44:42 +01:00
Martin Diehl
f5bd544b36
[skip ci] was too general
2020-01-29 18:15:49 +01:00
Martin Diehl
9c138c87f0
not needed
2020-01-29 14:57:12 +01:00
Martin Diehl
64be6a277d
it's the surface, not the edge
2020-01-29 14:48:15 +01:00
Martin Diehl
b938f1a98d
polishing
...
* constants in CAPITALS
* more tests
* 'forall' is deprecated in Fortran 2018
2020-01-29 14:01:14 +01:00
Martin Diehl
348a91d503
Merge branch 'MiscImprovements' of magit1.mpie.de:/damask/DAMASK into MiscImprovements
2020-01-29 13:17:58 +01:00
Martin Diehl
3f96c12e06
avoid code duplication
2020-01-29 11:09:57 +01:00
Martin Diehl
49bfdcecab
avoid accessing non-existing chunks
...
note that Fortran does not shortcut logical expressions, hence the new
function
2020-01-29 09:13:55 +01:00
Martin Diehl
b8263519ca
ignore empty lines
2020-01-29 08:00:28 +01:00
Martin Diehl
7b0850f929
only read relevant lines
2020-01-29 00:10:05 +01:00
Martin Diehl
57db134c6d
polishing
2020-01-28 23:44:07 +01:00
Martin Diehl
5d1f68bf93
Merge branch 'fix-elem-7-57' into noAbaqus
2020-01-27 19:27:53 +01:00
Martin Diehl
6636f56cab
Merge remote-tracking branch 'origin/development' into fix-elem-7-57
2020-01-27 19:23:35 +01:00
Martin Diehl
fb5e57aa1a
WIP: implementing static map for Marc->DAMASK (elem/nodes)
2020-01-26 23:12:48 +01:00
Martin Diehl
d2a3fd3ac8
not needed to parse in nElem
2020-01-26 22:51:06 +01:00
Martin Diehl
f044b8c42f
explain data layout
2020-01-26 21:58:36 +01:00
Martin Diehl
0a1bac6787
flush helps to detect errors
2020-01-26 21:50:43 +01:00
Martin Diehl
f546ffb3be
polishing
2020-01-26 21:22:55 +01:00
Martin Diehl
79aeea052f
does not exist anymore (is not needed)
2020-01-26 21:07:21 +01:00
Martin Diehl
f8c5dbea71
typo (MSC.Marc did not compile)
2020-01-26 21:02:32 +01:00
Martin Diehl
cda1f4acab
more tests
...
failed unitTests report consistently with "internal error"
2020-01-26 20:53:13 +01:00
Martin Diehl
a4134b4552
doing some internal checks
...
trivial, but better safe then sorry
2020-01-26 20:24:09 +01:00
Martin Diehl
830b05005f
read file only once
2020-01-26 19:56:30 +01:00
Martin Diehl
62865e779d
polishing
2020-01-26 18:31:56 +01:00
Martin Diehl
a6e979ae1f
simplified parsing of strings, floats, and ints
...
invalid characters for interpretation as float and int now raise error,
no warning
requesting invalid chunk now raises error, no warning
2020-01-26 18:23:23 +01:00
Martin Diehl
0eba4e39cc
trying to make the whole procedure understandable
2020-01-26 14:18:16 +01:00
Martin Diehl
81fba131f6
variable string length
2020-01-26 13:28:12 +01:00
Martin Diehl
decf9371ea
avoid issues with unsufficient length of strings
2020-01-26 13:18:29 +01:00
Martin Diehl
3b8dd17e5b
avoiding hard-coded constants
2020-01-26 12:25:45 +01:00
Martin Diehl
fe22b84d5c
maximum path length is 4096
2020-01-26 12:19:36 +01:00
Martin Diehl
9c7f6811a2
use default string length
2020-01-26 12:17:59 +01:00
Martin Diehl
1be37de993
not used (defaults are given in the respective modules)
2020-01-26 11:46:14 +01:00
Martin Diehl
24a8d7ed29
256 (pStringLen) might not be sufficient for file operations
2020-01-26 11:40:25 +01:00
Martin Diehl
9a0d8db23e
[skip ci] replacement is done
2020-01-26 10:53:24 +01:00
Martin Diehl
ffea69955e
polishing and testing
...
element 11/12 (7/57 for MSC.Marc) have the same geometry type, i.e. both
are a hexahedral with 8 integration points/cells
Type 11 is linear (8 nodes), type 12 quadradic with reduced integration (20 nodes).
The modified definition ensures that the cell nodes 9-20 of element 11
are in the same order as the real nodes 9-20 of element 12. Real nodes
1-8 (corners) and 21-27 needed no modification.
Notes:
* Documentation on https://damask.mpie.de/Documentation/ElementType is now outdated.
* Element defition in MSC.Marc manual volume B (2001 version) is
confusing because element numbering is sometimes clowise and
sometimes counterclockwise. The latter one seems to be correct
2020-01-26 09:24:32 +01:00
Martin Diehl
b16f4155d4
cell definition follows correct order for 11/12 (7/57 in MSC.Marc)
2020-01-26 09:06:45 +01:00
Martin Diehl
7671e257bd
reorder elem 11 (Marc 7) to match 12 (Marc 57)
2020-01-26 08:17:59 +01:00
Martin Diehl
2100742a31
better have no support then untested support
2020-01-26 08:17:25 +01:00
Martin Diehl
13107abd39
not working and significat efforts needed to test it
2020-01-26 07:44:22 +01:00
Martin Diehl
8a2a9d3861
avoid direct file operations
2020-01-25 13:30:42 +01:00
Martin Diehl
a2e4160e61
read file only once
2020-01-25 10:58:04 +01:00
Martin Diehl
ddeebc189a
[skip ci] documenting further use
2020-01-25 09:31:27 +01:00
Martin Diehl
e532641015
dependency on element not needed for homogeneous meshes
2020-01-25 09:24:42 +01:00
Martin Diehl
624ede8177
clear separation between solver and DAMASK
2020-01-25 09:12:09 +01:00
Martin Diehl
bdae2a40cc
independent of IO
2020-01-25 08:56:39 +01:00
Martin Diehl
bfe8585903
Merge branch 'development' into MiscImprovements
2020-01-24 20:08:14 +01:00
Martin Diehl
5fae924e88
Merge branch 'MiscImprovements' of magit1.mpie.de:/damask/DAMASK into MiscImprovements
2020-01-24 19:58:57 +01:00
Sharan Roongta
3d6ec6955f
Merge branch 'PGI-support' into development
2020-01-24 12:24:38 +01:00
Martin Diehl
b807406a70
avoid public variables
2020-01-23 14:08:14 +01:00
Martin Diehl
f0ad18102d
preparing to clean FEsolving
...
should not have solver dependent functionality
2020-01-23 13:49:12 +01:00
Martin Diehl
bd67d2bb6a
new mappings have clear name, not (1,2)
2020-01-23 13:16:45 +01:00
Martin Diehl
7f66d4e975
avoid fixed string length
...
solved issues with wrong trim and is more robust
2020-01-23 11:21:42 +01:00
Martin Diehl
7273f1461c
avoid fixed string length where possible
2020-01-23 09:35:41 +01:00
Martin Diehl
1bfd8a8c21
continuousIntValues is very specific for Marc
...
define where it is used
2020-01-23 08:37:03 +01:00
Martin Diehl
246187865e
more flexibility
2020-01-23 08:19:21 +01:00
Martin Diehl
cc67b1bd3b
automatic length determination for more flexibility
2020-01-23 07:29:38 +01:00
Martin Diehl
d28b18267b
polishing
2020-01-23 07:19:44 +01:00
Martin Diehl
2c942de45d
do no rely on IO functions
...
should become part of the marc specific code
2020-01-22 08:55:39 +01:00
Martin Diehl
0c4790d468
solver specific, should not be reported here
2020-01-22 08:24:55 +01:00
Martin Diehl
d27aac0970
clearer structure
2020-01-21 19:33:22 +01:00
Martin Diehl
0ef0db586f
Merge branch 'MiscImprovements' of magit1.mpie.de:/damask/DAMASK into MiscImprovements
2020-01-21 19:24:30 +01:00
Martin Diehl
91d25ec897
rename in PETSc function
2020-01-21 18:18:27 +01:00
Martin Diehl
ad2520bec1
compiles with PETSc > 3.10
...
but does not run
2020-01-21 15:27:11 +01:00
Martin Diehl
8ef3985da7
debug info
2020-01-21 14:58:35 +01:00
Martin Diehl
1857a5e58a
skip empty lines (i.e. blank line at the end)
2020-01-21 11:45:11 +01:00
Martin Diehl
9b4f773a0b
work around for bug in Intel
2020-01-21 08:43:16 +01:00
Martin Diehl
1a31ff82bb
avoid code duplication
2020-01-21 07:46:32 +01:00
Martin Diehl
a18057ba4d
use central functionality for file IO
2020-01-21 07:37:04 +01:00
Martin Diehl
2e38582824
no need for additional variables
2020-01-21 07:08:02 +01:00
Martin Diehl
47e5b0077a
fixed typo
2020-01-21 06:53:32 +01:00
Martin Diehl
843676fb10
grouping variables for better readability
2020-01-21 06:10:19 +01:00
Martin Diehl
db96ee0fc2
cleaning
2020-01-20 23:46:48 +01:00
Martin Diehl
80ae2f5f6b
no need for public variables
2020-01-20 23:39:24 +01:00
Martin Diehl
4d673866b8
bugfix: copy and paste error
2020-01-20 23:31:51 +01:00
Martin Diehl
b98ecccf73
better readable
2020-01-20 21:06:08 +01:00
Martin Diehl
56ab4f723d
polishing
2020-01-20 20:36:21 +01:00
Franz Roters
701a9b18cc
Merge remote-tracking branch 'remotes/origin/marc-improvements' into development
2020-01-18 12:21:24 +01:00
Martin Diehl
d722c6db4a
clear separation between OO and imperative arguments
2020-01-14 11:52:22 +01:00
Martin Diehl
9d1c1fdb92
enforce Re(q) > 0
2020-01-14 11:33:18 +01:00
Martin Diehl
27bc23c2e1
missing renames
...
wondering how this has passed the syntax check earlier
2020-01-14 07:55:18 +01:00
Martin Diehl
e70c56701f
not needed
2020-01-13 21:09:25 +01:00
Martin Diehl
cad6fc7843
Merge branch 'development' into plasticity-submodule
2020-01-13 20:57:12 +01:00
Martin Diehl
544ff9b6ee
gfortran rejects (Intel seems fine)
...
assume a bug, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93251
2020-01-13 16:11:36 +01:00
Martin Diehl
bd4db68a12
support for non QUAD cell type
2020-01-13 10:03:13 +01:00
Martin Diehl
0cf27a8229
indicate parameters and report vtk type
2020-01-13 10:02:23 +01:00
Martin Diehl
a025edd09f
Merge branch 'MoreImprovements' into PGI-support
2020-01-13 01:44:45 +01:00
Martin Diehl
2d294aba23
need to store cell nodes, not elem nodes
2020-01-12 18:32:20 +01:00
Martin Diehl
ac0fa2fce9
no need for separate allocation
2020-01-12 16:50:36 +01:00
Martin Diehl
eb7bd41acd
no need for special functions
2020-01-12 16:08:38 +01:00
Martin Diehl
fb8494e2b8
write out nodal displacements
...
does not work: Not updated and wrong size
2020-01-12 15:42:08 +01:00
Martin Diehl
9d1543c9cc
functionality was used only once
2020-01-12 01:54:38 +01:00
Martin Diehl
8aa13a55ce
enable handling of connectivity that spreads over multiple lines
...
same code works also for old style tables, probably some flexibility
regarding non-CP elements is lacking ..
2020-01-12 00:58:12 +01:00
Martin Diehl
46cb787934
avoid HDF5 error when creating link twice
2020-01-12 00:55:00 +01:00
Martin Diehl
5bc1c98da7
use 0-based indexing for worldrank
2020-01-12 00:49:03 +01:00
Martin Diehl
ddd8027b8a
autodetect string length
2020-01-12 00:10:42 +01:00
Martin Diehl
3938f34978
Merge branch 'MiscImprovements' into MoreImprovements
2020-01-11 22:37:41 +01:00
Martin Diehl
2d9c25f8e5
Merge branch 'development' into MiscImprovements
2020-01-11 20:34:35 +01:00
Martin Diehl
d4535dadb4
use American english
2020-01-11 20:33:29 +01:00
Martin Diehl
ac112d2d36
tolerance needed for optimized code
2020-01-11 13:55:56 +01:00
Martin Diehl
e762cb4dfd
issue with gfortran < 9
...
the false branch of merge seems to be evaluated which results in a
signaling NaN
2020-01-11 12:36:35 +01:00
Martin Diehl
842666cc20
no overlap with Marc's code
2020-01-11 11:25:50 +01:00
Martin Diehl
3a6819f548
check for invalid operations
2020-01-11 05:19:15 +01:00
Martin Diehl
f028519597
some facts from wikipedia as tests
2020-01-11 04:59:38 +01:00
Martin Diehl
de95ca5906
inverse of a quaternion
2020-01-11 04:15:51 +01:00
Martin Diehl
115716b8c2
polishing/use existing functions
2020-01-11 03:58:12 +01:00
Martin Diehl
c7180c3295
some more tests for quaternion operations
2020-01-11 03:50:17 +01:00
Martin Diehl
aefd401e8c
this is a quaternion class
...
it is meant to represent any quaternion, not only unit
quaternions/rotations that follow a specific convention. Need to check
in rotations.f90 where the homomorph should happen
2020-01-11 03:11:45 +01:00
Martin Diehl
79cafebffe
following https://www.python.org/dev/peps/pep-0257/
2020-01-11 03:08:39 +01:00
Philip Eisenlohr
3a08a8bbe2
always using intrinsic init when assigning quaternions as output variables
2020-01-10 12:16:18 -05:00
Martin Diehl
115a2552f8
4 newer versions are out
2020-01-10 03:19:39 +01:00
Martin Diehl
87c7a5d5a3
polishing
2020-01-10 02:11:19 +01:00
Martin Diehl
8f43f05437
stronger encapsulation
2020-01-10 01:45:00 +01:00
Martin Diehl
0771411cd8
group similar operations
2020-01-10 01:33:03 +01:00
Martin Diehl
7d2012f492
no need to exclude small values
...
no danger of division by zero
2020-01-10 01:29:35 +01:00
Martin Diehl
70e23fea93
polishing
2020-01-10 01:28:32 +01:00
Martin Diehl
bd6f2a6b5c
consistent string length
2020-01-04 19:01:36 +01:00
Martin Diehl
6b6ad52355
use variable string as return (no need for trim)
2020-01-04 18:53:55 +01:00
Martin Diehl
3999c0b630
is not used anymore (and IO_fixedXXXvalue seem to be superfluous)
2020-01-04 17:29:25 +01:00
Martin Diehl
bd5f963260
polishing
2020-01-04 16:54:07 +01:00
Martin Diehl
0898cc2605
PGI has problems with forall in this case
2020-01-04 03:18:51 +01:00
Martin Diehl
d2a9946f83
PGI compiler has problems with norm2 or dEq
2020-01-04 01:54:19 +01:00
Martin Diehl
00e14b9861
PGI does not allow sum in init for parameter
2020-01-04 01:04:20 +01:00
Martin Diehl
e1b35be23a
not used anymore
2020-01-03 15:41:46 +01:00
Martin Diehl
326e3d0824
polishing
2020-01-03 14:02:14 +01:00
Martin Diehl
886e111064
not needed
2020-01-03 13:53:23 +01:00
Martin Diehl
2975e46ca1
not needed
2020-01-03 13:52:06 +01:00
Martin Diehl
4ebd89c040
shape is known (no need for automatic allocation)
2020-01-03 13:47:04 +01:00
Martin Diehl
a6ddbbd70c
cleaning
2020-01-03 12:40:25 +01:00
Martin Diehl
d81dc01ce0
we consider indvidual systems, not families
2020-01-03 12:14:20 +01:00
Martin Diehl
e1168c09b9
use specialized functions
2020-01-02 21:28:34 +01:00
Martin Diehl
c919237998
one loop is enough
2020-01-02 21:02:37 +01:00
Martin Diehl
f633c67fe4
polishing
2020-01-02 20:49:02 +01:00
Martin Diehl
1ad8464821
not needed
...
object-oriented mesh did not work out nicely
2020-01-02 20:38:40 +01:00
Martin Diehl
6a0593bf9e
everything is anyway public
2020-01-02 19:47:48 +01:00
Martin Diehl
e0110c676e
avoid long lines
2020-01-02 18:44:51 +01:00
Martin Diehl
27a6d1d682
private functions do not need a prefix
2020-01-02 15:14:12 +01:00
Martin Diehl
ce08571cd8
documentation was outdated
2020-01-02 13:39:52 +01:00
Martin Diehl
d4d419b713
better readable
2019-12-30 06:48:55 +01:00
Martin Diehl
f9fcaca60b
aliases are just confusing
2019-12-26 15:24:51 +01:00
Martin Diehl
af0a4c5d26
unused
2019-12-26 15:24:37 +01:00
Martin Diehl
be319c5a83
single source of truth
2019-12-25 09:24:42 +01:00
Martin Diehl
0d975e7023
polishing
...
- default string length
- Nslip/Ntwin/Ntrans not stored in state anymore
2019-12-21 12:42:18 +01:00
Martin Diehl
34af10fac1
using default string length
2019-12-21 12:39:54 +01:00
Martin Diehl
127678e2e1
use default string length
2019-12-21 12:28:24 +01:00
Martin Diehl
27483bafbc
non-existing value evaluates to 0 or 1
2019-12-21 11:52:33 +01:00
Martin Diehl
747a340599
unified string length
2019-12-21 11:46:12 +01:00
Martin Diehl
83cf062318
better define only once
2019-12-21 11:19:33 +01:00
Martin Diehl
ac182ef536
less variable, same style
2019-12-21 11:13:05 +01:00
Martin Diehl
6678770c43
public variables not needed anymore
2019-12-21 10:43:36 +01:00
Martin Diehl
7baf4e7f53
cleaning
2019-12-21 10:37:18 +01:00
Martin Diehl
91ad5092f4
preparing removal of old output data
2019-12-21 10:31:19 +01:00
Martin Diehl
4dc5dac831
was only needed for postResults
2019-12-21 10:20:50 +01:00
Martin Diehl
af6973adf6
HDF5 out is always on
2019-12-21 10:13:52 +01:00
Martin Diehl
6425c37f2d
use default string length
...
256 characters are more than enough for string values and keys
2019-12-21 10:07:37 +01:00
Martin Diehl
19a45d9c2b
cleaning of source modules:
...
- offset and instance are only used locally
- output names are needed only temporarly
- HDF5 is always enabled
2019-12-21 07:55:42 +01:00
Martin Diehl
41650cdd11
use standard string length
2019-12-21 07:38:17 +01:00
Martin Diehl
b10e862be8
the compiler can do the counting
2019-12-21 07:34:40 +01:00
Martin Diehl
f0d3b29b82
Merge branch 'development' into MiscImprovements
2019-12-21 06:53:56 +01:00
Martin Diehl
befd4e2adf
avoid imports
2019-12-19 07:49:53 +01:00
Martin Diehl
f0ad075802
fixed indentation
2019-12-19 00:01:44 +01:00
Martin Diehl
98e606d6f0
correct type
2019-12-19 00:00:00 +01:00
Martin Diehl
4b6388fbb2
always use HDF5 output
2019-12-18 20:05:51 +01:00
Martin Diehl
63fc125398
include origin do DADF5
...
requires updat of file version
2019-12-13 09:12:07 +01:00
Martin Diehl
ee56b82c8a
avoid spaces
2019-12-12 23:22:37 +01:00
Martin Diehl
a0a99c526b
some remaining IntOut format strings
2019-12-11 19:28:31 +01:00
Martin Diehl
9e801928b0
Merge branch 'development' into noPostResults
2019-12-11 09:28:45 +01:00
Martin Diehl
9b67ead62f
removed postResults completely
2019-12-11 00:10:02 +01:00
Martin Diehl
8fb8e9be6e
write temperature to DADF5
2019-12-10 20:25:19 +01:00
Martin Diehl
db91803b80
cleaning
2019-12-10 17:52:37 +01:00
Martin Diehl
ac35759c2f
not a module subroutine
2019-12-10 17:25:51 +01:00
Martin Diehl
5681e661e2
DADF5-results replaces postResults
2019-12-10 07:31:09 +01:00
Martin Diehl
4be7aa990c
HDF5 results output for constitutive damage models
2019-12-10 06:45:00 +01:00
Martin Diehl
5abe27ab60
only locally used
2019-12-09 06:24:37 +01:00
Martin Diehl
1c18086402
not needed anymore
2019-12-09 05:58:27 +01:00
Martin Diehl
07ebd8d1b3
only damage/thermal 'homogenization' postResults is currently needed
2019-12-09 05:48:37 +01:00
Martin Diehl
acc252ea5b
thermal/damage constitutive (i.e. source) results are not tested
2019-12-09 05:38:15 +01:00
Martin Diehl
c2e91ae5e1
copy and paste error, wrong array was set
2019-12-08 20:52:05 +01:00
Martin Diehl
b0ce324213
Merge remote-tracking branch 'origin/development' into simple-int-formatting
2019-12-08 20:24:05 +01:00
Martin Diehl
fbe2228ade
avoid string length mismatch
2019-12-07 20:22:55 +01:00
Vitesh
3e269f0419
Merge branch 'only-use-rotation-class' into 'development'
...
Only use rotation class
See merge request damask/DAMASK!110
2019-12-07 17:33:34 +01:00
Martin Diehl
4eacc1d16d
polishing
2019-12-07 15:45:37 +01:00
Martin Diehl
23944de6de
less variables for better readability
2019-12-07 15:20:04 +01:00
Sharan Roongta
5a6111ec69
Merge branch 'incs-no-leading-zero' into 'development'
...
Incs no leading zero
See merge request damask/DAMASK!108
2019-12-07 11:32:37 +01:00
Martin Diehl
7ecb0245ec
simplified (use novel i0 format specifier)
2019-12-07 11:12:46 +01:00
Martin Diehl
137b235bc1
i0 format specifier easier then hand-written IO_intOut
...
using variable pStringLen allows string assignment without length issues
2019-12-07 11:06:39 +01:00
Martin Diehl
04492eeb0a
Merge branch 'almost-no-postResults' into only-use-rotation-class
2019-12-05 19:42:50 +01:00
Martin Diehl
78e96993df
Merge branch 'almost-no-postResults' into only-use-rotation-class
2019-12-05 19:41:32 +01:00
Martin Diehl
f585e1a553
not used
2019-12-05 11:20:05 +01:00
Martin Diehl
ab1f0dc16b
submodules allow inter-module communication
2019-12-04 22:31:15 +01:00
Martin Diehl
7d6a57dc17
Merge branch 'only-use-rotation-class' into plasticity-submodule
2019-12-04 19:02:01 +01:00
Martin Diehl
cb0d39eee6
not needed anymore
2019-12-04 19:00:56 +01:00
Martin Diehl
58a190ede8
Merge branch 'development' into incs-no-leading-zero
2019-12-04 05:19:38 +01:00
Martin Diehl
93da6d3f63
was not used
2019-12-02 23:07:01 +01:00
Martin Diehl
c36a5bdfbb
bugfix: calculation of size of postResults was wrong
2019-12-02 23:06:28 +01:00
Martin Diehl
9882c3532a
avoid use of low-level HDF5 routines
2019-12-02 22:26:08 +01:00
Martin Diehl
4ee2e551b8
migrating to submodules
2019-12-02 22:15:34 +01:00
Martin Diehl
226b715c46
file names reflect hierarchical structure
2019-12-02 21:38:41 +01:00
Martin Diehl
e52a747774
submodules allow inter-module communication
2019-12-02 20:57:18 +01:00
Martin Diehl
f5292019e5
use rotation class
2019-12-02 20:23:50 +01:00
Martin Diehl
8a9d3f8d6d
avoid code duplication
2019-12-02 20:09:27 +01:00
Martin Diehl
83453d10ef
use rotation class for consistent handling of rotations
2019-12-02 16:37:22 +01:00
Martin Diehl
be099e38c2
might be of use
2019-12-02 16:22:27 +01:00
Martin Diehl
8189b50509
same functionality but tested
2019-12-02 12:58:23 +01:00
Martin Diehl
2969a53338
not used/needed anymore
2019-12-02 12:54:45 +01:00
Martin Diehl
f85ee7d7fb
plasticity is postResults-free
2019-12-02 12:39:44 +01:00
Martin Diehl
2b3b26087f
consistent names
2019-12-01 20:07:16 +01:00
Martin Diehl
05aa38cc71
using short names
2019-12-01 15:05:49 +01:00
Martin Diehl
bb152a171a
consistent naming among plasticity laws
2019-12-01 10:32:45 +01:00
Martin Diehl
1cf1da5bcc
consistent naming
2019-12-01 09:35:44 +01:00
Martin Diehl
33c090d2ac
pointers for better readability
2019-12-01 08:55:24 +01:00
Martin Diehl
afad2f2dce
short and consistent naming
2019-12-01 08:39:30 +01:00
Martin Diehl
df4b642400
polishing
2019-12-01 08:33:04 +01:00
Martin Diehl
07fb915a7e
postResults not needed anymore
2019-12-01 08:27:56 +01:00
Martin Diehl
c7d675a1e9
not needed anymore
2019-11-30 16:03:18 +01:00
Martin Diehl
d93fb12e8c
remove extra output
...
current implementation was not very general, no separation of different
dislocation types.
if output is needed, re-implemenation is straight forward
2019-11-30 14:36:54 +01:00
Martin Diehl
8f77843b0f
improved naming
...
- clearer variable names
- no '-' in attributes
- single source of truth
2019-11-30 09:01:37 +01:00
Martin Diehl
dc3fc8f70c
do not clutter with leading zeros
2019-11-29 17:00:48 +01:00
Martin Diehl
530f2d3c08
Merge branch 'no-crystallite' into almost-no-postResults
2019-11-25 21:51:15 +01:00
Martin Diehl
67c8d3899d
crystallite output fully removed
2019-11-25 08:44:44 +01:00
Martin Diehl
127a29ab1a
cleaning
2019-11-24 13:42:19 +01:00
Martin Diehl
97474e05a8
not needed anymore
2019-11-24 11:01:04 +01:00
Martin Diehl
e20477099e
no crystallite output
2019-11-24 09:46:46 +01:00
Martin Diehl
50b48b8bf7
IP neighbourhood deprecated
...
trivial for grid and, hence, not written out.
Test for marc/abaqus/mesh would make more sense
2019-11-24 07:54:34 +01:00
Martin Diehl
a6a6519678
more local data handling
2019-11-24 07:44:17 +01:00
Martin Diehl
bb73a08cf4
better encapsulation
...
for results operations, do not rely directly on HDF5 module
2019-11-24 07:27:05 +01:00
Martin Diehl
1c10459a5a
also use fast operation order
2019-10-30 21:09:17 +01:00
Martin Diehl
ffb112b0d8
Merge branch 'development' into DADF5-improvements
2019-10-30 17:16:54 +01:00
Martin Diehl
368d4debda
calculate average nodal position directly
...
no need to average and have second memory access
2019-10-30 14:49:08 +01:00
Martin Diehl
40507846c9
cell displacement are between nodes which start at (0,0,0)
2019-10-30 14:47:42 +01:00
Martin Diehl
1d2d7d1ea3
remove public variables
...
they make code unreadable and unmaintainable
2019-10-29 23:24:12 +01:00
Martin Diehl
0c6b7e1112
not nice, but working ...
2019-10-29 23:15:02 +01:00
Martin Diehl
402e681cf5
initialization of arrays for fourier transform more reasonable
...
- padding entries in real data array need to be zero
- all values of the fourier data arrays are explicitly set
2019-10-29 16:18:58 +01:00
Martin Diehl
1ae33cf215
avoid one loop and use filtered frequencies
2019-10-29 09:15:35 +01:00
Martin Diehl
f451d19c1e
forall is obsolete
...
some calculation simplified
2019-10-28 21:27:57 +01:00
Martin Diehl
c47f516769
do not correct fluctuations
2019-10-28 21:16:43 +01:00
Martin Diehl
ed8834e371
maybe we can do some guessing for CPFEM ..
2019-10-28 13:38:30 +01:00
Martin Diehl
d1f719d3cf
separation of "age" and "forward" not useful
2019-10-28 13:36:36 +01:00
Martin Diehl
8de6fcfc24
unifying names
2019-10-28 13:29:32 +01:00
Martin Diehl
ab4a98fb53
make use of HDF5 and structure data
2019-10-28 13:17:05 +01:00
Martin Diehl
10f2c53256
clearly distiguish
...
- DAMASK as a materialpoint model (CPFEM, not fitting name)
- solver
2019-10-25 08:30:12 +02:00
Martin Diehl
07d8379313
further untangling
2019-10-25 07:55:23 +02:00
Martin Diehl
cf8b16c066
better have one function per task
...
but separating ageing and forward for the solver is not trivial due to
guessing
2019-10-25 07:31:09 +02:00
Martin Diehl
eb4cad17b5
avoid public variables
2019-10-25 00:53:48 +02:00
Martin Diehl
378729f5c4
clearer structure
2019-10-25 00:42:59 +02:00
Martin Diehl
9db5cbb667
trying to get rid of a global "restartWrite" variable
2019-10-24 22:50:30 +02:00
Martin Diehl
3d44e7598e
works only for MSC.Marc
2019-10-24 13:57:14 +02:00
Martin Diehl
0bc4326618
better have one function per task
2019-10-24 13:46:36 +02:00
Martin Diehl
7c0bb2fdf8
consistent description
2019-10-24 13:37:40 +02:00
Martin Diehl
71def397d5
no need to age before writing restart data
2019-10-24 13:14:40 +02:00
Martin Diehl
176f6028cd
CPFE2 writes current variables (like grid solvers)
2019-10-24 13:06:42 +02:00
Martin Diehl
c1cf64bf00
was not used/tested
2019-10-24 12:15:22 +02:00
Martin Diehl
c0c0831c92
multiple keyword are more confusing then helpful
2019-10-24 06:37:28 +02:00
Martin Diehl
50769b52a5
don't continue if calculation did not converge
2019-10-24 06:32:46 +02:00
Martin Diehl
0483fc7b3f
small functions with one task are better
2019-10-24 06:16:42 +02:00
Martin Diehl
534073358e
arguments are better than public variables
2019-10-23 23:06:47 +02:00
Martin Diehl
67228b46a6
modularize
2019-10-23 22:50:01 +02:00
Martin Diehl
52190382ac
cleaning
2019-10-23 22:42:46 +02:00
Martin Diehl
dfe65e406d
restart for commercial FE solvers untested
...
better no code than unreliable code. If functionality is needed,
implement it without the use of publicly writeable variables
2019-10-23 22:13:31 +02:00
Martin Diehl
8a4a5a8bef
Merge remote-tracking branch 'origin/development' into age-separately-2
2019-10-23 22:05:30 +02:00
Martin Diehl
e1d820bff1
does not support restart
2019-10-23 22:04:50 +02:00
Martin Diehl
60a19c020d
cleaning
2019-10-23 21:17:56 +02:00
Martin Diehl
ac0149e55e
not needed (is initialized to 0)
2019-10-21 11:48:35 +02:00
Martin Diehl
0b4605361b
plotv only needed for postResults
2019-10-20 19:23:50 +02:00
Martin Diehl
872c85112f
bugfix, Lp not available anymore for crystallite
2019-10-20 14:02:12 +02:00
Martin Diehl
b96bd71b09
postResults not needed anymore
2019-10-20 13:24:47 +02:00
Martin Diehl
f93336b072
postResults for isotropic not needed anymore
2019-10-20 13:21:51 +02:00
Martin Diehl
11993a3ad1
phasing out crystallite output
...
some outputs are still needed for a few remaining tests.
2019-10-20 12:03:08 +02:00
Martin Diehl
fe94718bcd
avoid accessing null-pointer
2019-10-20 10:32:14 +02:00
Martin Diehl
65eb4e364f
phasing out postResults
2019-10-19 23:14:17 +02:00
Martin Diehl
603973e963
correct output for multipe integration points
2019-10-19 19:55:00 +02:00
Martin Diehl
3de605d782
better name
2019-10-19 16:06:01 +02:00
Martin Diehl
1253c6abf1
Merge remote-tracking branch 'origin/development' into labeled-systems
2019-10-18 19:31:08 +02:00
Sharan Roongta
2c0264191e
typo!
2019-10-18 17:13:19 +02:00
Martin Diehl
de912c22b4
Merge branch 'development' into HDF5-spectral-displacements
2019-10-18 12:54:12 +02:00
Franz Roters
fea6c268a8
Merge branch 'nonlocal-again-with-Marc' into 'development'
...
Nonlocal again with marc
See merge request damask/DAMASK!99
2019-10-18 11:30:15 +02:00
Franz Roters
7ddb724861
[skip ci] corrected wrongly copied comment
2019-10-18 11:27:37 +02:00
Sharan Roongta
cebbfc906d
Merge branch 'hex-reorder-2ndtry' into development
2019-10-17 14:58:43 +02:00
Martin Diehl
b9027e3257
checking size of unallocated array does not work
2019-10-17 08:40:05 +02:00
Martin Diehl
88df7f2957
store cell normal directions
2019-10-17 07:48:57 +02:00
Martin Diehl
b386dc73b2
enable to non-transposed tensor data
...
usually, we store per data per cell, i.e. len(shape(x)) == 3 means x is
a tensor.
Due to the use of transposed tensors (due to column-major storage order
in Fortran), we usually want to store the transpose of (3x3) tensors.
Now the default can be changed
2019-10-17 07:46:20 +02:00
Martin Diehl
008f717c08
avoid reading from file
2019-10-17 06:10:00 +02:00
Martin Diehl
2b68c108f0
read from memory, not from file
2019-10-17 05:54:08 +02:00
Martin Diehl
f33a99d125
polishing
2019-10-17 00:21:48 +02:00
Martin Diehl
3f481e1cea
corrected volume calculation and write to DADF5.
...
follows https://www.osti.gov/servlets/purl/632793/
2019-10-16 22:00:25 +02:00
Martin Diehl
9b5545229f
leftover comment ...
2019-10-16 21:13:43 +02:00
Martin Diehl
95ecc05cb0
better test ...
2019-10-16 21:13:26 +02:00
Martin Diehl
0ae0e23325
volume calculation was wrong
...
could result in negative volumes
2019-10-16 20:56:31 +02:00
Martin Diehl
dbe15f88f2
bugfix: forgot to read file
...
first draft of nonlocal functions for area normal, area, and volume
2019-10-16 17:19:19 +02:00
Martin Diehl
4e213514bd
cleaning
2019-10-16 13:04:20 +02:00
Martin Diehl
3a1c4f95c3
some polishing
2019-10-16 08:40:27 +02:00
Martin Diehl
3abb549eab
better encapsulation
...
inputRead fully parses the input file and gives back the required data
2019-10-16 04:45:38 +02:00
Martin Diehl
0f77d2efdb
consistent use of subroutines
...
clearly reveal input(out) arguments
2019-10-16 04:22:21 +02:00
Martin Diehl
ffb4b2a455
theMesh is not useful
...
maybe a shared mesh class becomes useful when Abaqus and PETSc mesh
require similar functionality
elem type can be reported directly
2019-10-16 03:57:51 +02:00
Martin Diehl
1d70d9b6ae
mesh type not very beneficial
2019-10-15 21:58:49 +02:00
Martin Diehl
c4db2841ab
further cleaning
2019-10-15 14:16:03 +02:00
Martin Diehl
aab19af131
consistent use of subroutines, not functions.
...
grouping file reading into meta function
2019-10-15 12:54:46 +02:00
Franz Roters
91691744c6
Merge branch 'Marc-No-nonlocal' into 'development'
...
Marc no nonlocal
See merge request damask/DAMASK!98
2019-10-15 10:35:37 +02:00
Martin Diehl
9ee709d214
polishing
2019-10-14 15:09:16 +02:00
Martin Diehl
1726d95a56
wrong macro was defined
2019-10-14 14:39:53 +02:00
Martin Diehl
dcbd7624dd
array order was wrong
2019-10-14 11:25:48 +02:00
Martin Diehl
57af822396
better readable
2019-10-14 10:36:59 +02:00
Martin Diehl
57fef8fa57
consistent naming
2019-10-14 10:08:35 +02:00
Martin Diehl
fae4546cfd
polishing
2019-10-14 09:37:31 +02:00
Martin Diehl
513b1906f6
bugfixes:
...
cell definition was not stored correctly due to wrong indexing
2019-10-14 08:23:21 +02:00
Martin Diehl
c41d8eb257
use new data structure to calculate cell node coordinates
2019-10-13 23:34:03 +02:00
Martin Diehl
2b65c888c4
avoid public variables
2019-10-13 22:16:42 +02:00
Martin Diehl
33e639426a
polishing
2019-10-13 21:45:08 +02:00
Martin Diehl
d03efade06
better calculate nodes later
2019-10-13 21:09:49 +02:00
Martin Diehl
369cae5332
no public variables
2019-10-13 20:52:49 +02:00
Martin Diehl
6456f9891b
avoid public variables
2019-10-13 20:34:20 +02:00
Martin Diehl
c2a8701940
further removal of deprecated stuff
2019-10-13 19:55:25 +02:00
Martin Diehl
4999aa4e14
more cleaning
2019-10-13 19:41:55 +02:00
Martin Diehl
e0cb1a87cd
cleaning
2019-10-13 19:22:57 +02:00
Martin Diehl
e3b16639bf
native integer needs to match
...
otherwise, results are wrong. Therefore, we need to use our own HDF5
library since MSC provides one for 4 byte integers
2019-10-13 18:20:54 +02:00
Martin Diehl
004abc2d4e
cell node definition needs to be stored
2019-10-13 13:28:04 +02:00
Martin Diehl
ed1d06d6f1
make functions independent of file state
2019-10-13 11:53:35 +02:00
Martin Diehl
9ea91b84e8
easier to read and without file access
2019-10-13 11:48:27 +02:00
Martin Diehl
680ed535d7
avoid file operations and line labels
2019-10-13 10:42:34 +02:00
Martin Diehl
d6b6096007
avoid global variables
2019-10-12 22:40:00 +02:00
Martin Diehl
7611513bb8
strange indentation
2019-10-12 22:18:55 +02:00
Martin Diehl
4c9bc326f6
better read file only once
2019-10-12 21:58:26 +02:00
Martin Diehl
e6d25bfdab
almost no shared functionality
2019-10-12 19:24:03 +02:00
Martin Diehl
d8d99f3694
geometry folder needs to be created earlier
2019-10-12 16:39:44 +02:00
Martin Diehl
fabab08936
did not run without HDF5 support
2019-10-12 16:25:59 +02:00
Martin Diehl
8cebf8a10d
needed
2019-10-12 15:50:10 +02:00
Martin Diehl
734e6ef15f
writing initial coordinates to DADF5
2019-10-12 15:03:26 +02:00
Franz Roters
e85e13b380
[skip ci] only corrections to comments made
2019-10-11 15:21:29 +02:00
Martin Diehl
bf35589d66
DOI was pointint to the correction
2019-10-11 12:31:46 +02:00
Martin Diehl
b502300ffc
get labels of slip and twin systems
...
this info is for HDF5 output
2019-10-10 13:11:02 +02:00
Martin Diehl
1d51443607
polishing/unifying names
2019-10-10 12:26:45 +02:00
Martin Diehl
02d7ead3ab
better readable
2019-10-10 12:10:13 +02:00
Martin Diehl
cf0e279d93
labels were not used
...
better use automated labeling of all systems
2019-10-10 10:48:55 +02:00
Martin Diehl
a2a05158f2
not existing anymore
2019-10-09 01:32:19 +02:00
Martin Diehl
df3bb7c559
cleaning
2019-10-08 23:53:16 +02:00
Martin Diehl
90c03d94d1
further separation for clearer structure
2019-10-08 19:08:29 +02:00
Martin Diehl
b647245e39
general polishing
2019-10-08 18:52:34 +02:00
Martin Diehl
7d438d3868
not needed
2019-10-08 17:37:30 +02:00
Martin Diehl
040cd3e35d
no public variables
2019-10-08 17:26:02 +02:00
Martin Diehl
16fd608da6
more reasonable name
2019-10-08 17:12:53 +02:00
Martin Diehl
098f2903ea
not used anymore
2019-10-08 17:04:27 +02:00
Martin Diehl
5e79c360e9
no need for double definition
2019-10-08 10:03:03 +02:00
Martin Diehl
04272f88d5
untangling
...
- avoid public variables
- openMP in initialization hardly useful
- structure of init should reflect tasks:
1) reading
2) discretization
3) nonlocal stuff
2019-10-08 09:30:32 +02:00
Martin Diehl
795939c989
tests for re-ordered systems + new PETSc 3.11
2019-10-07 20:23:17 +02:00
Martin Diehl
2d7293726c
more useful order
2019-10-07 18:04:29 +02:00
Martin Diehl
7f403ad50e
avoid global variables
2019-10-05 20:23:33 +02:00
Martin Diehl
18b8e71f69
polishing
2019-10-05 20:09:01 +02:00
Martin Diehl
1d35699884
ip volume is only needed by plastic nonlocal
2019-10-05 19:46:08 +02:00
Martin Diehl
076aa3f72b
not needed
2019-10-05 17:37:14 +02:00
Martin Diehl
019f0556e6
better have explicit arguments
2019-10-05 17:18:21 +02:00
Martin Diehl
0b29d08109
bump to DADF5 v0.3
...
contains displacements (for grid solver)
2019-10-03 19:02:17 +02:00
Martin Diehl
fd3f8e2cc7
fixed precision even if compiler flag is not set
2019-09-29 15:59:10 -07:00
Martin Diehl
d47dff9dd8
typo
2019-09-29 14:18:21 -07:00
Martin Diehl
ad75ebd973
polishing
2019-09-29 11:26:57 -07:00
Martin Diehl
56c0f30687
tried to send to much data
2019-09-29 10:34:55 -07:00
Martin Diehl
8e5fd7c5e8
nodal discplacements for MPI
...
needs improvement with respect to readability and placement of origin
2019-09-29 10:04:07 -07:00
Martin Diehl
e04b074f3c
easier to read
2019-09-28 18:32:17 -07:00
Martin Diehl
c71374a3f3
do not write nodes shared over several processes
...
- probably useful only for grid solver, FEM have connectivity matrix
anyway
- name could be improved (in fact, the index is the last not-shared
node)
2019-09-28 18:08:15 -07:00
Martin Diehl
3206ee04bc
nodal displacements for grid solver
...
currently for non-MPI only
2019-09-27 20:38:02 -07:00
Martin Diehl
5ba6b6c244
name reflects planned functionality:
...
should update node and cell center coordinates
2019-09-27 15:02:36 -07:00
Martin Diehl
cc54139dae
no need for being compatible
2019-09-27 14:54:02 -07:00
Martin Diehl
fc6b603e3d
names reflect functionality
2019-09-27 14:48:51 -07:00
Martin Diehl
e311c913b8
avoid public variable without write protection
2019-09-27 14:44:28 -07:00
Martin Diehl
13c62b890b
module name should reflect file name
2019-09-27 14:34:34 -07:00
Martin Diehl
032b65fe65
not needed
2019-09-27 14:33:56 -07:00
Martin Diehl
8fd9341e39
not needed
2019-09-27 14:23:19 -07:00
Martin Diehl
114f21e8f7
setter for current nodal coordinates
2019-09-27 14:07:34 -07:00
Martin Diehl
2bb6f74de9
use new data structure
2019-09-27 14:07:03 -07:00
Martin Diehl
2e63affe47
[skip ci] better to read
2019-09-25 12:48:16 -07:00
Martin Diehl
9ebd91312a
avoid size(xxx) of unallocated xxx
2019-09-25 12:21:57 -07:00
Martin Diehl
fc090a1960
[skip ci] indentation only
2019-09-25 12:05:37 -07:00
Martin Diehl
116f43f401
[skip ci] indentation hick-up
2019-09-23 22:15:13 -07:00
Martin Diehl
ffcb7a0a24
aim of the calculation clearer
...
don't know if brackets are honored here
2019-09-23 09:31:14 -07:00
Martin Diehl
da041f43bc
floating point arithmetic refinement
...
Intel 18.4 could not detect 0.0
2019-09-23 09:29:38 -07:00
Martin Diehl
96811f77ca
not used
2019-09-23 06:50:25 -07:00
Martin Diehl
0620eae797
less code
2019-09-23 06:48:39 -07:00
Martin Diehl
611cc9bcae
preprocessor does not allow spaces
2019-09-23 06:48:20 -07:00
Martin Diehl
48e0a7ad97
no floating point comparison for equality
2019-09-23 06:35:02 -07:00
Martin Diehl
b8204015f5
wrong type (math_range returns integers)
2019-09-23 06:29:32 -07:00
Martin Diehl
02fef16b38
used only by MARC/Abaqus
2019-09-23 06:28:10 -07:00
Martin Diehl
78344c01ac
avoid floating point comparison
2019-09-23 05:37:36 -07:00
Martin Diehl
da15ff85f3
tests now operational
2019-09-23 00:11:45 -07:00
Martin Diehl
285dab4451
self consistent solutions
2019-09-22 23:53:56 -07:00
Martin Diehl
bbb2441cc2
preparing more tests
2019-09-22 22:08:19 -07:00
Martin Diehl
0655ef2c90
small precision adjustments required
...
one in a Mio might have degenerated precision...
Also now finally testing core functionality
2019-09-22 21:58:18 -07:00
Martin Diehl
c1398e5fa4
more robust agains overflow + tests
2019-09-22 21:41:00 -07:00
Martin Diehl
40099fd581
typo
2019-09-22 17:46:37 -07:00
Martin Diehl
9fd65b0617
need to relax tolerance for case 3
2019-09-22 16:57:16 -07:00
Martin Diehl
d1566aa5bf
GNU 8 has issues with IEEE_infinite
...
errors occur when running aggressively optimized code. GNU 9.1 seems to
be ok
2019-09-22 16:05:41 -07:00
Martin Diehl
c0210659b6
statUnit was not opened, stat file was written to STDERR
2019-09-22 15:56:37 -07:00
Martin Diehl
26bdcd64b9
this might resolve the occasional MPI restart test failuers
2019-09-22 15:34:05 -07:00
Martin Diehl
4ff292ba70
IEEE infinite causes problems with older GNU
2019-09-22 14:46:27 -07:00
Martin Diehl
171a93ca30
also small negative values cause problems
...
Logic differs from the original formulation now
2019-09-22 14:17:17 -07:00
Martin Diehl
6b5b0fae22
mixed up real and aimag part in quaternion
...
+ some tests
2019-09-22 12:10:39 -07:00
Martin Diehl
25c9bb1cd7
testing some corner cases
2019-09-22 11:29:34 -07:00
Martin Diehl
62174a8978
testing all conversions
...
using norm(Delta q) ensures that the quality of the conversion is
tested, not the numerical properties of any orientation representation.
2019-09-22 11:15:27 -07:00
Martin Diehl
6e5b9ca665
unused variables
2019-09-22 08:54:59 -07:00
Martin Diehl
77011a5dba
this fix restores the previous behavior of dislotwin
...
very strange behavior in plasticity_detect changes for dislotwin. This
fix restores the old behavior with respect to number of iterations.
Using orientation%fromMatrix() results in much more iterations and an
increase in runtime for the test from approx 6 min to 40 min. Results
still match in the end. Also, crystallite_Fp0 differs by approx 1e-15
only between the two methods.
I assume that something is wrong with either dislotwin or the
state/stress integration
2019-09-22 07:46:30 -07:00
Martin Diehl
de632ec85c
better names
2019-09-22 07:22:24 -07:00
Martin Diehl
372536d57e
unit test for rotation class
2019-09-22 06:53:03 -07:00
Martin Diehl
5fa1ecb170
determinant calculations give slightly different results
2019-09-22 06:41:55 -07:00
Martin Diehl
30afaf2a95
bugfic: Blocksize parameter was too small
2019-09-21 23:45:54 -07:00
Martin Diehl
51bd67fa29
findloc is in gfortran 9.1
2019-09-21 23:03:53 -07:00
Martin Diehl
25d91c79af
larger block size seems favorable
2019-09-21 23:03:27 -07:00
Martin Diehl
8b908fb350
some more testing
2019-09-21 21:25:55 -07:00
Martin Diehl
a963f1d2c3
better explicit
2019-09-21 09:16:58 -07:00
Martin Diehl
f5caee8026
issue now clearer
2019-09-21 08:23:56 -07:00
Martin Diehl
7ef4aca170
vectorized
...
there seems to be a conflict in the definition of the projection for
edge and screw.
Nonlocal uses the transpose compared to dislotwin/disloUCLA.
2019-09-21 08:21:39 -07:00
Martin Diehl
8013dec45f
safer
2019-09-21 07:14:45 -07:00
Martin Diehl
7837a6dc01
not used ...
...
... and equivalentStress33 seemed wrong
... and equivalentStrain33 was confusing
2019-09-20 18:45:54 -07:00
Martin Diehl
a17046cfdf
full merger
2019-09-20 18:44:23 -07:00
Martin Diehl
a16af9a7ad
single source of truth
2019-09-20 18:33:12 -07:00
Martin Diehl
97127f9034
following standard: Output first
2019-09-20 18:28:46 -07:00
Martin Diehl
53283d5c01
using newer interface
2019-09-20 18:20:33 -07:00
Martin Diehl
09c1150e3c
more error checking
2019-09-20 18:16:08 -07:00
Martin Diehl
c1d1c83088
better check input data
2019-09-20 17:49:55 -07:00
Martin Diehl
a8b72c3f53
even better to read
2019-09-20 17:42:55 -07:00
Martin Diehl
7fe3e3b406
easier to read
2019-09-20 17:38:57 -07:00
Martin Diehl
44125f3f09
convenience function for symmetric 4th order tensors
...
unfortunately, array size does not qualify to distinguish generics
2019-09-20 17:36:37 -07:00
Martin Diehl
ad83c8541d
same names as in python
2019-09-20 17:18:09 -07:00
Martin Diehl
7e6265b128
make use of consistency checks
2019-09-20 16:52:55 -07:00
Martin Diehl
ef4204da14
Merge branch 'MiscImprovements' of magit1.mpie.de:/damask/DAMASK into MiscImprovements
2019-09-20 16:48:50 -07:00
Martin Diehl
6c0e92d5c1
functionality to rotate 4-tensor
2019-09-20 16:47:44 -07:00
Martin Diehl
4dfb1f6450
next try for MARC 2019
2019-09-21 01:07:04 +02:00
Martin Diehl
93c8aa8f75
bugfix: used uninitialized vector
2019-09-21 00:08:14 +02:00
Martin Diehl
7ff106a1fc
better readable
2019-09-20 08:45:23 -07:00
Martin Diehl
d69d57221d
consistent type handling and stronger encapsulation
...
components of quaternion are private now
qu is an array, not a quaterion (as in the python module). conceptually
cleaner because eu,ax,om, etc. are also plain array
2019-09-20 08:36:16 -07:00
Martin Diehl
0b6620bfb7
Merge branch 'development' into MiscImprovements
...
F***ing commits to development!
2019-09-20 07:40:52 -07:00
Martin Diehl
42fba28fa1
getting rid of conversions with unclear behavior
2019-09-20 07:37:58 -07:00
Martin Diehl
76eaa9855f
correct type (pReal)
2019-09-20 06:57:39 -07:00
Martin Diehl
47fe5b9c15
Merge branch 'MiscImprovements' of magit1.mpie.de:/damask/DAMASK into MiscImprovements
2019-09-20 06:54:23 -07:00
Martin Diehl
052ee10fcb
sanity checks as in python class
2019-09-20 06:53:49 -07:00
Martin Diehl
e8ed25d361
messages were not used anymore
2019-09-20 06:40:21 -07:00
Martin Diehl
23dba41a09
absolutely not needed
...
the solvers report when they are initialized
2019-09-20 05:41:12 -07:00
Martin Diehl
c75609f8f0
Marc 2019 does not work with HDF5
...
Seems that Marc 2019 brings its own HDF5. Basically good news, but
should be resolved in a separate branch
2019-09-20 14:23:06 +02:00
Philip Eisenlohr
31f39fac82
[skip ci] fixed confusion about n in Li tangent: prm%n was meant but forall index n was used!
2019-09-20 08:05:15 -04:00
Martin Diehl
27732b1c0d
better use rotation class functionality
2019-09-19 23:32:19 -07:00
Martin Diehl
a70779965c
some helper functions for further transition
2019-09-19 22:50:30 -07:00
Martin Diehl
01561a2bae
polishing
2019-09-19 22:07:02 -07:00
Martin Diehl
d11f401c67
removed unused variables and correct type casting
...
I don't believe that n is correct here ...
2019-09-19 19:53:00 -07:00
Martin Diehl
792dda866d
rotation class has consistent set of conversions
...
crytallite_oriention0 was essentially a copy of material_EulerAngles
2019-09-19 19:42:28 -07:00
Martin Diehl
a94c104c75
using texture class
2019-09-19 19:14:37 -07:00
Martin Diehl
5d0a67e5dc
texture class replaces manual conversions
2019-09-19 18:25:51 -07:00
Martin Diehl
e48059d6f1
correct name
2019-09-19 16:56:43 -07:00
Martin Diehl
08d2cdcb25
forall is deprecated in Fortran 2018
2019-09-19 14:24:13 -07:00
Martin Diehl
b41d6182a5
safe use of optional argument
2019-09-19 14:20:02 -07:00
Martin Diehl
f6c616c84b
consistent orientation/quaternion handling is in own submodule
2019-09-19 13:59:18 -07:00
Martin Diehl
7fa979f800
removed unused function
...
were based on/used for deprecated orientation handling
2019-09-19 13:51:37 -07:00
Martin Diehl
be0d961954
cleaning
2019-09-19 13:40:03 -07:00
Martin Diehl
e82fdbcdfa
use more appropriate name
2019-09-19 13:39:22 -07:00
Martin Diehl
ddff2cb6e7
newer versions of PGI provide norm2
...
https://www.pgroup.com/resources/docs/19.7/x86/pgi-release-notes/index.htm#what-is-new-197
2019-09-19 13:38:45 -07:00
Martin Diehl
f1d29da056
does not work anymore
...
dump functions were removed from IO, migrate to HDF5 if needed
2019-09-19 13:07:18 -07:00
Martin Diehl
5ab8f55f21
[skip ci] fixed indentation
2019-09-19 12:58:51 -07:00
Martin Diehl
d0579bb674
data layout and names as discussed with Karo and Philip
2019-09-19 12:48:04 -07:00
Martin Diehl
5f1934bacb
adopting indentation
2019-09-19 11:40:59 -07:00
Martin Diehl
34e0dd1c64
polishing
2019-09-19 11:00:41 -07:00
Franz Roters
2aaa5ff8e7
Merge branch 'Dislotwin-climb2' into 'development'
...
Dislotwin climb2
See merge request damask/DAMASK!94
2019-09-19 11:19:05 +02:00
Franz Roters
d6e93367eb
[skip ci] clarified comment
2019-09-19 11:17:23 +02:00
Philip Eisenlohr
b06c5bd686
Merge branch 'even-more-HDF5-postprocessing' into development
2019-09-18 21:14:19 -04:00
Franz Roters
036794e7d3
support for Marc2019
2019-09-17 15:53:49 +02:00
Martin Diehl
462bb07efd
Merge branch 'development' into even-more-HDF5-postprocessing
2019-09-11 16:29:44 -07:00
Martin Diehl
15e796d599
Merge branch 'development' into Dislotwin-climb2
2019-09-11 12:06:29 -07:00
Eureka Pai Kulyadi
ca760f9ca1
added text lines
2019-09-06 15:47:02 -04:00
Eureka Pai Kulyadi
cf37f8d405
added some lines to help while debugging
2019-09-06 15:45:49 -04:00
Eureka Pai Kulyadi
836172028d
modified plastic_isotropic_LiAndItsTangent to behave correctly
2019-09-06 15:44:38 -04:00
Vitesh Shah
fbf82fbca8
Referencing
2019-09-05 09:42:45 +02:00
Martin Diehl
7ce098c75c
small polishing
2019-09-04 14:52:44 -07:00
Martin Diehl
2fc66cff5b
better readable
2019-09-04 14:30:26 -07:00
Martin Diehl
dba49fe387
parameter was not read
...
thanks to Vitesh for reporting
2019-09-04 07:18:41 -07:00
Vitesh Shah
be5e68249f
Conflicts resolved
2019-08-20 14:29:11 +02:00
Vitesh Shah
b854e7ee08
Decision based on possibility of partials
2019-08-20 13:54:51 +02:00
Vitesh Shah
c71b060c48
Improved syntax for binary switches
2019-08-20 10:56:36 +02:00
Martin Diehl
d2affaa414
clearer logic
2019-08-16 14:10:12 -07:00
Martin Diehl
38755cb30d
polishing
2019-08-16 13:56:52 -07:00
Vitesh Shah
50b372d9f1
ClimbSwitch introduced
2019-08-16 15:57:11 +02:00
Vitesh Shah
5dfd13b759
documenting new variables
2019-08-16 15:07:19 +02:00
Vitesh Shah
5a72f513c7
SFE not equal to zero
2019-08-15 13:56:59 +02:00
Vitesh Shah
310d262e9f
nearest neighbour number is 12 for fcc
2019-08-15 13:55:12 +02:00
Vitesh Shah
860ef2f256
Corrected the calculation of sigma_cl
2019-08-01 15:29:32 +02:00
Vitesh Shah
d40e4a3800
SFE at 0K can be negative as well
2019-07-30 10:53:19 +02:00
Vitesh Shah
f786fcd5f1
Better name for climb stress
2019-07-27 11:07:36 +02:00
Martin Diehl
7ccc097406
for testing output of materialpoint results
2019-07-15 17:08:18 -07:00
Martin Diehl
fa6e88970c
avoid empty entries
2019-07-15 13:53:34 -07:00
Martin Diehl
eeb5f45e88
adopted from Viteshs branch
2019-07-05 22:55:08 -07:00
Martin Diehl
4340c558d7
named as in DAMASK paper
2019-07-05 22:26:51 -07:00
Martin Diehl
5ff4664b6d
polishing
2019-06-30 22:09:51 -07:00
Martin Diehl
619c67cc19
fixed array access
2019-06-30 01:29:36 +02:00
Martin Diehl
7ad343c9b6
polishing
2019-06-29 15:06:47 -07:00
Martin Diehl
a04be84719
avoid uninitialized array
2019-06-29 10:26:29 -07:00
Martin Diehl
bf8ac403f1
polishing, Part II
2019-06-29 10:15:17 -07:00
Martin Diehl
c6c1d2ab8d
polishing
2019-06-29 10:01:18 -07:00
Martin Diehl
4b10522bee
catch user inputs that result in division by zero
2019-06-28 17:52:38 -07:00
Martin Diehl
a88baf93b2
avoid division (mod) by zero
2019-06-28 17:09:27 -07:00
Martin Diehl
1d2a7d0917
fixed copy and paste errors
2019-06-28 16:51:03 -07:00
Martin Diehl
b7ac91480a
safe for DEBUG=ON and N_tr=N_tw=0
2019-06-28 16:35:31 -07:00
Martin Diehl
02744406e8
was not used
2019-06-16 02:11:09 +02:00
Martin Diehl
860a6d5d49
copy and paste error
2019-06-15 22:37:31 +02:00
Martin Diehl
43a17a17a2
clearer logic, no outdated comments
2019-06-15 20:49:48 +02:00
Martin Diehl
e30478127d
cleaned
2019-06-15 20:42:16 +02:00
Martin Diehl
2c4f1eb173
adjusting indentation
2019-06-15 20:37:53 +02:00
Martin Diehl
6370dd1a43
white space adjustments
2019-06-15 18:27:38 +02:00
Martin Diehl
f54a6cdc3b
white space adjustments
2019-06-15 16:42:16 +02:00
Martin Diehl
4256f67919
polishing
2019-06-15 16:21:37 +02:00
Martin Diehl
25d02c2f19
most of the functionality is only relevant for commercial FEM
2019-06-15 16:21:04 +02:00
Martin Diehl
0c52262e4a
white space adjustments
2019-06-15 15:44:15 +02:00
Martin Diehl
9f35267470
not needed
2019-06-15 15:43:43 +02:00
Martin Diehl
85e6885ea7
white space adjustments
2019-06-15 15:41:37 +02:00
Martin Diehl
3de3ebdd43
documentation was missing
2019-06-15 15:40:43 +02:00
Martin Diehl
82bb887cdf
white space adjustments
2019-06-15 15:40:22 +02:00
Martin Diehl
856ef15184
moved (back) to a better place
2019-06-15 15:37:13 +02:00
Martin Diehl
57a0d33293
consistent names
2019-06-15 14:33:20 +02:00
Martin Diehl
8c5d0a5591
populateGrains and material_phase not needed
2019-06-15 14:10:45 +02:00
Martin Diehl
937a84231f
material_phase is deprecated
2019-06-15 13:57:24 +02:00
Martin Diehl
72298205a7
Merge branch 'MiscImprovements' of magit1.mpie.de:/damask/DAMASK into MiscImprovements
2019-06-14 17:24:44 +02:00
Martin Diehl
b720d2b2d7
all keys are small letters
2019-06-14 17:24:26 +02:00
Martin Diehl
84b60259bf
apparently not needed
2019-06-14 10:08:04 +02:00
Martin Diehl
3f87a87a4e
wrong counting
...
currently quite ugly, but planned changes for state structure will give
overcome this
2019-06-14 10:05:39 +02:00
Martin Diehl
083fdb13b4
material_phaseAt and material_phaseMemberAt substitute material_phase
2019-06-14 09:37:01 +02:00
Martin Diehl
59cb70198e
phasememberAt not needed anymore
2019-06-14 09:17:05 +02:00
Martin Diehl
9c4f92a01c
substitute phasememberAt with material_phaseMemberAt
...
need to be clear where a global variable is defined
2019-06-14 09:09:16 +02:00
Martin Diehl
7a878cab3a
phaseAt(c,i,e) substituted by material_phaseAt(c,e)
2019-06-14 09:02:28 +02:00
Martin Diehl
7a76740c31
using new names
2019-06-14 08:51:23 +02:00
Martin Diehl
0f531d5dee
clearer name
2019-06-14 08:42:12 +02:00
Martin Diehl
84c69e0f6e
output names follow variable names
2019-06-13 23:23:11 +02:00
Martin Diehl
47e0d83562
taking care of compiler hints
2019-06-13 22:24:51 +02:00
Martin Diehl
47df2b581e
does not exist anymore
2019-06-13 19:09:49 +02:00
Martin Diehl
4651bfdb90
[skip ci] clearer logic
2019-06-13 09:59:37 +02:00
Martin Diehl
c7513b010b
use definition from element
2019-06-13 09:13:03 +02:00
Martin Diehl
17761c1864
better use function arguments
2019-06-13 07:38:19 +02:00
Martin Diehl
42beb5c227
same label everywhere
2019-06-13 07:25:26 +02:00
Martin Diehl
78d604df7d
cleaning
2019-06-13 07:06:01 +02:00
Martin Diehl
e117ffbc0c
cleaning
2019-06-13 00:39:35 +02:00
Martin Diehl
2d52560b6d
unused
2019-06-13 00:05:29 +02:00
Martin Diehl
ee8678d606
better readable
2019-06-13 00:01:38 +02:00
Martin Diehl
b49feea5e9
polishing
2019-06-12 23:31:46 +02:00
Martin Diehl
b1d06eced2
not used
2019-06-12 21:13:21 +02:00
Martin Diehl
0a5dc6d503
HDF5 is not always available
2019-06-12 19:59:17 +02:00
Martin Diehl
8564aa51d1
was missing
2019-06-12 19:57:48 +02:00
Martin Diehl
9a9e99739e
Merge branch 'marc-mesh-simplification' of magit1.mpie.de:/damask/DAMASK into marc-mesh-simplification
2019-06-12 19:56:57 +02:00
Martin Diehl
ac493adc5c
commenting and discussing with Franz
2019-06-12 19:11:29 +02:00
Martin Diehl
ecda57e29a
using rotation class (where possible)
...
differences between backward rotation need to be investigated
2019-06-12 15:58:21 +02:00
Martin Diehl
648f899838
clearer (and possibly faster) logic
2019-06-12 15:58:21 +02:00
Martin Diehl
1b595b4864
initialize from Eulers (common case)
2019-06-12 15:58:21 +02:00
Martin Diehl
04a6054047
no need to transfer data via global variables
2019-06-12 15:58:21 +02:00
Martin Diehl
a6c0f500ff
simplifying
2019-06-12 15:58:21 +02:00
Martin Diehl
ab4026e707
pInt not needed
2019-06-11 16:34:07 +02:00
Martin Diehl
9379d1884e
further cleaning
2019-06-11 16:16:10 +02:00
Martin Diehl
ceecea418e
no frills
2019-06-11 15:36:04 +02:00
Martin Diehl
8956f7f6da
pInt not needed
2019-06-11 14:52:27 +02:00
Martin Diehl
82ab1f5e10
sorted for better readability
2019-06-11 14:29:10 +02:00
Martin Diehl
f2be94ed5f
function better suited for single return value
...
use correct shapes (1D list) for return value
2019-06-11 14:15:10 +02:00
Martin Diehl
b2409d6998
cleaning
2019-06-11 13:34:55 +02:00
Martin Diehl
9dfe71aa06
better readable
2019-06-10 09:42:23 +02:00
Martin Diehl
c8f3808dab
pInt not needed
2019-06-09 16:30:30 +02:00
Martin Diehl
f6379e1f0e
cleaning
2019-06-09 16:27:05 +02:00
Martin Diehl
676c772a98
many variables do not need to be public anymore
2019-06-08 12:02:52 +02:00
Martin Diehl
54cc3786f5
currently not used
...
needs extension to MPI situations to calculate displacement for HDF5 out
2019-06-08 11:16:47 +02:00
Martin Diehl
d6d5f4e66f
polishing
2019-06-08 11:15:01 +02:00
Martin Diehl
aeb57b2fb6
better readable
2019-06-08 10:38:10 +02:00
Martin Diehl
cb3ce1edd3
removing leftovers from populate grains
2019-06-07 13:39:40 +02:00
Martin Diehl
deda700be1
simplified
2019-06-07 12:21:12 +02:00
Martin Diehl
86a720be8c
ensure memory release
2019-06-07 12:19:36 +02:00
Martin Diehl
ca97c3db18
connectivity is not needed
2019-06-07 10:34:02 +02:00
Martin Diehl
33ed1fa06c
further removal of mesh quantities
2019-06-07 10:33:49 +02:00
Martin Diehl
f22fcc7271
further removal of mesh
2019-06-07 10:20:56 +02:00
Martin Diehl
52f036e062
fixed outdated comment
2019-06-07 08:19:24 +02:00
Martin Diehl
4025951dc1
missing use caused compilation error
2019-06-07 08:17:26 +02:00
Martin Diehl
b77ce718cf
mesh_element/theMesh deprecated
2019-06-07 07:49:45 +02:00
Martin Diehl
c7703d7aaf
preprocessor statements need to start at column 0
2019-06-07 07:45:54 +02:00
Martin Diehl
042ff7e491
microstructure is only a property of the discretization
...
will be used only by material.f90 once crystallite is removed
2019-06-07 07:44:34 +02:00
Martin Diehl
ab06fac379
line too long
2019-06-07 07:41:12 +02:00
Martin Diehl
1e368012b5
now providing all quantities required by plastic_nonlocal
2019-06-07 07:38:48 +02:00
Martin Diehl
2a35a78d93
phase out mesh_elem and theMesh
2019-06-07 07:38:48 +02:00
Martin Diehl
d07cdf85de
initialize correctly
2019-06-07 06:07:00 +02:00
Martin Diehl
9aeb1a9da1
PETSc-FEM solver needs to initialize discretization module
2019-06-07 00:20:35 +02:00
Martin Diehl
57547b5aa6
cleaned
2019-06-07 00:04:20 +02:00
Martin Diehl
87bc95e6fb
IPvolume is only needed for nonlocal
2019-06-06 23:17:02 +02:00
Martin Diehl
9ab6147de8
bugfix: wrong number of IPs
2019-06-06 23:00:40 +02:00
Martin Diehl
cfc1dcf04b
mesh_elem and theMesh are deprecated
2019-06-06 22:49:17 +02:00
Martin Diehl
0720da29fb
mesh_element is deprecated
2019-06-06 21:14:37 +02:00
Martin Diehl
f0adcc665c
discretization contains now all information to substitute mesh
...
only plastic_nonlocal needs extra information
2019-06-06 20:54:19 +02:00
Martin Diehl
14da4f8e43
easier to store positions than displacement
2019-06-06 18:28:10 +02:00
Martin Diehl
e4c1102bdb
names consistent with marc connectivity
2019-06-06 14:05:04 +02:00
Martin Diehl
a4cce1bf61
new module "discretization"
...
should replace the part of mesh that is not only needed by
plastic_nonlocal
2019-06-06 13:59:16 +02:00
Martin Diehl
00189554cd
correct style
2019-06-06 13:22:46 +02:00
Martin Diehl
c0964dfd88
disable coordinate update for the moment
2019-06-06 13:13:22 +02:00
Martin Diehl
73d41ffaf7
less global variables
2019-06-06 13:08:10 +02:00
Martin Diehl
9e8bc7d9b1
better names
2019-06-06 11:08:58 +02:00
Martin Diehl
eb8c41b3b5
cleaning
2019-06-06 10:43:08 +02:00
Martin Diehl
2f40f7a727
separating
2019-06-06 08:34:01 +02:00
Martin Diehl
b127dcf44e
separating mesh and nonlocal related geometry
2019-06-06 08:19:29 +02:00
Martin Diehl
a3304db1ce
no clutter
2019-06-06 08:16:36 +02:00
Martin Diehl
402502d6cd
prepare cleaning
2019-06-06 08:16:07 +02:00
Martin Diehl
6a8cea90d5
simpler way to calculate IP neighborhood
2019-06-06 07:37:37 +02:00
Martin Diehl
d13d6549af
polishing
2019-06-05 20:29:14 +02:00
Martin Diehl
4b6ff59e49
make public variables visible
2019-06-05 20:18:19 +02:00
Martin Diehl
3990284b63
sorting face definitions of each cell
2019-06-05 18:57:03 +02:00
Martin Diehl
df7d8b1043
not needed
2019-06-05 18:57:03 +02:00
Martin Diehl
efac905fb2
less module wide variables
2019-06-05 18:57:03 +02:00
Martin Diehl
9b37c62e15
mesh_element is deprecated (meaningless name)
2019-06-05 10:05:59 +02:00
Martin Diehl
64ae894e5e
leaner code
2019-06-05 10:02:55 +02:00
Martin Diehl
4b57722446
initial ideas for simplification of IP neighborhood determination
...
much easier for one type of element
2019-06-05 08:22:34 +02:00
Martin Diehl
3c46296941
cleaning
2019-06-05 00:36:25 +02:00
Martin Diehl
6bd380bcfd
using (partly) the cell new cell node definition
2019-06-04 22:02:54 +02:00
Martin Diehl
d0602513ac
write out and calculate cell and element connectivity
2019-06-04 21:30:51 +02:00
Martin Diehl
04ee252be7
Merge branch 'development' into marc-mesh-simplification
2019-06-04 20:29:01 +02:00
Martin Diehl
96cb2a8fb8
mesh needs HDF5+results for connectivity
2019-06-04 20:22:53 +02:00
Martin Diehl
f51599eda7
easier to read
2019-06-04 19:13:01 +02:00
Martin Diehl
7bfc25ba23
Merge branch 'development' into marc-mesh-simplification
2019-06-04 18:59:17 +02:00
Martin Diehl
951134d13f
not needed
2019-06-04 12:06:16 +02:00
Martin Diehl
d4392dc1bd
one implicit none is enough
2019-05-30 23:58:59 +02:00
Martin Diehl
ce9d6a5077
Merge branch 'development' into grid-mesh-cleanup
2019-05-30 23:52:37 +02:00
Martin Diehl
305c72584f
Merge branch 'development' into test_PETSc_pointer
2019-05-30 17:31:51 +02:00
Martin Diehl
358272eb2e
not needed, better readable without
2019-05-28 12:29:46 +02:00
Martin Diehl
a5c6e4b17c
do not clutter the code with use statements
2019-05-28 12:06:21 +02:00
Martin Diehl
0db4264265
cleaning
2019-05-28 09:28:15 +02:00
Martin Diehl
6283ffa024
Merge branch 'development' into cleaning-pInt-use
2019-05-28 09:19:43 +02:00
Martin Diehl
b35465b591
gamma_slip_ID should be used to write result
2019-05-20 19:08:56 +02:00
Martin Diehl
2d366f8aca
no clue where or when this was used
2019-05-18 23:20:22 +02:00
Martin Diehl
2ccfc9f6da
simpler to use variables directly
2019-05-18 23:10:40 +02:00
Martin Diehl
93827b8809
not needed
2019-05-18 23:03:02 +02:00
Martin Diehl
c4f07a9ad9
need to correct tensor order
2019-05-18 22:03:59 +02:00
Martin Diehl
1de0c7e652
wrong name
2019-05-18 22:03:59 +02:00
Martin Diehl
60c2a5fc06
loop (forall) over integration points wrong
...
this was done for each integration point, but this was not detected for
the forall loop
2019-05-18 22:03:59 +02:00
Martin Diehl
86205f5081
gfortran complaints about repeated dimension attribute
...
we need to decide whether we want to repeat the declaration of the
interface or not
2019-05-18 09:54:16 +02:00
Martin Diehl
34bcd38240
cleanup
2019-05-18 07:43:41 +02:00
Martin Diehl
2258bfb221
RGC as submodule
...
submodules inherit use-associated entities and implicit none/private
statements
2019-05-18 07:23:46 +02:00
Martin Diehl
ed8af98d69
don't clutter with use statements
2019-05-18 06:54:45 +02:00
Martin Diehl
3db32102a3
algorithm to split elements into cells
...
- finds all shared nodes
- needs polishing
2019-05-17 13:22:52 +02:00
Martin Diehl
c6b5d45944
cleaning
2019-05-17 12:43:42 +02:00
Martin Diehl
7ac0013271
more consistent private/public declarations
2019-05-17 05:24:36 +00:00
Martin Diehl
7b620e3ce9
[skip ci] consistent with rest of the module
2019-05-17 06:49:25 +02:00
Martin Diehl
dce4775c17
removal of RGC out led to undefined variable
2019-05-17 06:36:30 +02:00
Martin Diehl
3df9a8d58c
focus on the physics
2019-05-16 23:14:47 +02:00
Martin Diehl
01e3b646c2
don't clutter the code with useless stuff
...
we only need to be more strict about prefixing
functions/subroutines/variables to see in which module they reside
2019-05-16 22:56:48 +02:00
Martin Diehl
028bdcff22
less compiler complaints
2019-05-16 22:24:42 +02:00
Martin Diehl
6df563624d
type needed for postResults
2019-05-16 21:57:20 +02:00
Martin Diehl
f8b335a3a4
loop (forall) over integration points wrong
...
this was done for each integration point, but this was not detected for
the forall loop
2019-05-16 18:24:54 +02:00
Martin Diehl
39a75c2015
phasing out postResults
...
starting with RGC because it is rarely used and removing it here allows
to go ahead with the submodule structure for homogenization
2019-05-16 10:23:23 +02:00
Martin Diehl
789420c9d6
Merge branch 'no-pInt-implicitNone' into 'development'
...
No pInt and implicit none
See merge request damask/DAMASK!81
2019-05-15 21:40:13 +02:00
Franz Roters
d29967d8b2
Merge remote-tracking branch 'remotes/origin/improve-Lp-guessing' into development
2019-05-15 08:10:46 +02:00
Martin Diehl
346c7c4a7f
one implicit none is enough
2019-05-14 23:12:32 +02:00
Martin Diehl
51e19048f7
pInt not needed anymore
2019-05-14 22:52:33 +02:00
Philip Eisenlohr
9249b7f4af
improved column alignment of indices such as (g,i,e)
2019-05-14 19:52:48 +02:00
Philip Eisenlohr
f3d8b960fd
included Li in list of protected quantities for fake cutback
2019-05-14 19:46:25 +02:00
Martin Diehl
0dbc6fb435
usage example
2019-05-14 11:52:28 +02:00
Martin Diehl
4bce087d3d
separating functionality (stub only)
...
- mesh (initialization depends on type of solver) only provides
information about number of elements, IPs and writes out displacements
- new module (will get setter functions for solver specific
initialization) will provide information that is only used by the
nonlocal model
2019-05-14 11:42:00 +02:00
Martin Diehl
3be5c6a5bc
Merge remote-tracking branch 'origin/development' into grid-mesh-cleanup
2019-05-14 11:13:09 +02:00
Martin Diehl
a8b9b5d1c9
homogenizationAt array had wrong shape for MPI (too large)
2019-05-14 08:11:23 +02:00
Vitesh
387c45d0f4
Merge branch 'MiscImprovements' into 'development'
...
Misc improvements
See merge request damask/DAMASK!79
2019-05-14 07:32:57 +02:00
Martin Diehl
8dea95879c
specific for nonlocal, can be calculated during post processing
2019-05-14 07:22:29 +02:00
Martin Diehl
c9f1f8756d
better name/not needed
2019-05-14 06:06:01 +02:00
Martin Diehl
cac472c506
cleaning
...
more complex initialization will be used by FEM solvers only
2019-05-14 00:13:43 +02:00
Martin Diehl
c8794af3bb
better readable
2019-05-13 23:18:02 +02:00
Martin Diehl
fb49acdb97
more explicit
2019-05-13 22:54:18 +02:00
Martin Diehl
4c148f1a07
not needed
2019-05-13 22:15:29 +02:00
Franz Roters
998789528c
Merge branch 'HDF5-out-homog-2' into 'development'
...
Hdf5 out homog 2
See merge request damask/DAMASK!78
2019-05-13 17:34:59 +02:00
Franz Roters
89dbe1ad03
[skip ci] mismatch tensor is dimensionless
2019-05-13 17:33:45 +02:00
Martin Diehl
df01a3ff36
only for internal use
2019-05-13 00:00:14 +02:00
Martin Diehl
344e6ca51a
IP volume is trivial for spectral solver
2019-05-12 23:56:44 +02:00
Martin Diehl
6e96a57781
write all outputs to HDF5
...
not 100% sure about the units
2019-05-12 15:14:29 +02:00
Martin Diehl
7d5f5afe01
further cleaning
2019-05-12 13:11:30 +02:00
Martin Diehl
f0f8be7840
not used
2019-05-12 10:05:40 +02:00
Martin Diehl
8286a289df
try to directly allocate pointers
2019-05-12 09:52:56 +02:00
Martin Diehl
7f0008c4a3
not used at the moment
2019-05-12 09:37:59 +02:00
Martin Diehl
b3f429165d
use cascaded use statements
2019-05-11 12:10:23 +02:00
Martin Diehl
d76a360fa7
use cascaded include (math provides prec)
2019-05-11 11:58:54 +02:00
Martin Diehl
436dae8dd5
cleaning
2019-05-11 11:52:05 +02:00
Martin Diehl
90440b50b7
prec provides IEEE module
2019-05-11 11:19:06 +02:00
Martin Diehl
93ded62e32
better readable
2019-05-10 16:38:47 +02:00
Martin Diehl
6e98dd83fb
was accicently removed
2019-05-10 16:00:53 +02:00
Martin Diehl
70b7cbea7c
does not exist anymore
2019-05-10 15:47:27 +02:00
Martin Diehl
b8c8c4ade6
follow numpy naming convention
2019-05-10 15:19:00 +02:00
Martin Diehl
1cf6cc217d
one implicit none is enough
2019-05-10 15:12:40 +02:00
Martin Diehl
811fc5c30c
don't put implementation details in function name
2019-05-10 15:03:54 +02:00
Martin Diehl
c81a90350c
not needed anymore
2019-05-10 15:00:48 +02:00
Martin Diehl
dc57f6aba0
better use transpose
2019-05-10 14:53:22 +02:00
Martin Diehl
e25b4d6f17
math for quaterion / orientation have own classes
2019-05-10 14:52:01 +02:00
Martin Diehl
ecb520e6f0
Merge branch 'development' into improve-Lp-guessing
2019-05-10 08:12:58 +02:00
Martin Diehl
f3a02a8e6b
simplified
2019-05-09 08:33:12 +02:00
Martin Diehl
72110d509c
one implicit none is enough
2019-05-09 08:30:03 +02:00
Martin Diehl
23cf134d6c
cleaning 2
2019-05-08 22:41:09 +02:00
Martin Diehl
c191336045
cleaning
2019-05-08 22:26:14 +02:00
Martin Diehl
6c02d71019
Merge branch 'development' into MiscImprovements
2019-05-08 22:19:12 +02:00
Vitesh Shah
9b698cbdf5
correct description of subroutines
2019-05-08 17:56:20 +02:00
Vitesh Shah
1060b13c1f
Corrected the comment
2019-05-08 16:50:46 +02:00
Martin Diehl
77856159f0
Merge branch 'development' into No-Populate-Grains-3
2019-05-07 19:59:40 +02:00
Martin Diehl
f3c77cde87
Merge branch 'development' into MiscImprovements
2019-05-06 16:16:39 +02:00
Martin Diehl
39cc9e35ae
Merge branch 'development' into orientation_with_averaging
2019-05-05 22:12:09 +02:00
Martin Diehl
f873d84e5c
enable HDF5 out for non-MPI
2019-05-05 15:40:27 +02:00
Martin Diehl
4a0584fe25
commercial FEM solvers write results to HDF5
2019-05-05 12:06:55 +02:00
Martin Diehl
11eb5a62b8
removed complex population of grains
...
- more explicit material.config
- simulation results do not depend on random number/compiler
- more suitable for phase field simulations with changing constituents
2019-05-04 22:07:10 +02:00
Martin Diehl
8c1f8fbef9
cleaning
2019-05-04 19:26:53 +02:00
Martin Diehl
d5f80c7f6d
Merge branch 'development' into MiscImprovements
2019-05-04 18:16:09 +02:00
Martin Diehl
21a36b5a7d
errors better visible
2019-05-04 17:47:52 +02:00
Martin Diehl
464a2e217e
not needed
2019-05-04 17:18:05 +02:00
Martin Diehl
bf4c5741b9
cleaning
2019-05-04 14:41:00 +02:00
Martin Diehl
ebf01dee4f
store grid/size at geometry group
...
as outlined in the DAMASK results paper
2019-05-03 06:46:22 +02:00
Martin Diehl
a881205561
CLI options not used to control PETSc
2019-05-03 06:21:43 +02:00
Martin Diehl
434813e6e5
use unique IDs among all models
2019-04-30 23:06:16 +02:00
Martin Diehl
2f27c64c39
homogenization output active
2019-04-30 23:05:21 +02:00
Martin Diehl
badfba8c6f
simplify includes
...
following python suggestions to include only once at the top of a module
2019-04-30 22:53:32 +02:00
Martin Diehl
eb7db3acbd
trying to use variables as in the DAMASK paper
2019-04-30 22:47:49 +02:00
Martin Diehl
8a9baf6d78
preparing output of mech_homog to HDF5
2019-04-30 18:45:38 +02:00
Martin Diehl
5a0e408d59
Merge branch 'development' into SolverRestart-in-HDF5
2019-04-30 17:07:45 +02:00
Martin Diehl
4eef54f4d2
Merge branch 'development' into improve-Lp-guessing
2019-04-30 10:43:47 +02:00
Martin Diehl
9703d04a7d
grid/mesh for mesh needs rename
...
keep the old naming/location for the moment consistently for all solvers
2019-04-30 06:31:03 +02:00
Martin Diehl
b8bf329a74
Merge branch 'development' into MiscImprovements
2019-04-30 00:02:35 +02:00
Philip Eisenlohr
d74599d39a
Merge branch 'HDF5-postprocessing' into 'development'
...
Hdf5 postprocessing
See merge request damask/DAMASK!72
2019-04-29 23:24:42 +02:00
Martin Diehl
f628c80542
not supported anymore
2019-04-29 12:17:33 +02:00
Martin Diehl
39e6cedfb4
more direct and readable
2019-04-29 11:15:23 +02:00
Martin Diehl
477478f66c
source code structure reflects build targets
2019-04-29 10:43:49 +02:00
Martin Diehl
b4a21e8d40
fix for older cmake
...
looks ok
2019-04-26 18:07:43 +02:00
Martin Diehl
b63a6c7034
cleaner code that also works with older cmake
2019-04-26 17:39:21 +02:00
Martin Diehl
7104bc9934
allow standard CMAKE way of setting install directory
...
- DAMASK_BIN in config has no effect anymore
2019-04-25 07:08:32 +02:00
Kieran David Nehil-Puleo
d8b310e78b
Changed Guessing Scheme
2019-04-18 11:13:51 -04:00
Martin Diehl
ce1bb589c7
complicated use statements confuse CMake
...
probably we should adopt a similar "use" policy in Fortran as
recommended for Python "import" and have all imports at the beginning
https://www.python.org/dev/peps/pep-0008/
2019-04-18 15:30:54 +02:00
Martin Diehl
7c771647ad
adjustments for easier access to output data
2019-04-18 11:55:50 +02:00
Martin Diehl
fdd5b93e7c
avoid FPE exceptions
2019-04-17 15:19:41 +02:00
Martin Diehl
a6e6db0559
more stable/robust conversions
2019-04-17 12:52:48 +02:00
Martin Diehl
5d23a61fb0
same order as in the python module
...
... and only one "implicit none"
2019-04-16 22:17:56 +02:00
Martin Diehl
ed8270d432
need to read reference stiffness
2019-04-16 14:53:36 +02:00
Martin Diehl
d0a4cbf8d5
one implicit none is enough
2019-04-15 16:41:54 +02:00
Martin Diehl
8f58f1348e
_pInt not needed
2019-04-15 16:19:30 +02:00
Martin Diehl
19dfefc2f4
fixed deadlock in grid_mech_FEM
2019-04-15 16:16:14 +02:00
Martin Diehl
4793f964f8
unified style
2019-04-15 15:53:46 +02:00
Martin Diehl
18f9deef1a
fixed deadlock
2019-04-15 15:27:58 +02:00
Martin Diehl
1e2766cda6
not needed
2019-04-13 15:37:34 +02:00
Martin Diehl
c4784e6673
better readable
2019-04-13 15:34:51 +02:00
Martin Diehl
89679147e8
leaner group structure, centrally handled
2019-04-13 09:47:56 +02:00
Martin Diehl
1036c76ae0
to transpose already when constructing the interaction matrix
2019-04-13 00:46:27 +02:00
Martin Diehl
ffdd3955a3
implicit none is not needed
2019-04-13 00:44:00 +02:00
Martin Diehl
0335207956
complex orientation initialization conflicts with phase field
...
- easier to do as pre processing (python)
- ensures same solution independently of random number
2019-04-13 00:37:51 +02:00
Vitesh Shah
a59c5c30c9
some cleanup
2019-04-11 18:48:28 +02:00
Vitesh Shah
057bee92af
adding C_ref to HDF5 file doesnt work
2019-04-11 18:43:20 +02:00
Vitesh Shah
a5b3fa565f
Some incorrect variable names fixed
2019-04-11 18:36:28 +02:00
Vitesh Shah
8609c959df
grid_mech_polarisation works
2019-04-11 15:51:34 +02:00
Martin Diehl
12efa108d6
store grid and size
...
store it temporarly at "mappings", later on they will be attached to the
(no yet existing) coordinates
2019-04-11 15:44:34 +02:00
Martin Diehl
3c8d96c54c
enable more complex attributes
2019-04-11 15:44:08 +02:00
Martin Diehl
8e295cbadf
no need to create type for native data types
2019-04-11 12:48:39 +02:00
Martin Diehl
52555d8c3c
key words don't contain small letters
...
moved more variables from numerics to crystallite
2019-04-11 11:27:03 +02:00
Martin Diehl
8f7239b75d
repetition not needed
...
- implicit none at the beginning of the module is enough
2019-04-11 07:35:58 +02:00
Martin Diehl
67eb39255a
keep connected data together
...
- avoids dependencies
- easier to read and modify
2019-04-11 07:24:04 +02:00
Martin Diehl
8d90cfb600
unused variables
2019-04-11 06:46:31 +02:00
Franz Roters
da034f971c
Merge branch 'HDF5-out-3' into 'development'
...
Hdf5 out 3
See merge request damask/DAMASK!70
2019-04-10 20:39:37 +02:00
Vitesh Shah
1852f580ad
grid_mech_FEM works
2019-04-10 18:19:10 +02:00
Martin Diehl
5989075009
working for grid_mech_spectral_basic
2019-04-10 13:23:57 +02:00
Martin Diehl
c2cb8e2033
HDF5/results need rotation
2019-04-07 17:46:35 +02:00
Martin Diehl
c3925b3497
small polishing
2019-04-07 14:47:21 +02:00
Martin Diehl
0b70f01e04
polishing
2019-04-07 14:28:08 +02:00
Martin Diehl
2fa8691335
prefix is added centrally already
2019-04-07 14:26:01 +02:00
Martin Diehl
7d0ebc4ded
implicit none only needed once per module
2019-04-07 14:24:46 +02:00
Martin Diehl
b2e293057a
write rotation to results file
2019-04-07 14:02:24 +02:00
Martin Diehl
d6d3f7aad7
write rotation as quaternion to HDF5 in named type
2019-04-07 13:26:23 +02:00
Martin Diehl
0b2c6c69c2
number ID as prefix to section names
...
enables unique and consistent section names for output
2019-04-07 13:20:44 +02:00
Martin Diehl
5075e1c2fb
constituent (ex crystallite) results are stored in HDF5
...
currently, not the best code but new structure for crystallite data will
fix that
output of orientations still missing
2019-04-06 12:08:25 +02:00
Martin Diehl
1aed224c3b
numerically more stable
...
avoids division by zero
2019-04-06 12:08:25 +02:00
Martin Diehl
bfb6ad557f
WIP: crystallite HDF5 results
...
will be stored according to the phase sections
2019-04-06 12:08:25 +02:00
Martin Diehl
7af3e70061
no pInt
2019-04-06 12:08:25 +02:00
Martin Diehl
ab5a29b559
explicit import
...
for some reasons, ifort does not resolve the specific subroutine for the
writeDataset interace otherwise
2019-04-06 08:01:10 +00:00
Martin Diehl
6553fe815e
proper indentation
2019-04-06 07:56:47 +00:00
Martin Diehl
b52d5ab20b
some more outputs
...
mainly done by Vitesh, copied it from other branch
2019-04-05 22:23:02 +02:00
Martin Diehl
ccaea6b9d9
Merge branch 'development' into HDF5-out-3
2019-04-05 21:50:19 +02:00
Martin Diehl
72b30729bb
submodule for homogenization
...
first draft, RGC not included because of name clash with isostrain
2019-04-05 21:46:00 +02:00
Martin Diehl
489a24afd8
consistent names
2019-04-05 20:58:56 +02:00
Martin Diehl
148440c16e
consistent indentation
2019-04-05 20:51:57 +02:00
Martin Diehl
4aa52fa83f
no pInt
2019-04-05 20:45:56 +02:00
Martin Diehl
adebbcf5df
preprocessor statements confuse cmake
2019-04-05 20:14:01 +02:00
Martin Diehl
7c30be47b0
mapping for materialpoint/homogenization
...
HDF5 file writing active for MSC.Marc/Abaqus (optional)
2019-04-05 16:53:41 +02:00
Martin Diehl
049cd96bbf
introduced constituent mapping
...
this mapping will be used to find for a given location in the mesh the
constituent (phase/crystallite) results
2019-04-05 14:02:24 +02:00
Martin Diehl
63e6d60949
[skip sc] wip: implementing mapping for HDF5
2019-04-04 16:33:12 +02:00
Martin Diehl
953acf9c71
introducing new mappings
2019-04-04 13:25:29 +02:00
Martin Diehl
280a11c4bc
avoid checking of unitialized variables
2019-04-04 11:49:23 +02:00
Martin Diehl
bc4b79a3a2
writing results out
...
credits to Vitesh
2019-04-04 10:04:44 +02:00
Martin Diehl
811883df28
avoid error for empty datasets
2019-04-04 10:03:52 +02:00
Martin Diehl
658befa1a1
no pInt and some renames
2019-04-04 09:12:57 +02:00
Martin Diehl
4cac2448d4
writing more results out
2019-04-04 07:52:36 +02:00
Martin Diehl
d0b1db1966
use consistent pre processor macro
2019-04-04 07:42:59 +02:00
Martin Diehl
19b1bc5e76
consistent use of keyword
2019-04-03 21:43:00 +00:00
Martin Diehl
5f462729c7
was .or., i.e. should be max not min
2019-04-03 21:42:30 +00:00
Martin Diehl
43bf51da67
copy and paste error in installation target of FEM
2019-04-03 20:23:46 +02:00
Martin Diehl
f4c507942a
let cmake do the work
2019-04-03 18:38:46 +02:00
Martin Diehl
bdaa703d37
forall is deprecated, do concurrent not yet established
2019-04-03 18:26:43 +02:00
Martin Diehl
b0f9444175
correct types (PGI complained)
2019-04-03 16:25:58 +00:00
Martin Diehl
453eb538f7
preparing for PGI compiler
2019-04-03 16:24:15 +00:00
Martin Diehl
43ead134d2
using correct comparison
...
-MIN is the minimum version that works
-MAX is the maximum version that works
2019-04-03 14:49:16 +02:00
Martin Diehl
9759d3d041
forall is deprecated
...
- performance-wise, there should be no difference for the small loops we
have
- still, the on-liner syntax was much nicer
2019-04-03 13:25:01 +02:00
Martin Diehl
4724e42b7f
fixed indentation
2019-04-03 13:11:18 +02:00
Martin Diehl
3887d5631a
handling of PGI compiler was to cumbersome
2019-04-03 13:04:03 +02:00
Martin Diehl
e33807aab3
fixed indentation
2019-04-03 12:54:07 +02:00
Martin Diehl
1d31c5c2db
pInt not needed
2019-04-03 12:32:30 +02:00
Martin Diehl
48633d887b
allow to specify min and max of PETSc separately
2019-04-03 11:53:59 +02:00
Martin Diehl
3a8f48a0f8
easier to adjust to new versions
2019-04-03 08:25:42 +02:00
Martin Diehl
4604e65a42
use matmul instead of hand-written functions
...
- performance is the same
- leaner code
- matmul works (was buggy a few years ago)
2019-04-03 08:22:04 +02:00
Martin Diehl
bcaadac79a
simplification in agreeemnt with the paper
2019-04-02 15:39:55 +02:00
Martin Diehl
a5827c5ef3
using suitable defaults for damage
2019-03-29 14:26:32 +01:00
Martin Diehl
be421f0cf5
use FFTW default flag and constants from include file
2019-03-29 08:48:32 +01:00
Martin Diehl
019d241c67
keyword "spectralsolver" is currently used in the tests
...
should become grid_mech soon
2019-03-29 08:45:25 +01:00
Martin Diehl
8aee3d7f54
use list from separate module
2019-03-29 08:34:44 +01:00
Martin Diehl
5ffe78ff1f
bugfix: strain rate was missing
...
dot_gamma is per definition positive, abs only confuses the reader
2019-03-28 09:47:03 +01:00
Martin Diehl
32c03d0b9b
keyword has not changed (yet)
2019-03-28 09:20:24 +01:00
Martin Diehl
9f2559baf5
allow defaultVal string of variable length
2019-03-28 07:04:48 +01:00
Martin Diehl
4470ecfe4a
better have a separate module
2019-03-28 06:52:17 +01:00
Martin Diehl
6996eb36c0
more renames
2019-03-28 06:39:07 +01:00
Martin Diehl
daab9263d3
using names from DAMASK paper
2019-03-27 23:09:45 +01:00
Martin Diehl
3700bacccc
consistent indentation
2019-03-27 22:42:02 +01:00
Martin Diehl
464375a54e
pInt does not add any value
2019-03-27 22:12:31 +01:00
Martin Diehl
454898a235
Merge branch 'development' into MiscImprovements
2019-03-27 19:52:56 +01:00
Franz Roters
1e20e94792
Merge remote-tracking branch 'remotes/origin/Grid-FEM-2' into development
2019-03-27 16:57:20 +01:00
Martin Diehl
1f41549a2c
avoid explicit loops
2019-03-27 12:37:48 +01:00
Martin Diehl
6070c0c2b1
f***ing windows always sets executable bit
2019-03-26 21:44:58 +01:00
Martin Diehl
1ff55b6374
not supported by ancient compiler needed for Abaqus
2019-03-26 21:44:25 +01:00
Martin Diehl
bff03063e2
simpler logic
2019-03-26 21:44:25 +01:00
Martin Diehl
ce2cb16921
better define variables close to their usage
2019-03-26 07:36:55 +01:00
Martin Diehl
49ff1454a9
no need for explicit loops
2019-03-26 06:47:17 +01:00
Martin Diehl
1869f2cdcd
string length handling in-line with other functions
2019-03-26 06:27:13 +01:00
Martin Diehl
2feb79833c
better use functions than global variables
...
need to design a test before full migration
2019-03-25 21:54:08 +01:00
Martin Diehl
17455d1dc6
syntax polishing
2019-03-25 19:17:10 +01:00
Martin Diehl
27da4b2b7a
pInt not needed
2019-03-25 18:28:07 +01:00
Martin Diehl
761dcb0358
no need for explicit loop
2019-03-25 18:04:53 +01:00
Martin Diehl
df32759825
Merge remote-tracking branch 'origin/development' into MiscImprovements
2019-03-25 16:35:32 +01:00
Martin Diehl
0503a80943
avoid the use of global variables
...
better to define variables where they are used
2019-03-25 15:54:51 +01:00
Martin Diehl
12723d7247
running test (hopefully)
2019-03-25 13:10:56 +01:00
Martin Diehl
010fd0b862
using config_numerics instead of global values
2019-03-25 09:36:59 +01:00
Franz Roters
af611d7ca4
Merge branch 'Dislotwin-Names-as-in-paper' into 'development'
...
Dislotwin names as in paper
See merge request damask/DAMASK!66
2019-03-25 09:16:36 +01:00
Martin Diehl
29fff6b158
fixed reporting and restart
2019-03-25 08:09:09 +01:00
Martin Diehl
19af34e054
cleaned
...
- no Pint
- consistent indentation
2019-03-24 12:07:51 +01:00
Martin Diehl
293f869fe5
improved signal handling
...
- possibility to catch SIGTERM
- functions to set SIG(TERM/USR1/USR2) explicitly
2019-03-24 11:59:00 +01:00
Martin Diehl
728dac5a48
separate module for linked list
2019-03-24 11:40:05 +01:00
Martin Diehl
dada4e69b6
consistent use of 2 blanks, no pInt
2019-03-24 11:28:20 +01:00
Martin Diehl
320f39925a
modernized
...
- no pInt
- consistent indentation by 2 spaces
- no leftovers from old file parsing
2019-03-24 11:18:59 +01:00
Martin Diehl
0f2013e78a
modernized
...
- no pInt
- consistent 2-blank indentation
- use of parameter structure
2019-03-24 11:01:27 +01:00
Martin Diehl
c1d4b64b13
better use intrinsic F2003 features
2019-03-24 10:48:46 +01:00
Martin Diehl
2e164a1ddd
need to write out these tensors for restart
2019-03-24 09:51:47 +01:00
Martin Diehl
0fecac4f2a
load case rotation works for polarisation solver
2019-03-23 16:47:26 +01:00
Martin Diehl
a06be13d49
following structure of mech_spectral_basic
2019-03-23 15:39:28 +01:00
Martin Diehl
7ccb5c1fa3
enables load case rotation feature
2019-03-23 14:25:05 +01:00
Martin Diehl
5a3689770a
restart for grid mech FEM now working
2019-03-23 10:46:56 +01:00
Martin Diehl
d55a7da592
renaming "spectral" to "grid"
2019-03-23 09:27:58 +01:00
Martin Diehl
593fa24bad
remove global variables
2019-03-23 06:53:29 +01:00
Martin Diehl
798c5bb633
initial takeover from older branches
2019-03-23 06:21:18 +01:00
Martin Diehl
72476ae796
internal (private) functions at the end of the module
2019-03-22 16:02:00 +01:00
Franz Roters
b8117d4057
LpAndItsTangent called kinetics_twip a second time instead of kinetic_trans
2019-03-22 15:31:29 +01:00
Martin Diehl
5050f21a6e
[skip ci] more renames for consistency
2019-03-22 12:28:53 +01:00
Martin Diehl
6966e68403
more renames (following DAMASK paper)
2019-03-22 11:40:52 +01:00
Martin Diehl
f50e6fe5ad
[skip ci] adjusting to disloUCLA
2019-03-22 11:32:55 +01:00
Martin Diehl
450a0565d3
internal variable names also adjusted
2019-03-22 11:06:08 +01:00
Martin Diehl
bd6b7e1854
correct signs (same behavior, but full math)
2019-03-22 10:58:54 +01:00
Martin Diehl
c9c9079076
fixed indentation
2019-03-22 10:55:17 +01:00
Martin Diehl
fa96042320
correct names for shear rates
2019-03-22 10:49:24 +01:00
Martin Diehl
f12b66b409
wrong keyword
2019-03-22 09:26:39 +01:00
Martin Diehl
28caf5ed4d
final rename (for the moment)
2019-03-22 06:57:32 +01:00
Martin Diehl
5dc5a25ab3
simplified dotState
2019-03-22 06:48:38 +01:00
Martin Diehl
ad563b99a8
Merge branch 'development' into DisloUCLA-Names-as-in-paper
2019-03-21 08:12:36 +01:00
Martin Diehl
17f955d3e8
still renaming
2019-03-21 08:07:09 +01:00
Martin Diehl
25f2d78656
final renames (for the moment)
2019-03-21 00:15:10 +01:00
Martin Diehl
9936b382fd
more renames
2019-03-20 21:51:52 +01:00
Martin Diehl
97f6566d98
more renames
2019-03-20 16:52:43 +01:00
Martin Diehl
facef25f8e
renaming to fit paper and/or disloUCLA
2019-03-20 09:46:49 +01:00
Martin Diehl
349acce9f2
more renames to follow dislotwin and/or paper
2019-03-20 09:38:38 +01:00
Martin Diehl
5f53147e96
wrong assignmen (scalar to vector)
2019-03-19 14:56:36 +01:00
Martin Diehl
8a07ff4617
fixed copy and paste errors
2019-03-19 14:17:06 +01:00
Martin Diehl
98d25ae48a
more name adjustments
2019-03-19 07:00:03 +01:00
Martin Diehl
1b53040f5e
intermediate results should not be stored
2019-03-19 06:52:06 +01:00
Martin Diehl
d22f41eeaa
better readable
2019-03-19 06:25:21 +01:00
Martin Diehl
d9e497bdd8
prefactors were not used/not mentioned in the paper
2019-03-19 06:21:40 +01:00
Martin Diehl
a12417a091
as in dislotwin
2019-03-19 05:46:47 +01:00
Martin Diehl
fc997554ba
Simplified tangent calculation, thx to Karo
2019-03-18 23:11:28 +01:00
Martin Diehl
f9e47a94aa
no pInt
2019-03-18 22:57:23 +01:00
Martin Diehl
fbc607e14d
no pInt
2019-03-18 22:53:24 +01:00
Martin Diehl
7d40d13b4c
simplifying
2019-03-18 22:44:54 +01:00
Martin Diehl
5f85a65fe6
shorter name, inline with the paper
2019-03-18 22:37:32 +01:00
Martin Diehl
3eb7f868bf
pInt not needed
2019-03-18 22:17:11 +01:00
Martin Diehl
76dee8cb81
renaming according to paper
2019-03-18 22:08:41 +01:00
Martin Diehl
66aa9399a7
don'r rely on halton sequence
...
not really trustworthy as we saw some pattern for higher dimensional
data
2019-03-17 18:06:41 +01:00
Martin Diehl
6d268b7b37
some polishing
2019-03-17 17:59:01 +01:00
Martin Diehl
dac4f5cd22
syntax polishing
2019-03-17 17:02:08 +01:00
Martin Diehl
5f41d6d9b4
no pInt
2019-03-17 13:35:41 +01:00
Martin Diehl
d7739fa8f8
no derived quantities in postResults
...
preparing for HDF5 out
2019-03-17 13:29:58 +01:00
Martin Diehl
52b54ddf23
direct access to state variable
2019-03-17 12:36:15 +01:00
Martin Diehl
fa513778c0
array access was wrong
...
now using the rectified dislocation density from "getRho". This results
in a slightly more conservative sensitivity check
2019-03-17 11:51:26 +01:00
Martin Diehl
730e7d96c0
better readable
2019-03-16 21:58:30 +01:00
Martin Diehl
8f89827573
improved readability
2019-03-16 19:09:22 +01:00
Martin Diehl
f079e6f9c0
simpler logic for shortrange stress correction
2019-03-16 16:29:16 +01:00
Martin Diehl
117f4b9625
more functions relying on getRho
2019-03-16 15:46:39 +01:00
Martin Diehl
5da017e79f
using new funtionality to get rho
2019-03-16 15:08:50 +01:00
Martin Diehl
eb2646ca9c
improving readability
...
- arrays to access specific dislocation types
- function to access and clean rho
2019-03-16 13:13:48 +01:00
Martin Diehl
510c0da02c
more systematic names
2019-03-16 08:55:25 +01:00
Martin Diehl
a4d7ce48b3
Decided on one DAMASK logo
2019-03-13 22:23:09 +01:00
Martin Diehl
cba02d91b9
no need to import pInt
2019-03-13 07:00:20 +01:00
Martin Diehl
c7f33f4696
no pInt
2019-03-13 06:46:59 +01:00
Martin Diehl
81cfa31b31
[skip ci] with DAMASK ASCII art
2019-03-13 06:16:31 +01:00
Martin Diehl
fb6a6e9db5
[skip ci] corrected year
2019-03-12 22:56:09 +01:00
Martin Diehl
7d23b77ad0
Merge branch 'development' into MiscImprovements
2019-03-12 22:37:53 +01:00
Martin Diehl
7cb2203a38
pInt not needed anymore
2019-03-12 22:29:03 +01:00
Martin Diehl
40fda62efc
parsing material.config and debug.config
2019-03-12 22:27:45 +01:00
Martin Diehl
62694eddf8
clearer structure
2019-03-12 21:48:33 +01:00
Martin Diehl
9a38951725
finished renaming: spectral -> grid
2019-03-12 18:56:28 +01:00
Martin Diehl
fdc8a848a5
no pInt + same indentation everywhere
2019-03-12 11:36:18 +01:00
Martin Diehl
818338ca93
new label needs new tests, will be done later
2019-03-12 11:17:15 +01:00
Martin Diehl
1ece0a1dfd
better readable
2019-03-12 09:36:54 +01:00
Martin Diehl
1df8b22e23
clearer names
2019-03-12 09:28:06 +01:00
Martin Diehl
2353545779
using new names
2019-03-12 06:06:59 +01:00
Martin Diehl
c57bfd34e9
no need for long names
2019-03-12 05:53:12 +01:00
Martin Diehl
6495276b81
bugfix: rename from "solution" to "solution_vec" was incomplete
2019-03-12 05:52:13 +01:00
Martin Diehl
643ed89447
not needed anymore
2019-03-12 00:07:44 +01:00
Martin Diehl
2505c02c75
bugfix
2019-03-11 23:55:04 +01:00
Martin Diehl
94cf563141
new name
2019-03-11 23:51:04 +01:00
Martin Diehl
011af1f686
adjusting names
2019-03-11 23:37:06 +01:00
Martin Diehl
23043da98c
more sensible names
2019-03-11 23:10:40 +01:00
Martin Diehl
6a82a0a33e
proper indentation
2019-03-11 23:04:00 +01:00
Martin Diehl
1fb1032127
no pInt
2019-03-11 22:58:11 +01:00
Martin Diehl
18fe8c34ee
fortran fast storage of interaction matrices
2019-03-11 22:41:59 +01:00
Martin Diehl
0cdcc4de11
no pInt any more
2019-03-11 17:35:08 +01:00
Martin Diehl
f203add899
not needed
2019-03-10 12:58:07 +01:00
Martin Diehl
340617ab65
unifying notation
2019-03-10 12:05:52 +01:00
Martin Diehl
550b6510a5
better name
2019-03-10 12:05:52 +01:00
Martin Diehl
c8f426a875
use variables from mesh object
2019-03-10 12:05:52 +01:00
Martin Diehl
927f947c2a
better readable
2019-03-10 10:05:47 +01:00
Martin Diehl
8661d6e82f
PGI complaines, forall is deprecated anyway
2019-03-10 10:05:47 +01:00
Martin Diehl
11662033c3
seems to cause problems with PGI as well
2019-03-10 10:05:47 +01:00
Martin Diehl
60f4f9f39c
norm2 for PGI
2019-03-10 10:05:47 +01:00
Martin Diehl
05b4dd1973
correct type casting
2019-03-10 10:05:47 +01:00
Martin Diehl
714c9b1ecb
PGI does not no "do concurrent" (yet)
2019-03-10 10:05:47 +01:00
Martin Diehl
388e661433
use explicitly pReal
2019-03-10 10:05:47 +01:00
Martin Diehl
0118fefe6e
wrong type
2019-03-10 10:05:47 +01:00
Martin Diehl
96c4599dc7
norm2 is (yet) not available in PGI
2019-03-10 10:05:47 +01:00
Martin Diehl
34660599a1
dummy HDF5 output for all plasticity laws
2019-03-09 20:43:31 +01:00
Martin Diehl
7643d66654
bugfix, avoid error
2019-03-09 16:22:57 +00:00
Martin Diehl
55d55a156b
following numpy syntax
2019-03-09 16:19:56 +00:00
Martin Diehl
121bafd989
required for HDF5 output
2019-03-09 15:55:25 +00:00
Martin Diehl
22a3596561
simplified, trying to get rid of all public variables
2019-03-09 15:12:59 +01:00
Martin Diehl
c74f453486
public variables not needed anymore
2019-03-09 15:12:59 +01:00
Martin Diehl
1bf31598c5
avoid usage of lattice variables
2019-03-09 15:12:59 +01:00
Martin Diehl
eba763cf38
not needed anymore
2019-03-09 15:12:59 +01:00
Martin Diehl
f0d03a41ba
fracture modes are calculated differently
2019-03-09 15:12:59 +01:00
Martin Diehl
7bfd7a42ea
empty file needs special case for Ifort
2019-03-09 13:43:56 +01:00
Martin Diehl
383e1befd5
polishing and extending citations
2019-03-09 11:11:40 +01:00
Martin Diehl
1ba27cf62d
same reporting style, more error checks
2019-03-09 11:11:40 +01:00
Martin Diehl
6f3771f6c4
Allreduce better suited than Bcast
2019-03-09 11:11:40 +01:00
Martin Diehl
66e6a6ec68
cleaning
2019-03-09 11:11:40 +01:00
Martin Diehl
0d08659b2a
general cleaning
2019-03-09 11:11:40 +01:00
Martin Diehl
2394880741
Tstar renamed to S (following the DAMASK paper)
2019-03-09 11:11:40 +01:00
Martin Diehl
02c7b1056a
use central functionality
...
IO function reads numerics.config and debug.config
2019-03-09 11:11:40 +01:00
Martin Diehl
ae5ea87ab1
cleaning
2019-03-09 11:11:40 +01:00
Martin Diehl
2621689843
correct initialization
2019-03-09 08:01:20 +01:00
Martin Diehl
af707c671c
improved IO functionality
...
- naming for file opening follows python
- damage modules do not read from file any more
2019-03-08 23:16:56 +01:00
Martin Diehl
48cfc35996
polishing
2019-03-08 23:16:35 +01:00
Martin Diehl
09a7427193
temporarly disabled restart
2019-03-08 23:16:08 +01:00
Martin Diehl
363a95d5b7
not needed
2019-03-08 19:07:19 +01:00
Martin Diehl
67dcb6d2d6
not needed
2019-03-08 19:07:19 +01:00
Martin Diehl
622372bd64
where within forall does not work with PGI
2019-03-08 19:07:19 +01:00
Martin Diehl
0f6bf38299
unused functionality
2019-03-08 19:07:19 +01:00
Martin Diehl
ce0e84f418
was not used anymore
2019-03-08 19:07:19 +01:00
Martin Diehl
de330517eb
rank not supported by older compiler/older dialects
2019-03-08 07:42:13 +01:00
Martin Diehl
3b1328163c
cleaned
2019-03-07 23:19:39 +01:00
Martin Diehl
de6fd605ee
is not used anywhere else
2019-03-07 22:47:45 +01:00
Martin Diehl
a4cdbab7cf
not needed
2019-03-07 22:44:33 +01:00
Martin Diehl
4a636dbd99
not used at all
2019-03-07 22:41:07 +01:00
Martin Diehl
8224797e75
simplified
2019-03-07 22:31:54 +01:00
Martin Diehl
f0eeb3d9b4
using naming convention of numpy
2019-03-07 22:22:49 +01:00