pyviewfactor 0.1.5__tar.gz → 0.1.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyviewfactor-0.1.5 → pyviewfactor-0.1.6}/PKG-INFO +1 -1
- {pyviewfactor-0.1.5 → pyviewfactor-0.1.6}/pyviewfactor/_version.py +1 -1
- {pyviewfactor-0.1.5 → pyviewfactor-0.1.6}/pyviewfactor/pyviewfactor.py +9 -3
- {pyviewfactor-0.1.5 → pyviewfactor-0.1.6}/pyviewfactor.egg-info/PKG-INFO +1 -1
- {pyviewfactor-0.1.5 → pyviewfactor-0.1.6}/LICENSE.txt +0 -0
- {pyviewfactor-0.1.5 → pyviewfactor-0.1.6}/README.md +0 -0
- {pyviewfactor-0.1.5 → pyviewfactor-0.1.6}/pyviewfactor/__init__.py +0 -0
- {pyviewfactor-0.1.5 → pyviewfactor-0.1.6}/pyviewfactor.egg-info/SOURCES.txt +0 -0
- {pyviewfactor-0.1.5 → pyviewfactor-0.1.6}/pyviewfactor.egg-info/dependency_links.txt +0 -0
- {pyviewfactor-0.1.5 → pyviewfactor-0.1.6}/pyviewfactor.egg-info/requires.txt +0 -0
- {pyviewfactor-0.1.5 → pyviewfactor-0.1.6}/pyviewfactor.egg-info/top_level.txt +0 -0
- {pyviewfactor-0.1.5 → pyviewfactor-0.1.6}/setup.cfg +0 -0
- {pyviewfactor-0.1.5 → pyviewfactor-0.1.6}/setup.py +0 -0
- {pyviewfactor-0.1.5 → pyviewfactor-0.1.6}/test/__init__.py +0 -0
- {pyviewfactor-0.1.5 → pyviewfactor-0.1.6}/test/test_utils.py +0 -0
- {pyviewfactor-0.1.5 → pyviewfactor-0.1.6}/test/test_view_factor.py +0 -0
- {pyviewfactor-0.1.5 → pyviewfactor-0.1.6}/test/test_visibility_obstruction.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyviewfactor
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.6
|
|
4
4
|
Summary: A python library to calculate numerically exact radiation view factors between planar faces.
|
|
5
5
|
Home-page: https://gitlab.com/arep-dev/pyViewFactor/
|
|
6
6
|
Author: Mateusz BOGDAN, Edouard WALTHER, Marc ALECIAN, Mina CHAPON
|
|
@@ -557,9 +557,15 @@ def compute_viewfactor(cell_1, cell_2, epsilon=0.00001, rounding_decimal=6):
|
|
|
557
557
|
pts2 = pts2 + epsilon * dir_vec
|
|
558
558
|
|
|
559
559
|
# 4) Recompute auxiliary arrays for the Numba core
|
|
560
|
-
#
|
|
561
|
-
|
|
562
|
-
|
|
560
|
+
# Build the intra‐edge (directed edge) vectors for each facet
|
|
561
|
+
pts1_roll = np.roll(pts1, -1, axis=0)
|
|
562
|
+
vect_intra_1 = pts1_roll - pts1
|
|
563
|
+
pts2_roll = np.roll(pts2, -1, axis=0)
|
|
564
|
+
vect_intra_2 = pts2_roll - pts2
|
|
565
|
+
|
|
566
|
+
# Compute the 4π·Area constant from cell_2
|
|
567
|
+
area2 = cell_2.compute_cell_sizes(area=True)['Area'][0]
|
|
568
|
+
constante = 4.0 * np.pi * area2
|
|
563
569
|
# 5) Call the Numba core:
|
|
564
570
|
return compute_viewfactor_core(pts1, pts2,
|
|
565
571
|
vect_intra_1, vect_intra_2,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyviewfactor
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.6
|
|
4
4
|
Summary: A python library to calculate numerically exact radiation view factors between planar faces.
|
|
5
5
|
Home-page: https://gitlab.com/arep-dev/pyViewFactor/
|
|
6
6
|
Author: Mateusz BOGDAN, Edouard WALTHER, Marc ALECIAN, Mina CHAPON
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|