OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
SupportBuilder< vector_type, vector_type2 > Class Template Reference

Detailed Description

template<typename vector_type, typename vector_type2>
class SupportBuilder< vector_type, vector_type2 >

Definition at line 27 of file SupportBuilder.hpp.

Public Member Functions

 SupportBuilder (vector_type &domainFrom, vector_type2 &domainTo, const Point< vector_type::dims, unsigned int > differentialSignature, typename vector_type::stype rCut, bool is_interpolation)
 
 SupportBuilder (vector_type &domainFrom, vector_type2 &domainTo, unsigned int differentialSignature[vector_type::dims], typename vector_type::stype rCut, bool is_interpolation)
 
template<typename iterator_type >
Support getSupport (iterator_type itPoint, unsigned int requiredSize, support_options opt)
 
vector_type::stype getLastMinspacing ()
 
void setAdapFac (typename vector_type::stype fac)
 

Private Member Functions

size_t getCellLinId (const grid_key_dx< vector_type::dims > &cellKey)
 
size_t getNumElementsInCell (const grid_key_dx< vector_type::dims > &cellKey)
 
size_t getNumElementsInSetOfCells (const std::set< grid_key_dx< vector_type::dims > > &set)
 
void enlargeSetOfCellsUntilSize (std::set< grid_key_dx< vector_type::dims > > &set, unsigned int requiredSize, support_options opt)
 
std::vector< size_t > getPointsInSetOfCells (std::set< grid_key_dx< vector_type::dims > > set, vect_dist_key_dx &p, vect_dist_key_dx &pOrig, size_t requiredSupportSize, support_options opt)
 
bool isCellKeyInBounds (grid_key_dx< vector_type::dims > key)
 

Private Attributes

vector_typedomainFrom
 
vector_type2domainTo
 
decltype(std::declval< vector_type >().getCellList(0.0)) cellList
 
const Point< vector_type::dims, unsigned int > differentialSignature
 
vector_type::stype rCut
 
vector_type::stype MinSpacing
 
vector_type::stype AdapFac =1
 
bool is_interpolation
 

Constructor & Destructor Documentation

◆ SupportBuilder() [1/2]

template<typename vector_type , typename vector_type2 >
SupportBuilder< vector_type, vector_type2 >::SupportBuilder ( vector_type domainFrom,
vector_type2 domainTo,
const Point< vector_type::dims, unsigned int >  differentialSignature,
typename vector_type::stype  rCut,
bool  is_interpolation 
)
inline

Definition at line 38 of file SupportBuilder.hpp.

◆ SupportBuilder() [2/2]

template<typename vector_type , typename vector_type2 >
SupportBuilder< vector_type, vector_type2 >::SupportBuilder ( vector_type domainFrom,
vector_type2 domainTo,
unsigned int  differentialSignature[vector_type::dims],
typename vector_type::stype  rCut,
bool  is_interpolation 
)
inline

Definition at line 49 of file SupportBuilder.hpp.

Member Function Documentation

◆ enlargeSetOfCellsUntilSize()

template<typename vector_type , typename vector_type2 >
void SupportBuilder< vector_type, vector_type2 >::enlargeSetOfCellsUntilSize ( std::set< grid_key_dx< vector_type::dims > > &  set,
unsigned int  requiredSize,
support_options  opt 
)
inlineprivate

Definition at line 114 of file SupportBuilder.hpp.

◆ getCellLinId()

template<typename vector_type , typename vector_type2 >
size_t SupportBuilder< vector_type, vector_type2 >::getCellLinId ( const grid_key_dx< vector_type::dims > &  cellKey)
inlineprivate

Definition at line 95 of file SupportBuilder.hpp.

◆ getLastMinspacing()

template<typename vector_type , typename vector_type2 >
vector_type::stype SupportBuilder< vector_type, vector_type2 >::getLastMinspacing ( )
inline

Definition at line 85 of file SupportBuilder.hpp.

◆ getNumElementsInCell()

template<typename vector_type , typename vector_type2 >
size_t SupportBuilder< vector_type, vector_type2 >::getNumElementsInCell ( const grid_key_dx< vector_type::dims > &  cellKey)
inlineprivate

Definition at line 100 of file SupportBuilder.hpp.

◆ getNumElementsInSetOfCells()

template<typename vector_type , typename vector_type2 >
size_t SupportBuilder< vector_type, vector_type2 >::getNumElementsInSetOfCells ( const std::set< grid_key_dx< vector_type::dims > > &  set)
inlineprivate

Definition at line 106 of file SupportBuilder.hpp.

◆ getPointsInSetOfCells()

template<typename vector_type , typename vector_type2 >
std::vector< size_t > SupportBuilder< vector_type, vector_type2 >::getPointsInSetOfCells ( std::set< grid_key_dx< vector_type::dims > >  set,
vect_dist_key_dx p,
vect_dist_key_dx pOrig,
size_t  requiredSupportSize,
support_options  opt 
)
inlineprivate

Definition at line 157 of file SupportBuilder.hpp.

◆ getSupport()

template<typename vector_type , typename vector_type2 >
template<typename iterator_type >
Support SupportBuilder< vector_type, vector_type2 >::getSupport ( iterator_type  itPoint,
unsigned int  requiredSize,
support_options  opt 
)
inline

Definition at line 56 of file SupportBuilder.hpp.

◆ isCellKeyInBounds()

template<typename vector_type , typename vector_type2 >
bool SupportBuilder< vector_type, vector_type2 >::isCellKeyInBounds ( grid_key_dx< vector_type::dims key)
inlineprivate

Definition at line 232 of file SupportBuilder.hpp.

◆ setAdapFac()

template<typename vector_type , typename vector_type2 >
void SupportBuilder< vector_type, vector_type2 >::setAdapFac ( typename vector_type::stype  fac)
inline

Definition at line 89 of file SupportBuilder.hpp.

Field Documentation

◆ AdapFac

template<typename vector_type , typename vector_type2 >
vector_type::stype SupportBuilder< vector_type, vector_type2 >::AdapFac =1
private

Definition at line 33 of file SupportBuilder.hpp.

◆ cellList

template<typename vector_type , typename vector_type2 >
decltype(std::declval<vector_type>().getCellList(0.0)) SupportBuilder< vector_type, vector_type2 >::cellList
private

Definition at line 31 of file SupportBuilder.hpp.

◆ differentialSignature

template<typename vector_type , typename vector_type2 >
const Point<vector_type::dims, unsigned int> SupportBuilder< vector_type, vector_type2 >::differentialSignature
private

Definition at line 32 of file SupportBuilder.hpp.

◆ domainFrom

template<typename vector_type , typename vector_type2 >
vector_type& SupportBuilder< vector_type, vector_type2 >::domainFrom
private

Definition at line 29 of file SupportBuilder.hpp.

◆ domainTo

template<typename vector_type , typename vector_type2 >
vector_type2& SupportBuilder< vector_type, vector_type2 >::domainTo
private

Definition at line 30 of file SupportBuilder.hpp.

◆ is_interpolation

template<typename vector_type , typename vector_type2 >
bool SupportBuilder< vector_type, vector_type2 >::is_interpolation
private

Definition at line 34 of file SupportBuilder.hpp.

◆ MinSpacing

template<typename vector_type , typename vector_type2 >
vector_type::stype SupportBuilder< vector_type, vector_type2 >::MinSpacing
private

Definition at line 33 of file SupportBuilder.hpp.

◆ rCut

template<typename vector_type , typename vector_type2 >
vector_type::stype SupportBuilder< vector_type, vector_type2 >::rCut
private

Definition at line 33 of file SupportBuilder.hpp.


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