Commit Graph

2313 Commits

Author SHA1 Message Date
Franz Roters 4a36179060 unified way gamma_dot is calculated 2016-06-14 22:06:04 +02:00
Martin Diehl bbf09506e6 using dEq, dNeq, cEq, dEq 2016-06-01 09:53:39 +02:00
Martin Diehl 8d285e4190 removed compiler warnings about conversion and floating point comparison 2016-05-27 11:46:34 +02:00
Martin Diehl a58e85e96d explicit casting and overlong constants regognized by compiler 2016-05-25 07:52:56 +02:00
Philip Eisenlohr 0b5ce0ed80 Merge branch 'CCodeUse' into 'development'
C code use

Use a standard conforming C-to-Fortran wrapper to have access to system routines available in C but not in standard Fortran. Having PETSc as a backend ensures that we have a C compiler (don't make it as complex as with f2py). No need to use vendor specific extensions to figure out if a path is a directory and to get the current working directory anymore. Simplifies the makefiles (only exceptions currently are for NaN to be compatible to older gfortran).

See merge request !6
2016-05-21 03:31:41 +02:00
Martin Diehl 20b3b43785 wrong pointer alias (no harm caused so far) 2016-05-19 13:01:13 +02:00
Martin Diehl 91f96cf69b reverted handling back 2016-05-18 07:52:19 +02:00
Martin Diehl 97f7abf915 cleaner declaration 2016-05-17 23:16:17 +02:00
Aritra Chakraborty 4a273f9cb3 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-05-11 14:53:21 -04:00
Aritra Chakraborty 739fc0f9ad introduced H_int for family--wise assignment of initial hardening rate. 2016-05-11 14:53:05 -04:00
Martin Diehl 8a9c5efbe7 working for ifort 2016-05-05 16:38:08 +02:00
Martin Diehl e0cc66950f fixed intent in/out 2016-05-05 15:47:15 +02:00
Martin Diehl 0c105658c3 simplifying 2016-05-05 15:11:28 +02:00
Martin Diehl ba0b278aca better name 2016-05-05 13:13:52 +02:00
Martin Diehl 6f8f2da2c0 Merge branch 'development' into CCodeUse 2016-05-05 12:57:07 +02:00
Martin Diehl 1753d35e87 corrected subroutine description 2016-05-03 17:07:51 +02:00
Martin Diehl 3b673d23dc added code for solving heat equation 2016-05-03 17:06:55 +02:00
Martin Diehl aae41e0479 external lapack functions marked as external 2016-04-26 09:36:27 +02:00
Martin Diehl f8e50cc304 fixed some missing "sum" initialisers, prepared more self consistent variable definitions for future use
(ifort > 15.0)
2016-04-26 09:35:42 +02:00
Martin Diehl 33b8360ebb ifort 15.0 is not capable of simple definition 2016-04-26 08:11:55 +02:00
Martin Diehl 137a5d1d4b bugfix, misplaced if statement caused failing update of orienation 2016-04-25 20:13:59 +02:00
Martin Diehl 7ce208019c Merge branch 'development' into miscImprovements 2016-04-25 12:36:02 +02:00
Martin Diehl dadf840c95 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-04-25 12:35:31 +02:00
Martin Diehl 469ec4b00e Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements 2016-04-25 12:33:06 +02:00
Martin Diehl 8ca5d559c3 unused variables 2016-04-24 22:45:33 +02:00
Martin Diehl d35452533c removing remainders of twinning 2016-04-24 22:36:35 +02:00
Martin Diehl 09dfa4a419 removing mechanical twinning part 2016-04-24 21:40:47 +02:00
Martin Diehl 696a3b74ca simplified 2016-04-22 12:05:06 +02:00
Martin Diehl 6884a10434 removed J2 (isotropic plasticity replaces) 2016-04-22 11:46:30 +02:00
Martin Diehl 481e12e6c4 removed old HDF5 stuff encapsulated by ifdef preprocessor statements 2016-04-22 11:40:21 +02:00
Martin Diehl 573d10f1e1 Merge branch 'development' into NoCoreModule 2016-04-15 00:05:38 +02:00
Pratheek Shanthraj 8b27de7d16 fix bug in MPI output 2016-04-12 11:05:01 +02:00
Martin Diehl 48e508b5ad MPI_OFFSET_KIND is a long int 2016-04-12 10:34:58 +02:00
Martin Diehl ce25acce77 no allocation for disorientation for local models only 2016-04-11 21:00:43 +02:00
Martin Diehl 18f18aa4b9 detabbing 2016-04-11 19:55:55 +02:00
Martin Diehl f483c6a404 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements 2016-04-11 16:06:00 +02:00
Martin Diehl 0ddc29d3c0 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-04-10 16:52:55 +02:00
Martin Diehl b76f499c45 Li and its tangent in isotropic returned undefined values for (default) J2 behavior, set mandatory parameters to NaN when initializing for faster dying 2016-04-10 15:52:43 +01:00
Martin Diehl b1d714581c Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements 2016-04-10 15:40:52 +02:00
Philip Eisenlohr 8ebc5982e4 fixed wrong sign of deviation comparison between existing phase constituent distribution and target values. 2016-04-08 11:16:20 -04:00
Martin Diehl 0b1cd70e33 size needs to use larger integer 2016-03-27 09:15:47 +02:00
Martin Diehl f88426201d Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements 2016-03-26 19:58:45 +01:00
Martin Diehl da89da6c21 checking for MPI errors 2016-03-26 19:55:44 +01:00
Martin Diehl 86e9615744 avoid error prone definition of derived quantities 2016-03-25 11:03:56 +01:00
Martin Diehl d44e43e3e7 Merge branch 'development' of magit0.mpie.de:damask/DAMASK into miscImprovements 2016-03-24 17:52:26 +01:00
Martin Diehl 7d6ebfb71c removed core module fftw functionality 2016-03-24 11:58:56 +01:00
Martin Diehl 022b089fa7 cleaned core module related stuff 2016-03-24 11:49:23 +01:00
Martin Diehl 95c4fdf9fa Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-03-23 19:51:54 +01:00
Martin Diehl ce99a071c2 cleaning 2016-03-23 18:17:47 +01:00
Martin Diehl a165b7b68c simplified statement 2016-03-23 15:12:35 +01:00
Martin Diehl d1dc976eda missing initializers (Intel compiler does not initialize to 0) 2016-03-23 12:15:03 +01:00
Martin Diehl 143a868dad files resulting from compilation should not be part of the repository 2016-03-23 11:05:00 +01:00
Martin Diehl fafedd5cd6 Merge branch 'LargeFiles' into development 2016-03-22 15:45:42 +01:00
Martin Diehl 9cfadb251a Initialize to J2 bevavior 2016-03-22 15:40:21 +01:00
Martin Diehl d3579d78fd fixed string handling and enabled compilation (unfortunately, gfortran needs exceptions) 2016-03-21 21:09:45 +01:00
Martin Diehl ca5ed22d66 Merge branch 'development' into CCodeUse 2016-03-21 19:47:09 +01:00
Martin Diehl e22ce52e80 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into miscImprovements 2016-03-21 19:41:07 +01:00
Martin Diehl 8526d2f495 line feeds causing trouble on windows 2016-03-20 23:30:03 +01:00
Martin Diehl 28259b2c46 switched dNeq and dEq to relative tolerance, removed single precision (makes things complicated
and was never used anyway)
2016-03-20 23:20:58 +01:00
Martin Diehl 97b52f60e7 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-03-20 22:28:49 +01:00
Philip Eisenlohr 9704eb6926 small correction to variable declaration layout 2016-03-15 17:23:01 -04:00
Martin Diehl 654e58faf2 integer overflow due do missing brackets, wrong forwarding for large files 2016-03-14 22:30:55 +01:00
Martin Diehl cf21d5ad49 did not compile without these statements 2016-03-13 19:01:01 +01:00
Martin Diehl 52ba6e19a0 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-03-12 17:09:18 +01:00
Martin Diehl e84e90448e Merge branch 'development' into CCodeUse 2016-03-11 21:38:39 +01:00
Martin Diehl b9b490d02d almost working 2016-03-11 20:59:14 +01:00
Martin Diehl 63fe0c6b91 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-03-09 17:55:54 +01:00
Philip Eisenlohr ed1948689f Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-03-09 11:40:31 -05:00
Philip Eisenlohr 20fe46a030 corrected logical mask for reporting stress in load cases 2016-03-09 11:40:12 -05:00
Martin Diehl 849d487ab6 autogenerated file not needed in repository 2016-03-09 16:08:42 +01:00
Franz Roters 976803ba0b corrected error discovered by Haiming Zhang 2016-03-09 15:36:11 +01:00
Martin Diehl 564ff68fbb first ideas 2016-03-08 23:32:18 +01:00
Philip Eisenlohr 0c1fe236b4 fixed issue with multiple allocation of param%outputID (was done every line) 2016-03-07 17:13:36 -05:00
Martin Diehl 83ccd7c982 introduced (in)equality comparison for double precision 2016-03-05 22:25:13 +01:00
Martin Diehl 54d0a0a704 some important lines got lost during last commit 2016-03-01 10:58:52 +01:00
Martin Diehl a7665bdab9 removed empty line remaining from old ID string 2016-02-29 14:26:06 +01:00
Martin Diehl 3f93eb9878 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-02-26 22:11:42 +01:00
Martin Diehl c7ab5a9396 simplified and got MPI Heidelberg solution for eigenvalues/vectors back 2016-02-26 21:52:54 +01:00
Martin Diehl ca3e1f0da0 further simpilifcations 2016-02-26 20:06:36 +01:00
Martin Diehl 17e75a1e0b some more simplifications 2016-02-26 17:51:34 +01:00
Martin Diehl 76b67e88eb re-indroduced special spectral decomposition for 33 tensors 2016-02-26 16:35:55 +01:00
Martin Diehl 5d0900ee2e plasticity test (phenoplus) working again with changed polar decomposition 2016-02-26 15:36:24 +01:00
Chuanlai Liu 8419e293d0 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-02-22 15:47:14 +01:00
Chuanlai Liu c87625b30c wrong state handling 2016-02-22 15:45:18 +01:00
Martin Diehl 2bfc070797 clarified function description 2016-02-08 17:33:17 +01:00
Martin Diehl fc1a21eb78 ignore marc aliases 2016-02-04 19:55:44 +01:00
Franz Roters 6bd17b3e4e integrated new version handling 2016-02-03 09:52:11 +01:00
Martin Diehl ebe7707ac7 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development
Conflicts:
	code/math.f90
2016-02-03 09:15:15 +01:00
Martin Diehl 34b21cb278 LAPACK version as backup when analytic eigenvalues fail 2016-02-03 09:10:37 +01:00
Martin Diehl 08150564cf added info like in spectral solver 2016-02-02 23:34:42 +01:00
Martin Diehl a56f720e36 LAPACK version as backup when analytic eigenvalues fail 2016-02-02 18:59:04 +01:00
Martin Diehl dc1e8f9def clearifying names 2016-02-02 13:23:45 +01:00
Martin Diehl 15e1c7edd8 invariants for symmetric matrix 2016-02-02 09:44:51 +01:00
Martin Diehl b28e70e36a old version removed in rev 6896521bf2, seems to be more stable 2016-02-02 09:09:07 +01:00
Martin Diehl bf04ee60f0 polishing 2016-02-02 08:45:47 +01:00
Martin Diehl eaf9b41b7a rewrote to follow formulas in paper, still having problems 2016-02-02 08:44:57 +01:00
Martin Diehl 2a86eef778 Merge branch 'development' of magit1.mpie.de:damask/DAMASK into development 2016-02-01 21:42:50 +01:00
Martin Diehl c7f1b677cc needed cleaning and copyright 2016-02-01 21:37:27 +01:00
Martin Diehl f13bdddc6c wrong state alias access 2016-02-01 11:41:39 +01:00
Martin Diehl 1f5c54e5c1 analytic expression for eigenvalues of 3x3 matrix 2016-02-01 07:48:42 +01:00
Martin Diehl 5dc0f28179 analytical variant not stable enough (spectral decomposition of 0-Matrix) 2016-01-31 17:49:56 +01:00
Martin Diehl 9bc05acba2 re-introduced special eigenvalues routine for 3x3 matrices 2016-01-31 12:25:26 +01:00
Martin Diehl 66731575af more prominent place for config files 2016-01-28 23:19:26 +01:00
Martin Diehl e298d2ebaa new version handling was broken 2016-01-28 08:56:12 +00:00
Martin Diehl f2c7eea161 git compatible way of version handling for Fortran and Python 2016-01-27 16:48:27 +00:00
Martin Diehl 6e4239bb7c removed Id 2016-01-27 14:06:21 +00:00
Su Leen Wong cdf09d6822 Bug fix for v4780 so it works for non transformation case 2016-01-26 13:20:45 +00:00
Su Leen Wong 8fbbfaa106 Rotate elastic constants (fcc to hex) 2016-01-25 14:08:38 +00:00
Martin Diehl 288ab15ef9 more precise file names 2016-01-24 21:05:36 +00:00
Martin Diehl a727f2b043 output related changes in last commit do not work since constitutive.f90 needs size and name in array notation 2016-01-22 08:13:05 +00:00
Martin Diehl 45c7bfa93d introduced pointer aliases for state, abstol and dotate and type structure for input parameters 2016-01-22 01:08:36 +00:00
Martin Diehl 17b27271a5 init was missing (only important for restart) 2016-01-21 09:06:25 +00:00
Martin Diehl eda03ed3e0 need to write out initial results for new CPFEM2 2016-01-20 16:19:05 +00:00
Martin Diehl 143266dbd4 missing variables from FESolving 2016-01-18 16:52:18 +00:00
Martin Diehl 072fa58027 fixed missing variable name change 2016-01-18 16:13:27 +00:00
Luv Sharma a46fcc53b7 corrected a typo. 2016-01-18 09:07:48 +00:00
Martin Diehl 7ebd5e29e3 line too long 2016-01-17 19:42:24 +00:00
Martin Diehl 12653bf1a4 more rename g -> c/ipc, wrong ipc iteration for crystallite_integrateStateRK4 and single run fixed 2016-01-17 17:56:24 +00:00
Martin Diehl b10774aae9 unused variable 2016-01-17 15:06:35 +00:00
Martin Diehl cfd6579024 split CPFEM module into one for spectral solver (also suitable for PETSc FEM) and one for commercial FEM codes as all the ping pong handling, cut back detection etc. is not needed for spectral.
Needs certainly a better name, or might be superfluous at all if crystallite, constitutive, and homogenization take care of their data for restart write/read and forwarding
2016-01-17 15:03:54 +00:00
Martin Diehl 0799570a03 renamed g -> c/ipc 2016-01-17 14:50:33 +00:00
Martin Diehl 1caec2e608 calc done is used only internally 2016-01-17 14:15:38 +00:00
Martin Diehl 3d2187cc07 moved some variables from FEsolving to more appropriate CPFEM module 2016-01-17 13:29:42 +00:00
Martin Diehl ff840ae8ad remove superfluous code and commented 2016-01-17 11:14:06 +00:00
Martin Diehl 11df75dfb2 added documentation and changed some names 2016-01-16 17:27:19 +00:00
Martin Diehl 83a6d00c60 remove superfluous variables 2016-01-16 07:06:34 +00:00
Martin Diehl 208196d213 introduced pointers as names. thx to Chuanlai for doing the work 2016-01-15 15:26:24 +00:00
Martin Diehl 117c8edfbd corrected comment 2016-01-15 14:03:24 +00:00
Philip Eisenlohr 684992bf50 exchanged mappingConstitutive array for more descriptive "phaseAt and phasememberAt" 2016-01-15 00:19:44 +00:00
Martin Diehl 4b10e4792e adjusted function for polar decomposition to actual need (no return of U) 2016-01-12 21:39:31 +00:00
Martin Diehl f090a1b216 generalized dimension of calls to lapack, for performance reason special 3x3 variants will follow 2016-01-12 11:00:23 +00:00
Martin Diehl 2eafefe652 removed norm functions from math in favor of intrinsic and simplified (mostly by using existing functions, merge intrinsic and array constructors) 2016-01-10 13:34:26 +00:00
Martin Diehl 519cd29c6f using norm2 function as L2 norm (vector, math_norm3) and Frobenius norm (tensor, math_norm33) 2016-01-09 16:01:30 +00:00
Tias Maiti 53d07215a9 reverting back to converged Lp as the initial guess for next iteration 2016-01-09 15:03:18 +00:00
Martin Diehl 885b9095c4 option not supported by slightly older gfortran versions. thx to Luv for pointing out 2016-01-09 12:33:33 +00:00
Martin Diehl 5378dbdcc9 cleaned 2016-01-09 12:12:31 +00:00
Martin Diehl b5ab94a0f1 added new plasticity module 2016-01-09 12:12:05 +00:00
Tias Maiti 7ba031adb3 fixed wrong Li and dLi_dTstar_3333 initialization when Tstar is zero. 2016-01-09 03:41:56 +00:00
Tias Maiti a30b596e7f combined J2 and I2 isotropic mechanical response. Default is identical to old plastic_j2. /dilatation/ flag adds (spherical) Li calculation based on hydrostatic pressure. 2016-01-08 19:45:20 +00:00
Tias Maiti 6cf92913a3 use current Lp for next iteration instead of converged Lp inherited from end of former increment as starting guess 2016-01-08 19:01:53 +00:00
Tias Maiti 1d1672ebfc added math_spherical33 to calculate hydrostatic part of a 2nd order tensor 2016-01-08 18:57:37 +00:00
Martin Diehl cbb6b7a689 adding fpe report for gfortran, some compiler opions are now used for linking (Debug + Optimization) 2016-01-07 12:58:19 +00:00
Martin Diehl 1857e47f75 div by zero in output 2016-01-07 11:48:30 +00:00
Martin Diehl 86885cb2ba wrong initialization order, thanks to N Grilli for reporting the bug 2016-01-06 16:46:37 +00:00
Martin Diehl 268c7f359c wrong index in output 2015-12-23 21:15:49 +00:00
Martin Diehl 74086fd0fb correct initialization 2015-12-23 16:13:08 +00:00
Martin Diehl 7127403bd9 usused variables 2015-12-23 11:25:25 +00:00
Martin Diehl dfe09f11f5 cleaner handling of NaN 2015-12-22 10:03:15 +00:00
Martin Diehl ee47c9302a small readability improvement 2015-12-22 09:22:57 +00:00
Martin Diehl e127bd8db4 should reflect name of parameter 2015-12-21 07:27:21 +00:00