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

Linear model. More...

Detailed Description

Linear model.

The linear model count each particle as weight one

Definition at line 16 of file LB_Model.hpp.

#include <LB_Model.hpp>

Public Member Functions

 ModelLin (size_t factor)
 
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
 

Constructor & Destructor Documentation

◆ ModelLin() [1/2]

ModelLin::ModelLin ( size_t  factor)
inline

Definition at line 20 of file LB_Model.hpp.

◆ ModelLin() [2/2]

ModelLin::ModelLin ( )
inline

Definition at line 24 of file LB_Model.hpp.

Member Function Documentation

◆ addComputation()

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

Definition at line 26 of file LB_Model.hpp.

◆ applyModel()

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

Definition at line 31 of file LB_Model.hpp.

◆ distributionTol()

double ModelLin::distributionTol ( )
inline

Definition at line 36 of file LB_Model.hpp.

Field Documentation

◆ factor

size_t ModelLin::factor = 1

Definition at line 18 of file LB_Model.hpp.


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