SPHinXsys
alpha version
|
A neighborhood around particle i. More...
#include <neighbor_relation.h>
Public Member Functions | |
void | removeANeighbor (size_t neighbor_n) |
Public Attributes | |
size_t | current_size_ |
size_t | allocated_size_ |
StdLargeVec< size_t > | j_ |
StdLargeVec< Real > | W_ij_ |
StdLargeVec< Real > | dW_ij_ |
StdLargeVec< Real > | r_ij_ |
StdLargeVec< Vecd > | e_ij_ |
A neighborhood around particle i.
size_t SPH::Neighborhood::allocated_size_ |
the limit of neighors does not require memory allocation
size_t SPH::Neighborhood::current_size_ |
the current number of neighors
StdLargeVec<Real> SPH::Neighborhood::dW_ij_ |
derivative of kernel function or inter-particle surface contribution
StdLargeVec<Vecd> SPH::Neighborhood::e_ij_ |
unit vector pointing from j to i or inter-particle surface direction
StdLargeVec<size_t> SPH::Neighborhood::j_ |
index of the neighbor particle.
StdLargeVec<Real> SPH::Neighborhood::r_ij_ |
distance between j and i.
StdLargeVec<Real> SPH::Neighborhood::W_ij_ |
kernel value or particle volume contribution