MPS-Basic
Loading...
Searching...
No Matches
particle.hpp File Reference
#include "Eigen/Dense"
#include "common.hpp"
#include <vector>
Include dependency graph for particle.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Neighbor
 Class for neighbor particle. More...
 
class  Particle
 Class for particle in MPS method. More...
 

Enumerations

enum class  ParticleType { Ghost , Fluid , Wall , DummyWall }
 Enum class for particle type. More...
 
enum class  FluidState {
  Ignored , FreeSurface , SubFreeSurface , Inner ,
  Splash
}
 Enum class for fluid state. More...
 

Enumeration Type Documentation

◆ ParticleType

enum class ParticleType
strong

Enum class for particle type.

Enumerator
Ghost 

Ghost particle (outside of the domain, not used for calculation)

Fluid 

Fluid particle.

Wall 

Wall particle.

DummyWall 

Dummy wall particle (pressure is not calculated)

Definition at line 11 of file particle.hpp.

11 {
12 Ghost,
13 Fluid,
14 Wall,
15 DummyWall,
16};
@ Ghost
Ghost particle (outside of the domain, not used for calculation)
@ Wall
Wall particle.
@ DummyWall
Dummy wall particle (pressure is not calculated)
@ Fluid
Fluid particle.

◆ FluidState

enum class FluidState
strong

Enum class for fluid state.

Enumerator
Ignored 

Ghost or dummy.

FreeSurface 

free surface particle

SubFreeSurface 

inner particle near free surface

Inner 

inner fluid particle

Splash 

splash fluid particle

Definition at line 21 of file particle.hpp.

21 {
22 Ignored,
25 Inner,
26 Splash
27};
@ Splash
splash fluid particle
@ SubFreeSurface
inner particle near free surface
@ Inner
inner fluid particle
@ FreeSurface
free surface particle
@ Ignored
Ghost or dummy.