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.3.tar.gz (203.7 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.3-py3-none-any.whl (45.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: torchfsm-0.0.3.tar.gz
  • Upload date:
  • Size: 203.7 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.3.tar.gz
Algorithm Hash digest
SHA256 bd0ae6e48c5daca1e83d7f62530a916e23d93131959804a3c84e963ef2cf9e18
MD5 cdcea9a3c3f2cb0890975dd142693143
BLAKE2b-256 05affc00122589349e97b113ba57411c3be685bf7cd982dd80a1460d04f1152b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torchfsm-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 45.0 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2759acec8a2cb823a47bda603371a8e08239a5b7b8d2a6272c9fe11784aa257f
MD5 7175da3455ce36e363af602871c6af44
BLAKE2b-256 15adbc2cb3588e12d4a85a8778152f32f7885c8647060addc480f60b28194c90

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