loop-common 0.0.1__tar.gz → 0.0.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.
- {loop_common-0.0.1 → loop_common-0.0.2}/PKG-INFO +1 -1
- {loop_common-0.0.1 → loop_common-0.0.2}/pyproject.toml +1 -1
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/supports/_2d_structured_grid.py +2 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common.egg-info/PKG-INFO +1 -1
- {loop_common-0.0.1 → loop_common-0.0.2}/LICENSE +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/README.md +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/setup.cfg +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/__init__.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/base.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/geometry/__init__.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/geometry/_aabb.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/geometry/_bounding_box.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/geometry/_face_table.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/geometry/_point.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/geometry/_structured_grid.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/geometry/_structured_grid_2d.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/geometry/_structured_grid_3d.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/geometry/_surface.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/geometry/_unstructured_mesh.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/interfaces/__init__.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/interfaces/representation.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/io/__init__.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/logging/__init__.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/logging/logger.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/logging/sinks.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/logging/timing.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/math/__init__.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/math/_maths.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/math/_transformation.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/math/finite_difference_stencil.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/observations/__init__.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/observations/lineset.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/observations/orientation.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/observations/pointset.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/observer.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/supports/_2d_base_unstructured.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/supports/_2d_p1_unstructured.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/supports/_2d_p2_unstructured.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/supports/_3d_base_structured.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/supports/_3d_p2_tetra.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/supports/_3d_rectilinear_grid.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/supports/_3d_structured_grid.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/supports/_3d_structured_tetra.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/supports/_3d_unstructured_tetra.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/supports/__init__.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/supports/_aabb.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/supports/_base_support.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/supports/_face_table.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/supports/_p2_structured_tetra.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/supports/_support_factory.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common/utils.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common.egg-info/SOURCES.txt +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common.egg-info/dependency_links.txt +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common.egg-info/requires.txt +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/src/loop_common.egg-info/top_level.txt +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/tests/test_2d_discrete_support.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/tests/test_base.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/tests/test_bounding_box.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/tests/test_discrete_supports.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/tests/test_imports.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/tests/test_observations.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/tests/test_p0_pointset_serialization.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/tests/test_p2_structured_tetra.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/tests/test_rectilinear_grid.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/tests/test_structured_grid_boundary_eval.py +0 -0
- {loop_common-0.0.1 → loop_common-0.0.2}/tests/test_unstructured_supports.py +0 -0
|
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "loop-common"
|
|
7
7
|
description = "Common utilities for LoopStructural"
|
|
8
|
-
version = "0.0.
|
|
8
|
+
version = "0.0.2"
|
|
9
9
|
requires-python = ">=3.9"
|
|
10
10
|
authors = [{ name = "Lachlan Grose", email = "lachlan.grose@monash.edu" }]
|
|
11
11
|
readme = "README.md"
|
|
@@ -460,6 +460,8 @@ class StructuredGrid2D(BaseSupport):
|
|
|
460
460
|
T[:, 1, 2] = 1 - local_coords[:, 0]
|
|
461
461
|
T[:, 1, 3] = local_coords[:, 0]
|
|
462
462
|
|
|
463
|
+
T[:, 0, :] /= self.step_vector[None, 0]
|
|
464
|
+
T[:, 1, :] /= self.step_vector[None, 1]
|
|
463
465
|
return vertices, T, elements, inside
|
|
464
466
|
|
|
465
467
|
def get_element_for_location(
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|