Skip to content
This repository was archived by the owner on Sep 28, 2024. It is now read-only.

Use smarter truncation for Fourier Modes #117

@dynamic-queries

Description

@dynamic-queries

Problem
For the moment, the first $n_{i}$ fourier modes are truncated.
While this works well for most diffusion like problems, this fairs poorly for advection dominated ones.

Solution
Perform an rfftshift and truncate the modes about the center of the array.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions