www.cemf.ir
sphereParticlesKernels.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 #ifndef __sphereParticlesKernels_hpp__
22 #define __sphereParticlesKernels_hpp__
23 
24 #include "types.hpp"
25 #include "pointFlag.hpp"
26 
28 {
29 
31  deviceViewType1D<uint32> shapeIndex,
33  deviceViewType1D<real> diameter,
35  deviceViewType1D<uint32> propertyId,
36  pFlagTypeDevice incld,
37  deviceViewType1D<real> src_mass,
38  deviceViewType1D<real> src_diameter,
40  deviceViewType1D<uint32> src_propertyId
41 );
42 
43 void acceleration(
44  const realx3& g,
45  const deviceViewType1D<real>& mass,
46  const deviceViewType1D<realx3>& force,
47  const deviceViewType1D<real>& I,
48  const deviceViewType1D<realx3>& torque,
49  const pFlagTypeDevice& incld,
52 );
53 
54 
55 }
56 
57 #endif
pFlow::sphereParticlesKernels::acceleration
void acceleration(const realx3 &g, const deviceViewType1D< real > &mass, const deviceViewType1D< realx3 > &force, const deviceViewType1D< real > &I, const deviceViewType1D< realx3 > &torque, const pFlagTypeDevice &incld, deviceViewType1D< realx3 > lAcc, deviceViewType1D< realx3 > rAcc)
Definition: sphereParticlesKernels.cpp:61
types.hpp
pFlow::deviceViewType1D
Kokkos::View< T * > deviceViewType1D
1D array (vector) with default device (memory space and execution space)
Definition: KokkosTypes.hpp:121
pFlow::sphereParticlesKernels
Definition: sphereParticlesKernels.hpp:27
pFlow::sphereParticlesKernels::addMassDiamInertiaProp
void addMassDiamInertiaProp(deviceViewType1D< uint32 > shapeIndex, deviceViewType1D< real > mass, deviceViewType1D< real > diameter, deviceViewType1D< real > I, deviceViewType1D< uint32 > propertyId, pFlagTypeDevice incld, deviceViewType1D< real > src_mass, deviceViewType1D< real > src_diameter, deviceViewType1D< real > src_I, deviceViewType1D< uint32 > src_propertyId)
Definition: sphereParticlesKernels.cpp:28
pFlow::triple< real >
pFlow::pointFlag< DefaultExecutionSpace >
pointFlag.hpp