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.6.tar.gz (238.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.6-py3-none-any.whl (110.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: torchfsm-0.0.6.tar.gz
  • Upload date:
  • Size: 238.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.6.tar.gz
Algorithm Hash digest
SHA256 c7a26f6de605c62f02ca209835baefe1ab43aa01e5ec1edd4169242ad1b7a01d
MD5 455f059aaa22555e96ee8006e90df5c1
BLAKE2b-256 b95f944d58d5dbe0990d618ada0c5649d35c885ede004f84dd6a3c8747412684

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torchfsm-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 110.1 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d14ec5ecbce2be6a204cc768e37974e583f3302c15a0c725a5c709db773900f4
MD5 97c6ca75f0b0b1d6b4cc06765b688113
BLAKE2b-256 e65d3e1dbc1faebb5d430fbd36e4cf208f1a1388297b379b67b3186c853d1c4c

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