Commit Graph

30 Commits

Author SHA1 Message Date
Martin Diehl 4f0db64e15 grid assemble + corrected grid.scale 2022-11-08 18:52:08 +00:00
Sharan 1bd654781b tests updated 2022-02-02 00:20:14 +01:00
Martin Diehl 8de4829d0f testing non-trivial situation 2022-01-10 08:03:37 +01:00
Martin Diehl 4d67c85a33 clarify out-of-place behavior and document return values 2021-04-23 23:32:09 +02:00
Martin Diehl 78192ef3fd clearer naming + better comments, thanks to @p.eisenlohr 2020-12-07 17:49:37 +01:00
Martin Diehl 0fdefa5e78 renames:
after the rename of "grid" to "cell", the name cell should not be used
for the coordinates of the cell centers. In agreement with the names
x_p/u_p for point positions/displacements, now the "point" is used to
refer to the materialpoints (i.e. cell centers)

Additionally, "_node"/"_point" are now suffixes to
"coordinates"/"displacements".

Finally, "coords" is renamed to "coordinates"
2020-12-03 23:59:37 +01:00
Martin Diehl ac0a20696c rename: grid -> cells 2020-12-03 22:16:34 +01:00
Philip Eisenlohr 14d3b7e66d more f-stringing 2020-06-24 16:59:55 -04:00
Martin Diehl a4dfd7fc74 missing tests 2020-05-16 17:23:05 +02:00
Martin Diehl 6928a8290f less whitespace,
alingment only within one vector/tensor
2020-05-10 13:02:26 +02:00
Vitesh Shah c8701a4665 Cleanup/better readability 2020-05-08 12:15:10 +02:00
f.basile fcd0028b83 avoid line length limit (maximum line length 182 > 132 2020-05-06 14:33:04 +02:00
f.basile 26f55781ae merge test into gridFilters 2020-05-06 14:26:15 +02:00
Vitesh Shah 307debebd4 Correct shapes for gradient calculations 2020-05-05 10:22:23 +02:00
Vitesh Shah 0650f46ab1 Tests for gradient 2020-05-05 10:13:30 +02:00
Martin Diehl 9273c88782 [skip ci] WIP: migrating from PRIVATE repo 2020-04-28 09:42:27 +02:00
Martin Diehl 2d14790863 the result of a differential operator operating on a constant field is 0 2020-04-27 05:08:47 +02:00
Martin Diehl f519e62cd5 testing data layout checks 2020-04-20 13:56:33 +02:00
Martin Diehl 02dde3c255 test also invalid operations 2020-04-20 13:10:13 +02:00
Martin Diehl 9979eb58f4 consistent layout for grid data
has now always the shape ([x,y,z,...]) with x fastest. For conversion from or
to linear layout ([x*y*z,...]), e.g. storage in ASCII table, reshape needs
to have the 'F' option.
Credits to Vitesh and Fran for pointing this out.
2020-04-20 13:09:59 +02:00
Martin Diehl 59b0a6e825 tuples not needed/avoid eval 2020-04-10 13:07:05 +02:00
Martin Diehl 45e3b8f7c6 no brackets for reshape required 2020-03-17 12:25:44 +01:00
Martin Diehl fa39a7423b preparing for actual use 2020-01-29 13:20:16 +01:00
Martin Diehl f9772a3df8 more descriptive name 2020-01-13 02:51:49 +01:00
Martin Diehl e08b096f08 just to make sure ... 2019-12-21 23:43:56 +01:00
Martin Diehl 2cd2d6f506 cell_2_node/node_2_cell work only for periodic data
hence, coordinates and displacements cannot be converted easily
2019-12-21 18:07:04 +01:00
Martin Diehl b56864552f testing forward <-> backward conversion 2019-12-08 21:05:34 +01:00
Martin Diehl 4ddfd82304 better names 2019-12-05 18:32:21 +01:00
Martin Diehl e7358746dc taking care of prospector complaints
variables in 'eval' are hidden
2019-12-05 10:54:35 +01:00
Martin Diehl bc41bbbec5 test coordinates-related functions 2019-12-04 09:23:08 +01:00