milupHPC documentation
  • Physics
  • Kernel
Namespaces | Functions
Physics::Kernel Namespace Reference

Namespaces

namespace  Launch
 

Functions

template<unsigned int blockSize>
__global__ void calculateAngularMomentumBlockwise (Particles *particles, real *outputData, int n)
 Calculate angular momentum for all particles (per block). More...
 
template<unsigned int blockSize>
__global__ void sumAngularMomentum (const real *indata, real *outdata)
 Calculate angular momentum: sum over blocks. More...
 
__global__ void kineticEnergy (Particles *particles, int n)
 Calculate kinetic energy. More...
 

Function Documentation

◆ calculateAngularMomentumBlockwise()

template<unsigned int blockSize>
__global__ void Physics::Kernel::calculateAngularMomentumBlockwise ( Particles *  particles,
real *  outputData,
int  n 
)

Calculate angular momentum for all particles (per block).

‍Corresponding wrapper function: Physics::Kernel::Launch::calculateAngularMomentumBlockwise()

Template Parameters

in] blockSize

Parameters
[in]particles
[out]outputData
[in]n

Definition at line 2428 of file subdomain.cu.

◆ kineticEnergy()

__global__ void Physics::Kernel::kineticEnergy ( Particles *  particles,
int  n 
)

Calculate kinetic energy.

‍Corresponding wrapper function: Physics::Kernel::Launch::kineticEnergy()

Parameters
particles
n

Definition at line 2598 of file subdomain.cu.

+ Here is the call graph for this function:

◆ sumAngularMomentum()

template<unsigned int blockSize>
__global__ void Physics::Kernel::sumAngularMomentum ( const real *  indata,
real *  outdata 
)

Calculate angular momentum: sum over blocks.

‍Corresponding wrapper function: Physics::Kernel::Launch::sumAngularMomentum()

Template Parameters

in] blockSize

Parameters
[in]indata
[out]outdata

Definition at line 2576 of file subdomain.cu.


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