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.4.tar.gz (206.8 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.4-py3-none-any.whl (49.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: torchfsm-0.0.4.tar.gz
  • Upload date:
  • Size: 206.8 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.4.tar.gz
Algorithm Hash digest
SHA256 e10e486160fa48c45f444e1d372afb6f49059c9ec8660841a7a7e9bc948bce64
MD5 05991545a0f1b21e19442e373f21817d
BLAKE2b-256 34a7ad04af618cf1b43afe33aa3f1971b0be913cd9daee1fb647c94e4a457021

See more details on using hashes here.

File details

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

File metadata

  • Download URL: torchfsm-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 49.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8872e13352c11ae1733be3cc98be74056a4c88708443c3ed8b75052b778458f7
MD5 99d084bd30b27dc2d42b4d55c9f82769
BLAKE2b-256 55c8ccdffbdf3c09b9f17d2cd42867519c5cbf9103c839d0db6dc91d27319653

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