waLBerla 7.2
Loading...
Searching...
No Matches
ParticleAndVolumeFractionMappingKernels.h File Reference

Detailed Description

#include "core/DataTypes.h"
#include "core/math/Vector3.h"
#include "gpu/FieldAccessor.h"

Namespaces

namespace  walberla
 Storage for detected contacts which can be used to perform actions for all contacts, e.g.
 
namespace  walberla::lbm_mesapd_coupling
 
namespace  walberla::lbm_mesapd_coupling::psm
 
namespace  walberla::lbm_mesapd_coupling::psm::gpu
 

Functions

template<int Weighting_T>
__global__ void walberla::lbm_mesapd_coupling::psm::gpu::superSampling (walberla::gpu::FieldAccessor< uint_t > nOverlappingParticlesField, walberla::gpu::FieldAccessor< real_t > BsField, walberla::gpu::FieldAccessor< id_t > idxField, walberla::gpu::FieldAccessor< real_t > BField, const real_t omega, const real_t *__restrict__ const spherePositions, const real_t *__restrict__ const sphereRadii, const double3 blockStart, const real_t dx, const int3 nSamples, const size_t *__restrict__ const numParticlesSubBlocks, const size_t *__restrict__ const particleIDsSubBlocks, const uint3 subBlocksPerDim)
 
template<int Weighting_T>
__global__ void walberla::lbm_mesapd_coupling::psm::gpu::linearApproximation (walberla::gpu::FieldAccessor< uint_t > nOverlappingParticlesField, walberla::gpu::FieldAccessor< real_t > BsField, walberla::gpu::FieldAccessor< id_t > idxField, walberla::gpu::FieldAccessor< real_t > BField, const real_t omega, const real_t *__restrict__ const spherePositions, const real_t *__restrict__ const sphereRadii, const real_t *__restrict__ const f_rs, const double3 blockStart, const real_t dx, const size_t *__restrict__ const numParticlesSubBlocks, const size_t *__restrict__ const particleIDsSubBlocks, const uint3 subBlocksPerDim)
 
template<int Weighting_T>
__global__ void walberla::lbm_mesapd_coupling::psm::gpu::boxMapping (walberla::gpu::FieldAccessor< uint_t > nOverlappingParticlesField, walberla::gpu::FieldAccessor< real_t > BsField, walberla::gpu::FieldAccessor< id_t > idxField, walberla::gpu::FieldAccessor< real_t > BField, const real_t omega, const double3 boxPositionMin, const double3 boxPositionMax, const double3 blockStart, const real_t dx, const id_t idxMapped)