iMSTK
Interactive Medical Simulation Toolkit
|
Class that holds the SPH model parameters. More...
#include <imstkSphModel.h>
Public Member Functions | |
SphModelConfig (const double particleRadius) | |
SphModelConfig (const double particleRadius, const double speedOfSound, const double restDensity) | |
Public Attributes | |
double | m_minTimestep = 1.0e-6 |
double | m_maxTimestep = 1.0e-3 |
double | m_cflFactor = 1.0 |
double | m_particleRadius = 0.0 |
double | m_particleRadiusSqr = 0.0 |
double | m_restDensity = 1000.0 |
double | m_restDensitySqr = 1000000.0 |
double | m_restDensityInv = 1.0 / 1000.0 |
double | m_particleMass = 1.0 |
double | m_particleMassScale = 1.0 |
scale particle mass to a smaller value to maintain stability | |
double | m_eta = 0.5 |
proportion of position change due to neighbors velocity (XSPH method) | |
bool | m_bNormalizeDensity = false |
bool | m_bDensityWithBoundary = false |
double | m_pressureStiffness = 50000.0 |
double | m_dynamicViscosityCoeff = 1.0e-2 |
double | m_viscosityBoundary = 1.0e-5 |
double | m_surfaceTensionStiffness = 1.0 |
double | m_frictionBoundary = 0.1 |
double | m_kernelOverParticleRadiusRatio = 4.0 |
double | m_kernelRadius |
double | m_kernelRadiusSqr |
Vec3d | m_gravity = Vec3d(0.0, -9.81, 0.0) |
double | m_speedOfSound = 18.7 |
NeighborSearch::Method | m_neighborSearchMethod = NeighborSearch::Method::UniformGridBasedSearch |
Class that holds the SPH model parameters.
Definition at line 24 of file imstkSphModel.h.
double imstk::SphModelConfig::m_kernelRadius |
Definition at line 64 of file imstkSphModel.h.
double imstk::SphModelConfig::m_kernelRadiusSqr |
Definition at line 65 of file imstkSphModel.h.
double imstk::SphModelConfig::m_minTimestep = 1.0e-6 |
Definition at line 34 of file imstkSphModel.h.
double imstk::SphModelConfig::m_particleRadiusSqr = 0.0 |
Definition at line 40 of file imstkSphModel.h.
double imstk::SphModelConfig::m_restDensityInv = 1.0 / 1000.0 |
Definition at line 45 of file imstkSphModel.h.
double imstk::SphModelConfig::m_restDensitySqr = 1000000.0 |
Definition at line 44 of file imstkSphModel.h.