milupHPC documentation
include
sph
pressure.cuh
Go to the documentation of this file.
1
11
#ifndef MILUPHPC_PRESSURE_CUH
12
#define MILUPHPC_PRESSURE_CUH
13
14
#include "../particles.cuh"
15
#include "../parameter.h"
16
#include "../materials/material.cuh"
17
#include "
cuda_utils/cuda_utilities.cuh
"
18
#include "
cuda_utils/cuda_runtime.h
"
19
20
class
pressure
{
21
22
};
23
25
namespace
EOS
{
35
__device__
void
polytropicGas
(
Material
*materials,
Particles
*particles,
int
index);
36
46
__device__
void
isothermalGas
(
Material
*materials,
Particles
*particles,
int
index);
47
57
__device__
void
idealGas
(
Material
*materials,
Particles
*particles,
int
index);
58
}
59
60
namespace
SPH
{
61
namespace
Kernel
{
71
__global__
void
calculatePressure
(
Material
*materials,
Particles
*particles,
int
numParticles
);
72
73
namespace
Launch {
82
real
calculatePressure
(
Material
*materials,
Particles
*particles,
int
numParticles
);
83
}
84
}
85
86
}
87
88
89
90
91
#endif
//MILUPHPC_PRESSURE_CUH
Material
Material parameters.
Definition:
material.cuh:88
Particles
Particle(s) class based on SoA (Structur of Arrays).
Definition:
particles.cuh:50
pressure
Definition:
pressure.cuh:20
cuda_runtime.h
CUDA runtime functionalities and wrappers.
cuda_utilities.cuh
CUDA utilities.
EOS
Equation of states.
Definition:
pressure.cuh:25
EOS::polytropicGas
__device__ void polytropicGas(Material *materials, Particles *particles, int index)
Polytropic gas.
Definition:
pressure.cu:6
EOS::idealGas
__device__ void idealGas(Material *materials, Particles *particles, int index)
Ideal gas.
Definition:
pressure.cu:22
EOS::isothermalGas
__device__ void isothermalGas(Material *materials, Particles *particles, int index)
Isothermal gas.
Definition:
pressure.cu:17
Kernel
Definition:
device_rhs.cuh:7
ProfilerIds::numParticles
const char *const numParticles
Definition:
h5profiler.h:29
SPH::Kernel::Launch::calculatePressure
real calculatePressure(Material *materials, Particles *particles, int numParticles)
Wrapper for SPH::Kernel::calculatePressure().
Definition:
pressure.cu:80
SPH::Kernel::calculatePressure
__global__ void calculatePressure(Material *materials, Particles *particles, int numParticles)
Calculate the pressure.
Definition:
pressure.cu:43
SPH
SPH related functions and kernels.
Definition:
density.cuh:23
real
double real
Definition:
parameter.h:15
milupHPC - include/sph/pressure.cuh Source File
Generated on Wed Aug 31 2022 12:16:52 by
Doxygen
1.9.3