Chaste Commit::1fd4e48e3990e67db148bc1bc4cf6991a0049d0c
|
#include <ImmersedBoundaryFftInterface.hpp>
Public Member Functions | |
ImmersedBoundaryFftInterface (ImmersedBoundaryMesh< DIM, DIM > *pMesh, double *pIn, std::complex< double > *pComplex, double *pOut, bool activeSources) | |
ImmersedBoundaryFftInterface ()=delete | |
virtual | ~ImmersedBoundaryFftInterface () |
void | FftExecuteForward () |
void | FftExecuteInverse () |
Protected Attributes | |
ImmersedBoundaryMesh< DIM, DIM > * | mpMesh |
double * | mpInputArray |
std::complex< double > * | mpComplexArray |
double * | mpOutputArray |
pocketfft::shape_t | mRealDims |
pocketfft::shape_t | mCompDims |
unsigned | mHowManyForward |
unsigned | mHowManyInverse |
int | mRealSep |
int | mCompSep |
long int | mRealStride |
long int | mCompStride |
Friends | |
class | TestImmersedBoundaryFftInterface |
A class to interface with discrete Fourier transform libraries and perform the necessary transforms for immersed boundary simulations.
Definition at line 49 of file ImmersedBoundaryFftInterface.hpp.
ImmersedBoundaryFftInterface< DIM >::ImmersedBoundaryFftInterface | ( | ImmersedBoundaryMesh< DIM, DIM > * | pMesh, |
double * | pIn, | ||
std::complex< double > * | pComplex, | ||
double * | pOut, | ||
bool | activeSources | ||
) |
Default constructor.
pMesh | the immersed boundary mesh |
pIn | pointer to the input array |
pComplex | pointer to the complex number array |
pOut | pointer to the output array |
activeSources | whether the population has active fluid sources |
Definition at line 42 of file ImmersedBoundaryFftInterface.cpp.
References ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::GetNumGridPtsX(), ImmersedBoundaryMesh< ELEMENT_DIM, SPACE_DIM >::GetNumGridPtsY(), ImmersedBoundaryFftInterface< DIM >::mCompDims, ImmersedBoundaryFftInterface< DIM >::mCompSep, ImmersedBoundaryFftInterface< DIM >::mCompStride, ImmersedBoundaryFftInterface< DIM >::mHowManyForward, ImmersedBoundaryFftInterface< DIM >::mHowManyInverse, ImmersedBoundaryFftInterface< DIM >::mpMesh, ImmersedBoundaryFftInterface< DIM >::mRealDims, ImmersedBoundaryFftInterface< DIM >::mRealSep, and ImmersedBoundaryFftInterface< DIM >::mRealStride.
|
delete |
Empty constructor.
|
virtual |
Destructor.
Definition at line 88 of file ImmersedBoundaryFftInterface.cpp.
void ImmersedBoundaryFftInterface< DIM >::FftExecuteForward | ( | ) |
Performs forward fourier transforms
Definition at line 93 of file ImmersedBoundaryFftInterface.cpp.
void ImmersedBoundaryFftInterface< DIM >::FftExecuteInverse | ( | ) |
Performs inverse fourier transforms
Definition at line 107 of file ImmersedBoundaryFftInterface.cpp.
|
friend |
Definition at line 122 of file ImmersedBoundaryFftInterface.hpp.
|
protected |
Dimensions of the complex arrays
Definition at line 69 of file ImmersedBoundaryFftInterface.hpp.
Referenced by ImmersedBoundaryFftInterface< DIM >::ImmersedBoundaryFftInterface().
|
protected |
Number of elements in each complex array
Definition at line 81 of file ImmersedBoundaryFftInterface.hpp.
Referenced by ImmersedBoundaryFftInterface< DIM >::ImmersedBoundaryFftInterface().
|
protected |
Distance between each element in the complex arrays in bytes
Definition at line 87 of file ImmersedBoundaryFftInterface.hpp.
Referenced by ImmersedBoundaryFftInterface< DIM >::ImmersedBoundaryFftInterface().
|
protected |
How many forward transforms to execute
Definition at line 72 of file ImmersedBoundaryFftInterface.hpp.
Referenced by ImmersedBoundaryFftInterface< DIM >::ImmersedBoundaryFftInterface().
|
protected |
How many inverse transofrms to execute
Definition at line 75 of file ImmersedBoundaryFftInterface.hpp.
Referenced by ImmersedBoundaryFftInterface< DIM >::ImmersedBoundaryFftInterface().
|
protected |
Pointer to the start of Fourier domain.
Definition at line 60 of file ImmersedBoundaryFftInterface.hpp.
|
protected |
Pointer to the start of the input arrays.
Definition at line 57 of file ImmersedBoundaryFftInterface.hpp.
|
protected |
The immersed boundary mesh.
Definition at line 54 of file ImmersedBoundaryFftInterface.hpp.
Referenced by ImmersedBoundaryFftInterface< DIM >::ImmersedBoundaryFftInterface().
|
protected |
Pointer to the start output array.
Definition at line 63 of file ImmersedBoundaryFftInterface.hpp.
|
protected |
Dimensions of the real arrays
Definition at line 66 of file ImmersedBoundaryFftInterface.hpp.
Referenced by ImmersedBoundaryFftInterface< DIM >::ImmersedBoundaryFftInterface().
|
protected |
Number of elements in each real array
Definition at line 78 of file ImmersedBoundaryFftInterface.hpp.
Referenced by ImmersedBoundaryFftInterface< DIM >::ImmersedBoundaryFftInterface().
|
protected |
Distance between each element in the real arrays in bytes
Definition at line 84 of file ImmersedBoundaryFftInterface.hpp.
Referenced by ImmersedBoundaryFftInterface< DIM >::ImmersedBoundaryFftInterface().