Commit Graph

188 Commits

Author SHA1 Message Date
Martin Diehl a1f36b14d3 simplifying
still trying to figure out how to best use HDF5 for reference stiffness
2020-03-09 14:05:49 +01:00
Martin Diehl 2bc36121b2 less public variables, clearer names 2020-02-29 12:57:19 +01:00
Martin Diehl 839443bc85 better (generic) name where possible 2020-02-26 07:06:25 +01:00
Martin Diehl 605e976915 I don't like loops
use language features and helper functions for shorter code
2020-02-23 09:45:19 +01:00
Martin Diehl 9e131c0110 rank 0 takes care of statistics file 2020-02-03 23:09:46 +01:00
Martin Diehl 269d65005b use nomenclature from the DAMASK paper 2020-01-31 00:07:23 +01:00
Martin Diehl 3b8dd17e5b avoiding hard-coded constants 2020-01-26 12:25:45 +01:00
Martin Diehl 9c7f6811a2 use default string length 2020-01-26 12:17:59 +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 a18057ba4d use central functionality for file IO 2020-01-21 07:37:04 +01:00
Martin Diehl 5bc1c98da7 use 0-based indexing for worldrank 2020-01-12 00:49:03 +01:00
Martin Diehl bd6f2a6b5c consistent string length 2020-01-04 19:01:36 +01:00
Martin Diehl bd5f963260 polishing 2020-01-04 16:54:07 +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 34af10fac1 using default string length 2019-12-21 12:39:54 +01:00
Martin Diehl f0d3b29b82 Merge branch 'development' into MiscImprovements 2019-12-21 06:53:56 +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 b0ce324213 Merge remote-tracking branch 'origin/development' into simple-int-formatting 2019-12-08 20:24:05 +01:00
Martin Diehl 4eacc1d16d polishing 2019-12-07 15:45:37 +01:00
Martin Diehl 7ecb0245ec simplified (use novel i0 format specifier) 2019-12-07 11:12:46 +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 a6a6519678 more local data handling 2019-11-24 07:44:17 +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 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 0bc4326618 better have one function per task 2019-10-24 13:46:36 +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 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 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 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 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 96811f77ca not used 2019-09-23 06:50:25 -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 53283d5c01 using newer interface 2019-09-20 18:20:33 -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 23dba41a09 absolutely not needed
the solvers report when they are initialized
2019-09-20 05:41:12 -07:00
Eureka Pai Kulyadi ca760f9ca1 added text lines 2019-09-06 15:47:02 -04: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 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 25d02c2f19 most of the functionality is only relevant for commercial FEM 2019-06-15 16:21:04 +02:00
Martin Diehl 9dfe71aa06 better readable 2019-06-10 09:42:23 +02:00
Martin Diehl cfc1dcf04b mesh_elem and theMesh are deprecated 2019-06-06 22:49:17 +02:00
Martin Diehl 14da4f8e43 easier to store positions than displacement 2019-06-06 18:28:10 +02:00
Martin Diehl d4392dc1bd one implicit none is enough 2019-05-30 23:58:59 +02:00
Martin Diehl 305c72584f Merge branch 'development' into test_PETSc_pointer 2019-05-30 17:31:51 +02:00
Martin Diehl 51e19048f7 pInt not needed anymore 2019-05-14 22:52:33 +02:00
Martin Diehl 7d5f5afe01 further cleaning 2019-05-12 13:11:30 +02:00
Martin Diehl d5f80c7f6d Merge branch 'development' into MiscImprovements 2019-05-04 18:16:09 +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 5a0e408d59 Merge branch 'development' into SolverRestart-in-HDF5 2019-04-30 17:07:45 +02:00
Martin Diehl b8bf329a74 Merge branch 'development' into MiscImprovements 2019-04-30 00:02:35 +02:00
Martin Diehl 477478f66c source code structure reflects build targets 2019-04-29 10:43:49 +02:00