Skip to main content

RDT Kernel

RDT Kernel is a physics-inspired numerical simulator implementing a nonlinear partial differential equation (PDE) for a scalar field L(x, y, t). It combines a logarithmic damping term with a Laplacian diffusion term, forming a compact PyTorch-based solver for recursive field dynamics, entropy stabilization, and nonlinear diffusion behavior.

This implementation uses PyTorch tensor operations, automatically runs on CPU or GPU (and TPU if available), and can function as a standalone simulator or a physics-based component within other systems.

Mathematical Model

The kernel evolves the field according to: ∂L/∂t = -α·ln(L) + D·∇²L

where:

  • L(x, y, t): scalar field
  • α: nonlinear damping coefficient
  • D: diffusion constant
  • ∇²L: discrete Laplacian

The equation models a nonlinear parabolic PDE coupling the field’s magnitude to its potential energy, creating self-stabilizing diffusion and entropy-bounded evolution.

Core Functions

  • get_device(): Detects CPU, GPU, or TPU
  • rdt_kernel(): Computes ∂L/∂t
  • step(): Advances one Euler step with clamping
  • run_demo(): Runs a full test simulation with timing and mean-field output

Installation

From PyPI: pip install rdt-kernel

From source: git clone https://github.com/RRG314/rdt-kernel.git cd rdt-kernel pip install .

Example

from rdt_kernel import run_demo run_demo(n=128, steps=100, alpha=0.5, D=0.1, dx=1.0, dt=0.01)

Example output: Running 100 steps on GPU... Done in 0.029s, mean=1.003536

Applications

  • Nonlinear entropy and diffusion modeling
  • Energy field evolution in dissipative media
  • Recursive geometric and entropic systems
  • Physics-inspired machine learning research

Author

Developed by Steven Reid (Independent Researcher) Repository: https://github.com/RRG314/rdt-kernel

Release files for rdt-kernel 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rdt-kernel 1.0.6
File Size Uploaded
rdt_kernel-1.0.6.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for rdt-kernel 1.0.6
File Interpreter ABI Platform
rdt_kernel-1.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 7.5 kB

Release files / rdt_kernel-1.0.6.tar.gz

Download URL rdt_kernel-1.0.6.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d30eb1c09cdf2bf478dffe4dce4d9a3ce8da29f6dbc1ca8b641ca5e3fb59444d
BLAKE2b-256 checksum
How to use checksums
3f697399def5df1005672effba62e7ddc7c041543ec9052fae349800b269304a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / rdt_kernel-1.0.6-py3-none-any.whl

Download URL rdt_kernel-1.0.6-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
841f34b81c42a57115b93bec713e1f0698a1e184fdbed262ae3f61daeb6054a1
BLAKE2b-256 checksum
How to use checksums
ec6fb01639e78f69d0551dd344dc36b601216bc9a8478388ca4068f6b2e02ef7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files

1.0.5

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page