Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: adding json exports * fix: moving and renaming conversion functions also adding some type hints and a generic numeric type * tests: adding tests for conversions need to add some better tests not just 0 and 1s * fix: remove process_map2loop not required, can be done using processor * fix: adding synthetic horizontal layers model * fix: adding corners property to bounding box * fix: substituting pli for p1 same interpolator but this implementation uses numpy instead of cython * tests: test that horizontal layers are working * fix: making structured tetra compatible with p1 interp * fix: making p1 interpolator work * fix: cast input to np array * fix: adding type enums * fix: adding sparse matrix neighbour calculator this means no more cython code * fix: adding some type hints * refactor: ➖ removing model builder there is no real advantage to using a builder design pattern for loopstructural * fix: ✨ adding ability to calculate normalised value of a feature this just makes it easier to scale scalar field between 0 and 1 * fix: adding map for interpolator to support type * fix: enabling support builder with interpolator factory * fix: updating imports for maths functions * fix: adding support creator from bbox * fix: when reset clear the constraints dictionary * fix: reset when setting up interpolator * fix: removing old pli interpolator * fix: fixing tetra indexing and masks * fix: removing unused imports * fix: speeding up element getter * fix: adding onGeometryChange function for supports * fix: reset change number of constraints * fix: adding gradient orthogonal to p1interpolator * fix: changing instrusion example to rescale points * fix: setting model tolerance using new bounding box * fix: updating fold to use p1 interpolator * fix: renaming variables * fix: adding name and vector args to min edge jumps * fix: removing old imports * fix: fixing orthogonal constraints for p1 * fix: moving fault setup into fault builder frm model * fix: flake8 error * fix: add bb origin to surfaces * fix: fold constraints added in setup interpolator this allows for interpolator to be reset and doesn't remove the fold constraints when resetting * fix: temp fix for issue with np types * Replace reqs with correct theme Theme being loaded by requirements.txt was wrong (an old one?) So have updated with the pydata_sphinx_theme so now builds correctly * Adding PyPI custom link to navigation * Replacing square icon with (nicer) round icon * Adding navbar options and metadata Image is a placeholder for now, but this is an (onvs opinionated) view on a nicer format. Adds a limit to the number of nav items, adds a logo, changes the title to look cleaner (and not say "documentation" at the end), adds metadata * Fixing svg img * Updating the contributors docs * removing accidental tab * docs: fixing missing automodule * fix: adding length to bbox * fix: removing dof and name from interpolator json * docs: adding explicit imports for submodules Without explicit import of submodules and using __ALL__ the majority of the code isn't imported so sphinx doesn't document it. * docs: adding citations to documentation * fix: removing reference to dtm creator and using get interpolator correctly * fix: face table resize when geometry reset * fix: elements property for base structured support * fix: adding imports to api * fix: changing from interpolator type string to enum * fix: removing cython * fix: only axial foliation is constrained by fold frame * Update release-please.yml * Update release-please.yml * Update release-please.yml * ci: updating to use pip wheel . * Update release-please.yml * fix: disable progress bar for model update * ci: remove numpy version for conda * fix: changing to interpolator factory required changing how fold interpolator is setup. Rather than initialising with a fold, the fold is added to the interpolator added map between stringinterpolator names and the interpolatortypes enum * fix: identify points that fall on face of shared tetras. Automatically chooses the second one. * fix: rename surface vtk property to vtk from pyvista * fix: add docstring and cast isinside to an array * docs: adding docs to surface datatype * fix: removing cython code * fix: removing model api for time being * build: adding conda builds to git ignore * typo * ci: using conda convert to create osx * ci: removing cython * ci: typo in yml * ci: again * ci: again * fix: removing analysis module, will create separate ptyhon library * style: style fixes by ruff and autoformatting by black * fix: changing import of bounding box * fix: migrating np.random.shuffle to use generator object * fix: removing axis/angle from apply faults * fix: calculate gradient of faulted feature returns true gradient * fix: bb import update and some formatting * style: style fixes by ruff and autoformatting by black * fix: adding a method to rotate vectors that are faulted * fix: store constraints as matrix rather than dict the matrices can then be stacked together. no real advantage to the previous approach. It is useful if you want to use the matrix for a constraint outside of the typical LS workflow. * fix: removing unused variable * fix: adding --user flag and removing cython from test suite * fix: changing discrete support to return element index previously there was a mix of returning the index or the cells in the index. making supports consistent * fix: global indexes for elements * fix: linting * style: style fixes by ruff and autoformatting by black * fix: changing bounding box import * ci: updating action version numbers * fix: moving face table and aabb to separate file * fix: adding abc for base support * fix: updating 2d grid to follow same pattern as 3d * fix: updating 2d tri mesh to same pattern as 3d tetra * fix: typo vaue to value * fix: adding abstract methods for interpolation functions * fix: changing add methods to abstract method names * fix: use abstract base class for supports * fix: don't swap axes for dn, not consistent with 3d * docs: adding type hints * fix: adding get element gradient for location * removing prints * fix: updating p2 2d support * fix: linting * docs: type hints * fix: adding implementation of required abstract methods * tests: updating 2d local coords to use array * fix: adding gradient orthogonal abstract method * fix: adding methods for setting inequality constraints * fix: adding element size abstract method * fix: removing unused operator code * fix: adding faults setter/getter * fix: making intrusion feature compatible with base feature * fix: linting * fix: count number of constraints before adding previously not counting constraints before tying to add * style: style fixes by ruff and autoformatting by black * tests: don't test base feature anymore * style: style fixes by ruff and autoformatting by black --------- Co-authored-by: Sam <samuel.joseph.roberts@hotmail.co.uk> Co-authored-by: lachlangrose <lachlangrose@users.noreply.github.com>
- Loading branch information