Commit Graph

8766 Commits

Author SHA1 Message Date
Martin Diehl 25518df80c fixes to quaternion class
- always store data as float (solves issues with truediv)
- fixed in-place multiplication and division
- consistent handling of "..ed()" functions
2019-04-19 00:44:12 +02:00
Philip Eisenlohr 4183eeaeca [skip ci] disorientation may return full-fledged orientation obj and aux info, added rotation.standardize(d) 2019-04-18 18:06:00 -04:00
Martin Diehl c4f56703a4 proper definition of homomorph 2019-04-18 17:11:51 +02:00
Martin Diehl 1904ac211e test working for more explicit rotation class 2019-04-18 16:44:39 +02:00
Martin Diehl 7570b187e7 do explicit homomorphing
only in cases when the underlying math cannot guarantee that the
resulting quaternion follows the convention
2019-04-18 16:26:05 +02: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 e8464814ae explicit is better than implicit
- if the quaternion does not follow the convention, use
"fromQuaternion(acceptHomomorph=True)"
2019-04-18 14:46:12 +02:00
Martin Diehl c702441bcc now testing averaging and misorientation calculation 2019-04-18 14:27:07 +02:00
Martin Diehl 71b0036323 return rotation as misorientation 2019-04-18 14:26:53 +02:00
Martin Diehl 481aac7952 misorientation calculation did not always follow convention
- return homomorphed quaternion to ensure that real component is > 0
(equivalent to have axis angle limited to [0, pi]
2019-04-18 13:46:58 +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 079e683dd1 disorientation returns Orientation, not Rotation 2019-04-17 10:48:18 +02:00
Martin Diehl 3f8c16262e fixed import statement
previous form only worked in python/damask folder
2019-04-17 09:45:18 +02:00
Martin Diehl 8609eb6eb7 improved names and layout 2019-04-17 09:34:49 +02:00
Martin Diehl c7c6627dfb don't try to figure out the input 2019-04-17 08:49:26 +02:00
Martin Diehl fa18200447 quaternion is now in separate module
avoid long modules with multiple, only loosely related classes
2019-04-17 08:46:03 +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 d842902a76 consistent ordering
- qu, om, eu, ax, ro, ho, cu
2019-04-16 21:47:29 +02:00
Philip Eisenlohr 3a7408a213 averaging possible for rotations and orientations; Rodrigues 3Dvector output only at top-level; code reordering 2019-04-12 09:03:47 -04:00
Philip Eisenlohr 3d6eb76da3 equivalentOrientations accepts scalar argument to directly return single rotation object (not single element list) 2019-04-11 19:07:41 -04:00
Philip Eisenlohr 2190c3ef46 fixed serious disorientation bug; sorted transformation functions 2019-04-11 18:32:07 -04:00
Philip Eisenlohr b8285d5749 restored orientation averaging capability 2019-04-11 17:23:04 -04:00
Philip Eisenlohr 598e8034b4 [skip ci] removed obsolete --inplace option from vtk_xxx script calls 2019-04-05 09:51:05 -04:00
Franz Roters a243d47ef1 adapting to new keywords 2019-04-05 11:11:43 +02:00
Franz Roters 12826e9df7 Merge remote-tracking branch 'remotes/origin/MiscImprovements' into development 2019-04-05 09:20:15 +02:00
Martin Diehl a2f9517ced fixed tests 2019-04-03 22:36:00 +00: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 0cf2c7b9e6 don't use (random) texture anymore 2019-04-03 08:10:26 +02:00
Martin Diehl db42a95454 cannot test Abaqus on Ubuntu 18.04 2019-04-02 20:54:31 +02:00
Martin Diehl bcaadac79a simplification in agreeemnt with the paper 2019-04-02 15:39:55 +02:00
Test User 12bc543c63 [skip ci] updated version information after successful test of v2.0.3-36-gbe387ab8 2019-03-29 16:41:27 +01:00
Martin Diehl 32dbe38fb7 tests for Abaqus should be more stable 2019-03-29 14:35:09 +01:00
Martin Diehl a5827c5ef3 using suitable defaults for damage 2019-03-29 14:26:32 +01:00
Vitesh Shah be387ab8cf atol_shear and atol_twinfrac are not allowed to be zero 2019-03-29 11:36:30 +00:00