IPPL API Reference
Independent Parallel Particle Layer C++ API
Loading...
Searching...
No Matches
ippl::FFT< CosTransform, Field > Class Template Reference

#include <FFT.h>

+ Inheritance diagram for ippl::FFT< CosTransform, Field >:
+ Collaboration diagram for ippl::FFT< CosTransform, Field >:

Public Member Functions

void warmup (Field &f)
 
void transform (TransformDirection direction, Field &f)
 

Detailed Description

template<typename Field>
class ippl::FFT< CosTransform, Field >

Cosine transform class

Member Function Documentation

◆ transform()

template<typename Field >
void ippl::FFT< CosTransform, Field >::transform ( TransformDirection  direction,
Field f 
)

Perform in-place FFT

Parameters
directionForward or backward transformation
fField whose transformation to compute (and overwrite)

This copy to a temporary Kokkos view is needed because of following reasons: 1) heffte wants the input and output fields without ghost layers 2) heffte accepts data in layout left (by default) eventhough this can be changed during heffte box creation

◆ warmup()

template<typename Field >
void ippl::FFT< CosTransform, Field >::warmup ( Field f)

Warmup the FFT object by forward & backward FFT on an empty field

Parameters
fField whose transformation to compute (and overwrite)

The documentation for this class was generated from the following files: