Skip to main content

AxiSEM3D_shapes

Author: Will Eaton, Princeton University 2021
Last modified: April 12th 2022
Contact: weaton@princeton.edu

Short description:
A small repo containing scripts to inject shapes such as ellipsoids, slabs and cylinders into 3D cartesian models for use in AxiSEM3D.

Overview:

Full documentation can be found ... . If you have any questions please open an issue or contact me via email.

Three classes provide the functionality of this package:

  • Model is used to create a background cartesian grid into which shapes can be added. This can represent the entire domain you are simulating, or a subset of it. It holds, among other things, three arrays VP, VS and RHO which eventually stored in NetCDF files for AxiSEM-3D to read.
  • Shape is an abstract base class. Subclasses of this (e.g. Ellipsoid or Cylinder) can be instantiated and injected into the model arrays (e.g. VP) using an Injector object
  • Injector are instantiated by passing in a Model object, and are used to inject Shape objects into the Model arrays.

Shapes can be created with dimensions and orientation specified by the user. Originally these codes were just written for injecting spheres. As such, the position of shapes is located by a central point of the shape, rather than an edge. I may add more flexibility for this in the future.

I recommend viewing your generated models in Paraview to check everything has worked, before running simulations.

Still to do:

  • Complete testing of all scripts
  • Global (spherical) wrapper for use in non-cartesian Axisem-3D.
  • Parallel grid searches for shape construction?

Metadata

Release files for axisem3Dshapes 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for axisem3Dshapes 1.0.3
File Size Uploaded Provenance
axisem3Dshapes-1.0.3.tar.gz 14.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for axisem3Dshapes 1.0.3
File Interpreter ABI Platform
axisem3Dshapes-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 31.9 kB

Release files / axisem3Dshapes-1.0.3.tar.gz

Download URL axisem3Dshapes-1.0.3.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
176154397d5528a911888b753779f51a027c46b88b8578b6fb7b7cd506a4047d
BLAKE2b-256 checksum
How to use checksums
c90f10be8edd14a9137f4c3d6abe2692792c1916f510e51f071b6527dd341481
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release files / axisem3Dshapes-1.0.3-py3-none-any.whl

Download URL axisem3Dshapes-1.0.3-py3-none-any.whl
Size 17.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
954d4c202193717d5a369063711d78cdfc3bc962064e0a263d330e7882b55976
BLAKE2b-256 checksum
How to use checksums
0e8f46874106827f45972b37bb0834ad5605135c29ac3d2236901a2b3eb6e2f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Security for axisem3Dshapes 1.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page