Skip to content

Releases: simpeg/discretize

pypi deploys

12 Jul 19:15
3eb935a
Compare
Choose a tag to compare
  • from pr #97
  • update pypi credentials
  • update appveyor and travis to auto-deploy to pypi on tags
    • includes upload of wheel files from appveyor

3D cyl mesh

11 Jul 17:06
e94a1e1
Compare
Choose a tag to compare

3D Cyl Mesh

First implementation of a 3D cylindrical mesh. We discretize in r, theta and z.
image

Operators

  • edgeCurl
  • faceDiv
  • aveF2CC
  • aveF2CCV
  • aveE2CC
  • aveE2CCV

are all implemented and tested for second order convergence

Examples

There are some examples running this code in http://github.com/lheagy/casingResearch
image

  • added a simple example that plots a 3D cyl mesh

Plotting

  • add plot capabilities for plotSlice (and I think two slices through the mesh for plotGrid())

Testing

  • basic elements like the grids, counting of things.
  • operator tests for mimetic properties

Other updates

Cell Grad Stencils are properties

  • cell grad stencils are properties rather than methods. This pr will need to be followed by an update in the SimPEG regularization (addressed in simpeg/simpeg#699)

minor updates

  • plotting now uses the C0, C1, ... colors in matplotlib
  • added *.ipynb to .gitignore

plotSlice upgrades

07 Apr 03:49
164b511
Compare
Choose a tag to compare

upgrades in plotSlice

  • Added range_x, range_y, and sample_grid input arguments to plotSlice function.

stream thresholds

11 Mar 17:42
b77837c
Compare
Choose a tag to compare
  • from pr #91
  • make the stream_threshold compatible with plotslice

VTK updates

02 Mar 18:17
655d6cd
Compare
Choose a tag to compare

Just a few small changes for vtk mesh IO in python 3

Tree mesh cell grad

28 Feb 21:58
d8b0b28
Compare
Choose a tag to compare

Cell grad operators for TreeMesh inversion

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

aveCCV2F

16 Feb 19:34
51dd456
Compare
Choose a tag to compare

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

Option to mask streamlines

22 Jan 05:49
4dc94be
Compare
Choose a tag to compare

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

add IO functionalities to write DCIP2D mesh and models

08 Jan 02:08
5d802e3
Compare
Choose a tag to compare

From pr #84

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

h_gridded

08 Jan 00:44
679a6d8
Compare
Choose a tag to compare

New mesh property: h_gridded

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.