SHTns是一个高性能的球面谐波转换库。它的目的是在球面几何图形上进行各种数值模拟(流体流动,MHD等)。通过细致的向量化处理和运行时调整可达到很高的性能。使用OpenMP支持多线程转换。提供标量和矢量变换、合成和分析,灵活截断,规范化。包含一个Python接口。
示例代码:
SHT_example.cSHT_example.fSHT_example.pySHTnsishigh-performanceSphericalHarmonicTransformlibrary.Itisaimedatnumericalsimulation(fluidflows,mhd,etc.)insphericalgeometries.Itisveryfast,thankstocarefulvectorizationandruntimetuning.Itsupportsmulti-threadedtransformsviaOpenMP.Itfeaturesscalarandvectortransforms,synthesisandanalysis,flexibletruncation,andnormalization.APythoninterfaceisincluded.
评论