提交图

38 次代码提交

作者 SHA1 备注 提交日期
craig-warren
8657e000a7 Renamed object 'create' function to 'build' 2023-12-05 10:11:02 +00:00
Sai-Suraj-27
a87da89d94 Removed un-necessary concatenations while using f-strings. 2023-08-04 00:21:33 +05:30
Sai-Suraj-27
f9dd7f2420 Added a pre-commit config file and reformatted all the files accordingly by using it. 2023-06-26 16:09:39 +05:30
Sai Suraj
f5c8c374ca Reformatted some code in many files where an f-string could have been used but was not used. 2023-04-18 22:29:10 +05:30
Sai Suraj
839c5ba9ff Reformatted some code in a few more files. 2023-04-18 22:03:22 +05:30
Antonis Giannopoulos
bec20bbd52 New object building primitives and two new mixing models for fractal box, bug fixes
Introduced object primitives #ellipsoid and #cone. The #ellipsoid works with regular semi-axes
along x, y, and z. The #cone works in a similar way to the cylinder and can be truncated with circular faces of different radii. If one radius is zero then it is a normal cone.
Introduced two new mixing models for using with a fractal box, #material_range and #material_list
The #material_range allows materials to be constructed using ranges of permittivity, conductivity, magnetic permeability and magnetic loss. Ranges can be increasing or decreasing as needed.
The #material_list creates a list of predefined materials that can be used with a fractal box. The order of the listed materials reflects the order of the bins they are allocated to in a fractal box.
The fractal box and associated mixing models have been updated to use a list of material IDs and do not rely on the assumption that are generated sequentially. This gives greater flexibility and
adds little computation burden on the creation of the fractal volume.

Bug fixes for mixing anisotropic volumetric materials where "mr" was used instead of "ms".
Bug fixes on objects that use integer coordinates for centres but where passed floats instead.
2023-04-16 13:51:47 +01:00
craig-warren
ef3cb14e98 Updated copyright year 2023-03-08 17:16:56 -07:00
Craig Warren
3964d767ef Change rotate method name 2022-11-28 21:53:50 +00:00
Craig Warren
69e3fe55c5 Updates to docstrings and formatting. 2022-11-04 16:17:20 +00:00
Craig Warren
6b793f0d7d Updates docstrings and line lengths 2022-11-03 21:16:39 +00:00
Craig Warren
d82d4a3dba Update copyright notice. 2022-01-12 15:31:37 +00:00
Craig Warren
b9a1706045 Updated copyright to 2022. 2022-01-05 16:40:49 +00:00
Craig Warren
c44f647f60 Further corrections for averaging. 2021-11-19 09:15:46 +00:00
Craig Warren
87ce4ae275 Corrected bug with detecting geometry object averaging flag. 2021-11-18 21:33:34 +00:00
Craig Warren
538d3e755c Update authors and tidy imports. 2021-03-10 15:40:36 +00:00
Craig Warren
1ce90bd2ae Updated copyright date. 2021-02-24 11:58:37 +00:00
jasminium
ed33f15df0 correct point output 2021-01-05 11:55:41 +01:00
jasminium
b8150e1e77 report position of geometry object relative to main grid 2021-01-05 11:07:20 +01:00
Craig Warren
05d56b316c Changes to rotate method to allow grid information (dx,dy,dz) to be passed in. 2020-11-17 16:44:30 +00:00
Craig Warren
4fb18b3fff Updated print messages for sub-gridding. 2020-08-17 18:09:16 +01:00
Craig Warren
a681e80d65 More work on rotate method for objects. 2020-06-23 15:23:21 +01:00
craig-warren
6ebbe8a730 Work on rotate method for geometry objects. 2020-05-18 15:53:51 +01:00
craig-warren
6cf9dc766a Imports cleanup 2020-04-21 09:23:10 +01:00
craig-warren
f2eeeaaba8 Work on exception handling. 2020-04-09 11:09:36 +01:00
craig-warren
1ef898384a Cleanup of imports and checking using pylint 2020-04-07 15:24:22 +01:00
Craig Warren
1e4237c2f5 Tidy up of logging and initial MPI task farm work. 2020-03-06 16:48:21 +00:00
Craig Warren
27e92587a9 Removed unused order property. 2020-02-14 17:25:42 +00:00
Craig Warren
253e3a04f7 Copyright year update. 2020-02-13 17:12:09 +00:00
Craig Warren
0359cef4d6 Started implementing new config structure. 2019-10-11 17:35:14 +01:00
Craig Warren
c2042af1ad Syntax fixes. 2019-10-11 11:59:07 +01:00
Craig Warren
7b1fc6decf Added logging and f-strings. 2019-10-11 11:57:43 +01:00
Craig Warren
3cad0f25b0 Cleanups and beginning to add GPU. 2019-10-08 16:52:11 +01:00
John Hartley
4a9e363e09 add config 2019-08-24 14:26:17 +01:00
John Hartley
0b4f26d1fe comments for geometry building commands 2019-08-24 12:22:20 +01:00
jasminium
d9c5ed34f9 changes 2019-08-23 18:06:03 +01:00
John Hartley
57d307acf9 working 2019-08-23 14:57:56 +01:00
John Hartley
a548169306 correct imports 2019-07-31 18:34:54 +01:00
John Hartley
4dfe017d60 transfer existing subgridding modules 2019-07-29 15:08:07 +01:00