Commit Graph

12139 Commits

Author SHA1 Message Date
Philip Eisenlohr 2560f014a3 Merge remote-tracking branch 'origin/increase-geom-test-coverage' into geom-out-of-place 2020-08-24 17:17:31 -04:00
Martin Diehl 55443a3ff5 reflect change of variable names in file layout version 2020-08-24 22:54:09 +02:00
Martin Diehl 8ef473b71c new names in output
- constituent -> phase
- materialpoint -> homogenization

this gives a one-to-one correspondence to the material.yaml definition

next steps
1) adjust damask.Result python class
2) implement materialpoint output (homogeneous over the whole domain)
   for homogenized quantities (currently T,F,P,phi)
2020-08-24 19:22:53 +02:00
Martin Diehl 56157af7db updated script for building fedora (rpm) package 2020-08-24 19:06:05 +02:00
Martin Diehl 279d43ccc6 include version info + date in comments (Table class) 2020-08-24 19:04:59 +02:00
Martin Diehl 9d505c8518 better readable
- more explicit reporting
- always relative import for DAMASK
2020-08-24 09:58:24 +02:00
Martin Diehl b393da4955 relative imports
... it's all about damask.XXX
2020-08-24 07:28:10 +02:00
Martin Diehl 0d3ef29554 more logical encapsulation
- getting data out of VTK is a functionality of the VTK class. Need to
  discuss whether the VTK class should also provide grid and size (works
  only for rectilinear grid, so hiding VTK type is not possible
  anymore), but the current situation requires the Geom class to rely on
  'internals' of the VTK class
- header is specific to *.geom format, not to Geom objects.
2020-08-24 06:46:22 +02:00
Martin Diehl 507a165733 functionality for getting data
- handy for Geom class, but could be of general interest
- add/set/get comments: follows same functions as for Geom class
2020-08-24 06:40:36 +02:00
Philip Eisenlohr 3738002e4a forgot the new reference files... 2020-08-23 22:27:53 -04:00
Philip Eisenlohr 446ac03b07 All geom methods are now out-of-place, i.e. return an updated duplicate (to allow for daisy chaining).
* Added comments when methods acted.
* Added diff method
* Added flip method
* Fixed add_primitive inversion bug (again...)
* Fixed cell centering bug in add_primitive

