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.5.tar.gz (213.2 kB view details)

Uploaded Source

Built Distribution

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

torchfsm-0.0.5-py3-none-any.whl (62.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: torchfsm-0.0.5.tar.gz
  • Upload date:
  • Size: 213.2 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.5.tar.gz
Algorithm Hash digest
SHA256 c41188381462d1ff342d9197de126f06f8192f9b8cd06df9859b03d815211ba7
MD5 2de7dea9508893fa418f7c46d0bb2910
BLAKE2b-256 cf3d7e3420e7f82020cfe8439347ab1dfebc313ec5e7a234e1c50d7e44310d73

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torchfsm-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 62.5 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e2f51144bf78ceed0656bc083cd924b2bdf81947f664e57d47d23323220f4bb1
MD5 c6151aa30b729222a6368d6b4c322e77
BLAKE2b-256 232d5ad87ae3a1f4a16cfcecebfd40b799455992022737d87a4210eb46f292f4

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