Skip to main content

Fourier Spectral Method with PyTorch

Project description


TorchFSM

Fourier Spectral Method with PyTorch

[ Documentation & Examples]

TL;DR

TorchFSM is a PyTorch-based library for solving PDEs using Fourier spectral method. It is designed for physics-based deep learning and differentiable simulations.

Feature

  • Modular by design: TorchFSM offers a modular architecture with essential mathematical operators—like divergence, gradient, and convection—so you can build custom solvers like stacking building blocks, quickly and intuitively.

  • GPU-accelerated: TorchFSM leverages GPU computing to speed up simulations dramatically. Run complex 3D PDEs in minutes, not hours, with seamless hardware acceleration.

  • Batched simulation support: Built on PyTorch, TorchFSM enables batched simulations with varied initial conditions—ideal for parameter sweeps, uncertainty quantification, or ensemble analysis.

  • Differentiable and ML-ready: Fully differentiable by design, TorchFSM integrates naturally with machine learning workflows—for residual operators, differentiable physics, or dataset generation.

Documentations

Check 👉 here for more details.

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

torchfsm-0.0.1.tar.gz (37.1 kB view details)

Uploaded Source

Built Distributions

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

torchfsm-0.0.1-py3-none-any.whl (44.9 kB view details)

Uploaded Python 3

torchfsm-0.0.1-py2.py3-none-any.whl (44.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file torchfsm-0.0.1.tar.gz.

File metadata

  • Download URL: torchfsm-0.0.1.tar.gz
  • Upload date:
  • Size: 37.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.14

File hashes

Hashes for torchfsm-0.0.1.tar.gz
Algorithm Hash digest
SHA256 290dd79affcade26f05b8d9729abcc881a45df58ea677b473f398861a527956f
MD5 2407e62cf3eeeededa3439f1ff82ee3d
BLAKE2b-256 2a3207177acfc07013930022f8da9986d5d5a0ec7c94baf3d2b3cbe8a4f884f8

See more details on using hashes here.

File details

Details for the file torchfsm-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: torchfsm-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 44.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.14

File hashes

Hashes for torchfsm-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 551b796a662eca68fd085cd0d75c78666d404058de3dd71b7309e46f5bc9e60b
MD5 1927c2de211c6789186d6d5e8a0f26fb
BLAKE2b-256 85fa5937b07e9202876cb51e1c629a43ef32a7280c726be63da9b81ade54e92d

See more details on using hashes here.

File details

Details for the file torchfsm-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: torchfsm-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 44.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for torchfsm-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5fbf5b265de5613c7691e7415476b90b04b5a98200f40fa363f94355a037b2ed
MD5 fa6af3f876d863729a9878d8d8451399
BLAKE2b-256 8d03b061cb47dddd345395f984f87bd1dd36c0e07087ded91e61ab888de02d0a

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