SPHinXsys  alpha version
Public Member Functions | Public Attributes | List of all members
SPH::Neighborhood Class Reference

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_tj_
 
StdLargeVec< Real > W_ij_
 
StdLargeVec< Real > dW_ij_
 
StdLargeVec< Real > r_ij_
 
StdLargeVec< Vecd > e_ij_
 

Detailed Description

A neighborhood around particle i.

Member Data Documentation

◆ allocated_size_

size_t SPH::Neighborhood::allocated_size_

the limit of neighors does not require memory allocation

◆ current_size_

size_t SPH::Neighborhood::current_size_

the current number of neighors

◆ dW_ij_

StdLargeVec<Real> SPH::Neighborhood::dW_ij_

derivative of kernel function or inter-particle surface contribution

◆ e_ij_

StdLargeVec<Vecd> SPH::Neighborhood::e_ij_

unit vector pointing from j to i or inter-particle surface direction

◆ j_

StdLargeVec<size_t> SPH::Neighborhood::j_

index of the neighbor particle.

◆ r_ij_

StdLargeVec<Real> SPH::Neighborhood::r_ij_

distance between j and i.

◆ W_ij_

StdLargeVec<Real> SPH::Neighborhood::W_ij_

kernel value or particle volume contribution


The documentation for this class was generated from the following files: