[Design] should the transforms move to functax if a second user needs them

Open
#173 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Refactor
Clarity
Clearly specified
Activity status
Active
Tech stack
python

Research direction

Read the decision and related issues #172 and geostack#62, then trace where spectraldiffx defines its transforms and grids and where functax owns bases and quadrature. The issue records Option A until a second user exists; done means recording that user here and revisiting whether the transforms and grids should move.

Written by the indexing model from the issue text.

Description

enhancement

Problem / Question

spectraldiffx keeps its grids because they are coupled to its transforms (#172). If another library needs the transforms without the solvers, do the transforms (and the grids with them) move to functax?

User Story

As a geonnax or functax maintainer, I want one home for a Fourier or spherical-harmonic transform, so that a basis and its transform are not defined twice.

Motivation

functax owns bases and quadrature; jejjohnson/geostack#62 already plans one Legendre algorithm with two homes across spectraldiffx and geonnax. The decision of 19 November 2026 was: keep them here, and migrate to functax only if necessary.

Proposed Options

Option A  keep transforms and grids here; functax imports nothing from spectraldiffx
Option B  move the transforms and their grids to functax; spectraldiffx keeps
          differentiation, advection and the elliptic solvers on top

Alternatives Considered

  • Option A — nothing moves; a second user imports spectraldiffx (GeoNumerics) from Core, which the layers forbid, so a Core user forces Option B.
  • Option B — one home in Core for transform and basis; the grids go with the transforms, since they are the transforms' nodes.

Decision

Option A until a second user exists. Record the user here when one appears.

Relationships

  • Parent (theme epic): jejjohnson/finitevolx#416
  • Related: #172, jejjohnson/geostack#62

Generated by Claude Code

Dominant language
Python
Stars
2
Forks
0
Avg merge
8h 13m
Merged PRs (30d)
8

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from jejjohnson/spectraldiffx

All issues in jejjohnson/spectraldiffx

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.