提交图

11 次代码提交

作者 SHA1 备注 提交日期
Craig Warren
548a0a550c Updated with ruff formatter 2025-02-04 20:38:27 +00:00
Craig Warren
8b9f5bb895 Copyright notice update 2025-02-04 16:48:11 +00:00
Craig Warren
108fdb53e1 Fixed check_averaging circular import and sorted import ordering 2024-06-03 20:57:58 +01:00
craig-warren
23c88cee25 Added averaging check for API to convert y/n to True/False 2024-05-16 12:59:36 +01:00
craig-warren
d6de9f52d0 Update copyright year 2024-01-04 10:38:46 +00:00
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
Craig Warren
b521bb28d2 Tidying and docs for cone and ellipsoid 2023-05-05 11:10:52 +01:00
Sai Suraj
132a4d39ad updated a few more similar lines of code to make them more cleaner. 2023-04-18 22:41:55 +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