Skip to main content

Green-function utilities and kernels for electrodynamics simulations.

Project description

mnpbem-greenfun

Publish mnpbem-greenfun PyPI status

mnpbem-greenfun provides baseline free-space Green-function kernels for frequency-domain electrodynamics.

Implemented Formulations

Scalar Green function:

$$ G(r,k)=\frac{e^{ikr}}{4\pi r} $$

Dyadic-related prefactor:

$$ k^2 G(r,k) $$

Implementation

  • Kernel functions: src/mnpbem_greenfun/kernels.py

Dependencies

  • numpy>=1.24

Installation

PyPI publication for mnpbem-greenfun is pending first release.

Track publication status:

Install from repository source:

pip install git+https://github.com/galihru/mnpbem.git#subdirectory=mnpbem-greenfun

Example

Runnable example:

  • examples/basic_usage.py

Run:

python examples/basic_usage.py

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mnpbem_greenfun-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mnpbem_greenfun-0.1.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file mnpbem_greenfun-0.1.0.tar.gz.

File metadata

  • Download URL: mnpbem_greenfun-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for mnpbem_greenfun-0.1.0.tar.gz
Algorithm Hash digest
SHA256 391f9529b548e897565b600ec07ac7d43f4e6000c6a8f411be334204471c1681
MD5 21216c9be8414f3e9bded21b717cc2f0
BLAKE2b-256 e206d45c7d62941b270eed21934a55e2879958edb2131a593f4e36bb4ddb055a

See more details on using hashes here.

File details

Details for the file mnpbem_greenfun-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mnpbem_greenfun-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b0975f5c2edec3d73066735d456a75f350284032936bbd636e0210d25957866d
MD5 7fe73954690442c54b225eb036ba1b24
BLAKE2b-256 123ba629f3bc84464fb46fdabe6cc5f7dfa7b10c8ee1a7e1e66605dd312cdf96

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page