Published August 6, 2019
| Version 0.4.9
Software
Open
simpeg/discretize: serialization of meshes
Creators
- 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
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 instantiationUpdate the x0 property on the TreeMesh so that it goes through the
Allow
complex
scalars to return true in theisScalar
util, as well asnumpy.number
(rather than specificallynp.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
- Is supplement to
- https://github.com/simpeg/discretize/tree/0.4.9 (URL)