There is a newer version of the record available.

Published August 6, 2019 | Version 0.4.9
Software Open

simpeg/discretize: serialization of meshes

  • 1. @simpeg, @geoscixyz, @ubcgif
  • 2. @seequent
  • 3. Colorado School of Mines - Geophysics - CGEM
  • 4. University of British Columbia
  • 5. University of British Columbia, Geophysical Inversion Facility
  • 6. Seequent
  • 7. QuantifiedCode

Description

  • from pr: #182
  • commits from: @jcapriot, @lheagy
  • review from: @jcapriot
summary of changes
  • Update instantiation of basemesh so meshes can be formed from their serialized state, e.g.

     mesh = discretize.BaseMesh.deserialize(mesh_json)
    

    will have the value of _n stored, thus, n does not need to be provided on instantiation

  • Update the x0 property on the TreeMesh so that it goes through the

  • Allow complex scalars to return true in the isScalar util, as well as numpy.number (rather than specifically np.int, np.float)

  • Add testing on the serialization / deserialization of meshes

Files

simpeg/discretize-0.4.9.zip

Files (1.0 MB)

Name Size Download all
md5:d8f044df9bc70456ad283a3343370fe1
1.0 MB Preview Download

Additional details

Related works