Skip to main content

Green-function utilities and kernels for electrodynamics simulations.

Project description

mnpbem-greenfun

PyPI version Python versions Publish mnpbem-greenfun

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

pip install 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.1.tar.gz (2.5 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.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mnpbem_greenfun-0.1.1.tar.gz
Algorithm Hash digest
SHA256 697ac0b9717935e43bb7ca80482efefe6fedc8af5b866a5fbedb07b2dc1cb6b5
MD5 10e1376c01f3d8a992134bc68edb12d9
BLAKE2b-256 f9b8fc1a63a559cfbfec47c61ba435f563f572033c5cd8bfc65796d4f98d9c46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mnpbem_greenfun-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f55438df8d93d8ae8a13c1278b392020b049b8b727b4a2f617f3a7a8916c3575
MD5 6344ba49e3309873a96b9b77c83dc933
BLAKE2b-256 df6e5bfabadf9775793c1e6b0363ff488eace5305d5e759087c654d8209f5a53

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