MCPcopy Index your code
hub / github.com/DedalusProject/dedalus

github.com/DedalusProject/dedalus @v3.0.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.0.5 ↗ · + Follow
2,637 symbols 9,721 edges 112 files 907 documented · 34%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Dedalus Project

Repo status Read the Docs PyPI - Python Version PyPI Conda Version PyPI - License

Dedalus is a flexible framework for solving partial differential equations using modern spectral methods. The code is open-source and developed by a team of researchers studying astrophysical, geophysical, and biological fluid dynamics.

Dedalus is written primarily in Python and features an easy-to-use interface with symbolic vectorial equation specification. For example, to simulate incompressible hydrodynamics in a ball, you can symbolically enter the equations, including gauge conditions and boundary conditions enforced with the tau method, as:

problem.add_equation("div(u) + tau_p = 0")
problem.add_equation("dt(u) - nu*lap(u) + grad(p) + lift(tau_u) = - u@grad(u)")
problem.add_equation("u(r=1) = 0")
problem.add_equation("integ(p) = 0")

Our numerical algorithms produce sparse and spectrally accurate discretizations of PDEs on simple domains, including Cartesian domains of any dimension, disks, annuli, spheres, spherical shells, and balls:

KdV-Burgers equation (1D IVP)
Rayleigh-Benard convection (2D IVP)
Periodic shear flow (2D IVP)
Poisson equation (2D LBVP)
Librational instability (disk IVP)
Spherical shallow water (sphere IVP)
Spherical shell convection (shell IVP)
Internally heated convection (ball IVP)

The resulting systems are efficiently solved using compiled libraries and are automatically parallelized using MPI. See the documentation for tutorials and additional examples.

Links

Developers

Core symbols most depended-on inside this repo

Field
called by 455
dedalus/core/distributor.py
add_equation
called by 251
dedalus/core/problems.py
evaluate
called by 250
dedalus/core/future.py
array
called by 231
dedalus/libraries/dedalus_sphere/spin_operators.py
preset_scales
called by 160
dedalus/core/field.py
zeros
called by 135
dedalus/libraries/dedalus_sphere/sphere_wrapper.py
VectorField
called by 88
dedalus/core/distributor.py
change_scales
called by 81
dedalus/core/field.py

Shape

Method 1,734
Function 556
Class 340
Route 7

Languages

Python100%

Modules by API surface

dedalus/core/basis.py584 symbols
dedalus/core/operators.py448 symbols
dedalus/core/transforms.py125 symbols
dedalus/core/field.py103 symbols
dedalus/core/arithmetic.py92 symbols
dedalus/core/evaluator.py66 symbols
dedalus/core/distributor.py61 symbols
dedalus/core/coords.py59 symbols
dedalus/libraries/matsolvers.py55 symbols
dedalus/libraries/dedalus_sphere/operators.py44 symbols
dedalus/tests/test_transforms.py41 symbols
dedalus/libraries/dedalus_sphere/ball_wrapper.py41 symbols

For agents

$ claude mcp add dedalus \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact