OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
ModelSquare Struct Reference

Linear model. More...

Detailed Description

Linear model.

The linear model count each particle as weight one

Definition at line 47 of file LB_Model.hpp.

#include <LB_Model.hpp>

Public Member Functions

template<typename Decomposition , typename vector >
void addComputation (Decomposition &dec, const vector &vd, size_t v, size_t p)
 
template<typename Decomposition >
void applyModel (Decomposition &dec, size_t v)
 
double distributionTol ()
 

Data Fields

size_t factor = 1
 

Member Function Documentation

◆ addComputation()

template<typename Decomposition , typename vector >
void ModelSquare::addComputation ( Decomposition dec,
const vector &  vd,
size_t  v,
size_t  p 
)
inline

Definition at line 51 of file LB_Model.hpp.

◆ applyModel()

template<typename Decomposition >
void ModelSquare::applyModel ( Decomposition dec,
size_t  v 
)
inline

Definition at line 56 of file LB_Model.hpp.

◆ distributionTol()

double ModelSquare::distributionTol ( )
inline

Definition at line 61 of file LB_Model.hpp.

Field Documentation

◆ factor

size_t ModelSquare::factor = 1

Definition at line 49 of file LB_Model.hpp.


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