pyviewfactor 0.1.1__tar.gz → 0.1.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyviewfactor
3
- Version: 0.1.1
3
+ Version: 0.1.2
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
@@ -1,5 +1,5 @@
1
1
  """Version info for pyViewFactor"""
2
- version_info = 0, 1, 1
2
+ version_info = 0, 1, 2
3
3
 
4
4
  # Nice string for the version
5
5
  __version__ = '.'.join(map(str, version_info))
@@ -82,7 +82,7 @@ def trunc(values, decs=0):
82
82
  return np.trunc(values * factor) / factor
83
83
 
84
84
 
85
- def get_visibility(c1, c2, strict=False, print_warning=False, rounding_decimal=1):
85
+ def get_visibility(c1, c2, strict=False, print_warning=False, rounding_decimal=6):
86
86
  """Facets visibility:
87
87
 
88
88
  A test to check if two facets can "see" each other, taking the normals
@@ -497,7 +497,7 @@ def compute_viewfactor_core(cell_1_points, cell_2_points,
497
497
  return total if total > 0 else 0.0
498
498
 
499
499
 
500
- def compute_viewfactor(cell_1, cell_2, epsilon=0.001, rounding_decimal=6):
500
+ def compute_viewfactor(cell_1, cell_2, epsilon=0.00001, rounding_decimal=6):
501
501
  """
502
502
  Compute the radiation view factor from cell_2 to cell_1 using contour integration.
503
503
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyviewfactor
3
- Version: 0.1.1
3
+ Version: 0.1.2
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