1#include "../../include/materials/material.cuh"
2#include "../../include/cuda_utils/cuda_launcher.cuh"
13 printf(
"Material: ID = %i\n",
ID);
14 printf(
"Material: sml = %f\n",
sml);
17 printf(
"Material: eos: type = %i\n",
eos.
type);
48 polytropic_K(polytropic_K), polytropic_gamma(polytropic_gamma) {
Execution policy/instruction for CUDA kernel execution.
CUDA_CALLABLE_MEMBER Material()
ArtificialViscosity artificialViscosity
CUDA_CALLABLE_MEMBER void info()
CUDA_CALLABLE_MEMBER ~Material()
#define CUDA_CALLABLE_MEMBER
void info(Material *material)
Wrapper for MaterialNS::Kernel::info().
__global__ void info(Material *material)
Debug kernel giving information about material(s).
Material related functions and kernels.
real launch(bool timeKernel, const ExecutionPolicy &policy, void(*f)(Arguments...), Arguments... args)
CUDA execution wrapper function.
real alpha
Artificial viscosity .
CUDA_CALLABLE_MEMBER ArtificialViscosity()
CUDA_CALLABLE_MEMBER EqOfSt()