milupHPC documentation
Namespaces | Functions
ParticlesNS Namespace Reference

Particle class related functions and kernels. More...

Namespaces

namespace  Kernel
 

Functions

__device__ bool applySphericalCriterion (SubDomainKeyTree *subDomainKeyTree, Tree *tree, Particles *particles, real d, int index)
 Check whether particle(s) are within sphere from simulation center. More...
 
__device__ bool applyCubicCriterion (SubDomainKeyTree *subDomainKeyTree, Tree *tree, Particles *particles, real d, int index)
 Check whether particle(s) are within cube from simulation center. More...
 

Detailed Description

Particle class related functions and kernels.

Function Documentation

◆ applyCubicCriterion()

__device__ bool ParticlesNS::applyCubicCriterion ( SubDomainKeyTree *  subDomainKeyTree,
Tree *  tree,
Particles *  particles,
real  d,
int  index 
)

Check whether particle(s) are within cube from simulation center.

Parameters
subDomainKeyTreeSubDomainKeyTree class instance
treeTree class instance
particlesParticles class instance
ddistance/cube length
indexParticle index within Particles class instance
Returns
Whether particle within cube from simulation center

Definition at line 2179 of file subdomain.cu.

+ Here is the call graph for this function:

◆ applySphericalCriterion()

__device__ bool ParticlesNS::applySphericalCriterion ( SubDomainKeyTree *  subDomainKeyTree,
Tree *  tree,
Particles *  particles,
real  d,
int  index 
)

Check whether particle(s) are within sphere from simulation center.

Parameters
subDomainKeyTreeSubDomainKeyTree class instance
treeTree class instance
particlesParticles class instance
ddistance/diameter/radius
indexParticle index within Particles class instance
Returns
Whether particle within sphere from simulation center

Definition at line 2161 of file subdomain.cu.

+ Here is the call graph for this function:

milupHPC - ParticlesNS Namespace Reference
Generated on Wed Aug 31 2022 12:16:53 by Doxygen 1.9.3