Go to the documentation of this file.
7 #ifndef INCLUDE_JET_PCI_SPH_SOLVER3_H_
8 #define INCLUDE_JET_PCI_SPH_SOLVER3_H_
35 double relativeKernelRadius);
72 double _maxDensityErrorRatio = 0.01;
73 unsigned int _maxNumberOfIterations = 5;
80 double computeDelta(
double timeStepInSeconds);
81 double computeBeta(
double timeStepInSeconds);
102 #endif // INCLUDE_JET_PCI_SPH_SOLVER3_H_
1-D array class.
Definition: array1.h:31
Base class for SPH-based fluid solver builder.
Definition: sph_solver3.h:195
double maxDensityErrorRatio() const
Returns max allowed density error ratio.
3-D PCISPH solver.
Definition: pci_sph_solver3.h:23
static Builder builder()
Returns builder fox PciSphSolver3.
void setMaxNumberOfIterations(unsigned int n)
Sets max number of PCISPH iterations.
Front-end to create PciSphSolver3 objects step by step.
Definition: pci_sph_solver3.h:91
std::shared_ptr< PciSphSolver3 > PciSphSolver3Ptr
Shared pointer type for the PciSphSolver3.
Definition: pci_sph_solver3.h:85
PciSphSolver3Ptr makeShared() const
Builds shared pointer of PciSphSolver3 instance.
PciSphSolver3()
Constructs a solver with empty particle set.
void accumulatePressureForce(double timeIntervalInSeconds) override
PciSphSolver3(double targetDensity, double targetSpacing, double relativeKernelRadius)
Definition: advection_solver2.h:18
3-D SPH solver.
Definition: sph_solver3.h:29
PciSphSolver3 build() const
Builds PciSphSolver3.
unsigned int maxNumberOfIterations() const
Returns max number of iterations.
void onBeginAdvanceTimeStep(double timeStepInSeconds) override
Performs pre-processing step before the simulation.
void setMaxDensityErrorRatio(double ratio)
Sets max allowed density error ratio.