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

#include <TransferFunctionManager_UniformGrid.h>

Inheritance diagram for TransferFunctionManager_UniformGrid:
TransferFunctionManagerAPI

Public Member Functions

 TransferFunctionManager_UniformGrid (int ord, FFTAccelerationAPI *FFTA, bool verbose)
 Constructor, create the storage and call buildTransferFunction() to set it. More...
 
 ~TransferFunctionManager_UniformGrid ()
 destructor, clean the storage (free all memory used)
 
FFTDataContainergetTransferFunction (int x, int y, int z, double cell_size_x, double cell_size_y, double cell_size_z)
 

Detailed Description

Uniform grid variant of the generalist TransferFunctionManager class Use precomputation since they are only ~300 different tf to be used Rescaling is implied and required

Constructor & Destructor Documentation

◆ TransferFunctionManager_UniformGrid()

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

Constructor, create the storage and call buildTransferFunction() to set it.

Constructor, set the storage.

Member Function Documentation

◆ getTransferFunction()

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

get the transfer function, x,y,z are cell coordinate differences in a 3d cell storage, -3 <= x,y,z <= 3 assumes cell_size_x, cell_size_y, cell_size_z = 2/sqrt(3)

Implements TransferFunctionManagerAPI.


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