Discretize

Latest version: v0.11.2

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 7 of 9

0.1.16

Cell grad operators for TreeMesh inversion
-----------------------------------------------

- from pr 72
- commits from: fourndo, micmitch, sgkang, lheagy
- review from: rowanc1, lheagy, jiajiasun

- First pass implementation for stencil operators
Initial implementation without hanging faces
![image](https://user-images.githubusercontent.com/2406426/36231681-ce4a59fe-1193-11e8-8357-89041b1db6ed.png)

- Second implementation with hanging faces
![image](https://user-images.githubusercontent.com/2406426/36231679-cb1bef22-1193-11e8-8140-266680ff737f.png)

**Smoother gradients on Octree change.**

- Create gradient operators with dimensions for PDE problems.
- Add unit tests for operators. Thanks micmitch and sgkang

Solve DC problem in mine tunnels.
Tree mesh examples will follow shortly on SimPEG ... stay tuned.
![image](https://user-images.githubusercontent.com/2406426/36231904-a170fa18-1194-11e8-8930-3b78474f0a64.png)

0.1.15

- commits from sgkang
- review from rowanc1, lheagy
- originally from pr 88 and discussed in issue 87

create `aveCCV2F`, which averages a cell centered vector to faces and is useful for self-potential problems

0.1.14

From pr: 86
Commits from: lheagy
Review from: thast, rowanc1

add the ability to mask streamlines if the amplitude is below a given threshold (`stream_threshold`).

![image](https://user-images.githubusercontent.com/6361812/35133278-3b5a3034-fc84-11e7-885b-b2105827fb99.png)

0.1.13

From pr 84
- commits from thast
- review from lheagy

add IO functionalities to write DCIP2D mesh and models
- the `MeshIO` functions `writeUBC` and `writeModelUBC` are now compatible with 2D meshes and models.

- We now make sure that mesh and model get saved at the same place by giving the option to specify the folder outside of the filename (before the folder was given by the `dict.keys`, not very practical)

- The upgrade is backward compatible

0.1.12

New mesh property: h_gridded
- From pr 77
- commits from: dccowan, lheagy
- review from: lheagy, rowanc1

This function works for TensorMesh and TreeMesh types. Much like gridCC, h_gridded returns [hx,hy,hz] as a nCxdim numpy array. This function is important for multiple potential fields problems (Mag, VRM, grav) in 3D.

0.1.11

Changes from 80
- `properties >=0.3.6b0` is required for running this version of discretize
- `properties` and `vectormath` are installed separately so versions can be managed explicitly

Page 7 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.