ls1-MarDyn
ls1-MarDyn molecular dynamics code
Public Member Functions | Protected Attributes | List of all members
TransferFunctionManager Class Reference

#include <TransferFunctionManager.h>

Inheritance diagram for TransferFunctionManager:
TransferFunctionManagerAPI

Public Member Functions

 TransferFunctionManager (int ord, FFTAccelerationAPI *FFTA, bool verbose)
 
virtual ~TransferFunctionManager ()
 virtual destructor since inheriting classes will be upcasted
 
FFTDataContainergetTransferFunction (int x, int y, int z, double cell_size_x, double cell_size_y, double cell_size_z)
 

Protected Attributes

int _ord
 
bool _verbose
 
int _asked
 
int _builded
 
FFTAccelerationAPI_FFTAcceleration
 

Detailed Description

Class managing the TransferFunction To use in the main M2L loop to get the FFTDataContainer* transferfunction required by the FFTAcceleration's M2L

Delegate FFT conversions and handling of the true implementation of the abstract FFTDataContainer to a FFTAcceleration

Constructor & Destructor Documentation

◆ TransferFunctionManager()

TransferFunctionManager::TransferFunctionManager ( int  ord,
FFTAccelerationAPI FFTA,
bool  verbose 
)

Constructor

Parameters
intord, order of the expansions
FFTAcceleration*FFTA, FFTAcceleration implementation used for the FMM
boolverbose, output some stats during destruction
boolv_child, as a verbose child that will be upcasted, shouldn't be verbose at this level

Member Function Documentation

◆ getTransferFunction()

FFTDataContainer * TransferFunctionManager::getTransferFunction ( int  x,
int  y,
int  z,
double  cell_size_x,
double  cell_size_y,
double  cell_size_z 
)
virtual

get a transfer function corresponding the the input vector

Parameters
utils::Vector<double,3>r, vector between the source and the target
Returns
FFTDataContainer*, the transfer function

Implements TransferFunctionManagerAPI.


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