* Added missing tests
2020-08-23 19:43:46 -04:00
Martin Diehl 22da3af92e cleaning (prospector complaint) 2020-08-24 00:44:18 +02:00
Martin Diehl 44015082a3 dead code (copy and paste error) 2020-08-24 00:34:07 +02:00
Martin Diehl c7cbd961a1 more systematic monkeypatching
allows comparison of reference files (log/history does not contain
information about damask.version and datetime.datetime.now)
2020-08-24 00:31:38 +02:00
Martin Diehl 9867830d68 store history of geometry modifications 2020-08-23 23:52:48 +02:00
Martin Diehl a1c78b778a WIP: track history in VTK objects 2020-08-23 23:22:53 +02:00
Martin Diehl a814db5b64 PRIVATE: Master includes yaml changes 2020-08-23 19:31:30 +02:00
Martin Diehl 7b50a3b364 material.config is not used anymore 2020-08-23 15:20:11 +02:00
Martin Diehl e007aed407 updates in PRIVATE
- lightweigth tarball: no examples, no Makefile (explicit cmake)
- improved build instructions for ubuntu/debian package
2020-08-23 13:28:15 +02:00
Martin Diehl d65371d42f removed unused and untested functionality
PEP 20: Explicit is better than implicit.
2020-08-23 12:55:55 +02:00
Martin Diehl 6f79573140 more test coverage 2020-08-23 11:05:56 +02:00
Martin Diehl 07af7b2f98 geom is written to vtr exlcusively, not to general vtk
base tests on vtr
2020-08-23 10:50:15 +02:00
Martin Diehl 64e7582e8e consistent interface to ndimage filters
Boolean 'periodic' sets mode to 'wrap' or 'nearest'
2020-08-23 10:02:22 +02:00
Martin Diehl 975db01f31 microstructure -> materialpoint
at least for new functionality
2020-08-23 09:38:08 +02:00
Martin Diehl 5fb2d30ee4 fast and for arbitrary type 2020-08-23 09:02:17 +02:00
Martin Diehl b731b1e768 Geom.to_vtk improvements
- should be integer
- should have a test
2020-08-23 08:49:49 +02:00
Test User a1f1b91c7f [skip ci] updated version information after successful test of v3.0.0-alpha-3-g2b09a7d3 2020-08-23 06:06:38 +02:00
Philip Eisenlohr 2b09a7d31d fixed Geom.canvas bug, added Geom.from_vtk, added mode,selection options to Geom.clean 2020-08-22 21:36:11 -04:00
Test User 70d1b0b987 [skip ci] updated version information after successful test of v3.0.0-alpha-1-g499ce017 2020-08-22 22:31:05 +02:00
Martin Diehl bd4fb562bc make use of inhereted dependencies 2020-08-22 20:57:42 +02:00
Martin Diehl 9ca0e40966 simplified 2020-08-22 20:22:34 +02:00
Philip Eisenlohr 499ce01748 added Geom.copy() method 2020-08-22 13:57:31 -04:00
Martin Diehl 34a08bd8b8 pip package is pillow, not PIL 2020-08-22 17:04:21 +02:00
Martin Diehl bd78bf9d1d preparing first 3.0 series alpha release 2020-08-21 22:20:41 +02:00
Test User 0c3a81e166 [skip ci] updated version information after successful test of v2.0.3-2998-ga691e410 2020-08-20 19:08:12 +02:00
Franz Roters a691e410f0 Merge branch 'material.yaml' into 'development'
Restructuring for material.yaml

See merge request damask/DAMASK!202
2020-08-20 16:37:06 +02:00
Sharan Roongta 7754a1ea56 Restructuring for material.yaml 2020-08-15 16:08:46 +02:00
Test User 95092f3c5f [skip ci] updated version information after successful test of v2.0.3-2995-gd00974b5 2020-08-13 10:15:34 +02:00
Philip Eisenlohr d00974b549 Merge branch 'fix-kirchhoff-spelling' into 'development'
Corrected Kirchoff --> Kirchhoff

See merge request damask/DAMASK!201
2020-08-13 05:07:00 +02:00
Philip Eisenlohr c1358294f7 Corrected Kirchoff --> Kirchhoff 2020-08-12 15:14:00 -04:00
Test User fdb0bcf8af [skip ci] updated version information after successful test of v2.0.3-2992-g4b45c37e 2020-08-10 06:20:56 +02:00
Philip Eisenlohr 4b45c37ee5 Merge branch 'MiscImprovements' into 'development'
Misc improvements

See merge request damask/DAMASK!199
2020-08-10 03:46:56 +02:00
Philip Eisenlohr 752d6f773b corrected add_primitive test 2020-08-09 23:14:32 +02:00
Philip Eisenlohr 4bf3b92609 polishing vtk2ang.py 2020-08-09 22:40:04 +02:00
Martin Diehl e6f1b17149 Gfortran 8 failed with
At line 115 of file DAMASK/src/system_routines.f90
Fortran runtime error: Unequal character lengths (93/52) in MERGE intrinsic

not sure whether this is a false alarm or not ...
2020-08-09 08:53:10 +02:00
Martin Diehl 68bf21c900 can use string of dynamic length 2020-08-09 06:40:43 +02:00
Martin Diehl 93adee2581 no need to have fixed string here 2020-08-09 06:27:29 +02:00
Martin Diehl 28bc1fae50 don't repeat code 2020-08-09 06:17:14 +02:00
Martin Diehl 7499b57f17 test does not exist anymore 2020-08-09 05:59:58 +02:00
Martin Diehl 2ef20df89f same functionality is available in geom class
is anyway just a call no scipy.ndimage
2020-08-08 22:34:19 +02:00