8#ifndef MILUPHPC_DEVICE_PREDICTOR_CORRECTOR_EULER_CUH
9#define MILUPHPC_DEVICE_PREDICTOR_CORRECTOR_EULER_CUH
11#include "../particles.cuh"
12#include "../materials/material.cuh"
13#include "../simulation_time.cuh"
68 namespace BlockSharedNS {
Particle(s) class based on SoA (Structur of Arrays).
#define CUDA_CALLABLE_MEMBER
void setE(BlockShared *blockShared, real *e)
void setVmax(BlockShared *blockShared, real *vmax)
void setRho(BlockShared *blockShared, real *e)
void set(BlockShared *blockShared, real *forces, real *courant, real *artVisc)
__global__ void setVmax(BlockShared *blockShared, real *vmax)
__global__ void set(BlockShared *blockShared, real *forces, real *courant, real *artVisc)
__global__ void setRho(BlockShared *blockShared, real *e)
__global__ void setE(BlockShared *blockShared, real *e)
real setTimeStep(int multiProcessorCount, SimulationTime *simulationTime, Material *materials, Particles *particles, BlockShared *blockShared, int *blockCount, real searchRadius, int numParticles)
Wrapper for PredictorCorrectorEulerNS::Kernel::setTimeStep().
real predictor(Particles *particles, IntegratedParticles *predictor, real dt, int numParticles)
Wrapper for PredictorCorrectorEulerNS::Kernel::predictor().
real pressureChangeCheck()
real corrector(Particles *particles, IntegratedParticles *predictor, real dt, int numParticles)
Wrapper for PredictorCorrectorEulerNS::Kernel::corrector().
__global__ void corrector(Particles *particles, IntegratedParticles *predictor, real dt, int numParticles)
Corrector step.
__global__ void setTimeStep(SimulationTime *simulationTime, Material *materials, Particles *particles, BlockShared *blockShared, int *blockCount, int numParticles)
Setting correct time step.
__global__ void predictor(Particles *particles, IntegratedParticles *predictor, real dt, int numParticles)
Predictor step.
void set(Shared *shared, real *forces, real *courant, real *artVisc)
void setRho(Shared *shared, real *rho)
void setE(Shared *shared, real *e)
void setVmax(Shared *shared, real *vmax)
__global__ void setRho(Shared *shared, real *rho)
__global__ void setVmax(Shared *shared, real *vmax)
__global__ void setE(Shared *shared, real *e)
__global__ void set(Shared *shared, real *forces, real *courant, real *artVisc)
predictor corrector euler (Heun) integrator
const char *const numParticles
CUDA_CALLABLE_MEMBER void setRho(real *rho)
CUDA_CALLABLE_MEMBER ~BlockShared()
CUDA_CALLABLE_MEMBER void set(real *forces, real *courant, real *artVisc)
CUDA_CALLABLE_MEMBER void setE(real *e)
CUDA_CALLABLE_MEMBER void setVmax(real *vmax)
CUDA_CALLABLE_MEMBER BlockShared()
CUDA_CALLABLE_MEMBER Shared()
CUDA_CALLABLE_MEMBER void setVmax(real *vmax)
CUDA_CALLABLE_MEMBER void setE(real *e)
CUDA_CALLABLE_MEMBER ~Shared()
CUDA_CALLABLE_MEMBER void setRho(real *rho)
CUDA_CALLABLE_MEMBER void set(real *forces, real *courant, real *artVisc)