SHTns球面谐波转换库
SHTns 是一个高性能的球面谐波转换库。它的目的是在球面几何图形上进行各种数值模拟(流体流动,MHD等)。通过细致的向量化处理和运行时调整可达到很高的性能。使用 OpenMP 支持多线程转换。提供标量和矢量变换、合成和分析,灵活截断,规范化。包含一个Python接口。
示例代码:
SHTns is high-performance Spherical Harmonic Transform library. It is aimed at numerical simulation (fluid flows, mhd, etc.) in spherical geometries. It is very fast, thanks to careful vectorization and runtime tuning. It supports multi-threaded transforms via OpenMP. It features scalar and vector transforms, synthesis and analysis, flexible truncation, and normalization. A Python interface is included.
评论