www.cemf.ir
mapperNBSKernels.hpp
Go to the documentation of this file.
1 /*------------------------------- phasicFlow ---------------------------------
2  O C enter of
3  O O E ngineering and
4  O O M ultiscale modeling of
5  OOOOOOO F luid flow
6 ------------------------------------------------------------------------------
7  Copyright (C): www.cemf.ir
8  email: hamid.r.norouzi AT gmail.com
9 ------------------------------------------------------------------------------
10 Licence:
11  This file is part of phasicFlow code. It is a free software for simulating
12  granular and multiphase flows. You can redistribute it and/or modify it under
13  the terms of GNU General Public License v3 or any other later versions.
14 
15  phasicFlow is distributed to help others in their research in the field of
16  granular and multiphase flows, but WITHOUT ANY WARRANTY; without even the
17  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18 
19 -----------------------------------------------------------------------------*/
20 
21 #include "phasicFlowKokkos.hpp"
22 #include "cells.hpp"
23 #include "pointFlag.hpp"
24 
25 
27 {
28 
29 void findPointExtends(
30  const deviceViewType1D<realx3>& points,
31  const pFlagTypeDevice& flags,
32  realx3& minPoint,
33  realx3& maxPoint);
34 
35 bool buildListsReduce(
36  const cells& searchCell,
37  const deviceViewType3D<uint32>& head,
38  const deviceViewType1D<uint32>& next,
39  const deviceViewType1D<realx3>& points,
40  const pFlagTypeDevice& flags);
41 
42 bool buildLists(
43  const cells& searchCell,
44  const deviceViewType3D<uint32>& head,
45  const deviceViewType1D<uint32>& next,
46  const deviceViewType1D<realx3>& points,
47  const pFlagTypeDevice& flags);
48 
49 }
pFlow::mapperNBSKernels::buildLists
bool buildLists(const cells &searchCell, const deviceViewType3D< uint32 > &head, const deviceViewType1D< uint32 > &next, const deviceViewType1D< realx3 > &points, const pFlagTypeDevice &flags)
Definition: mapperNBSKernels.cpp:148
pFlow::mapperNBSKernels::findPointExtends
void findPointExtends(const deviceViewType1D< realx3 > &points, const pFlagTypeDevice &flags, realx3 &minPoint, realx3 &maxPoint)
Definition: mapperNBSKernels.cpp:27
pFlow::deviceViewType1D
Kokkos::View< T * > deviceViewType1D
1D array (vector) with default device (memory space and execution space)
Definition: KokkosTypes.hpp:121
phasicFlowKokkos.hpp
pFlow::mapperNBSKernels::buildListsReduce
bool buildListsReduce(const cells &searchCell, const deviceViewType3D< uint32 > &head, const deviceViewType1D< uint32 > &next, const deviceViewType1D< realx3 > &points, const pFlagTypeDevice &flags)
Definition: mapperNBSKernels.cpp:85
pFlow::deviceViewType3D
Kokkos::View< T ***, Layout, void > deviceViewType3D
3D view on device as an array on device
Definition: KokkosTypes.hpp:129
pFlow::mapperNBSKernels
Definition: mapperNBSKernels.hpp:26
pFlow::cells
Definition: cells.hpp:31
pFlow::triple< real >
pFlow::pointFlag< DefaultExecutionSpace >
pointFlag.hpp