31 #ifndef NEIGHBOR_RELATION_H 32 #define NEIGHBOR_RELATION_H 34 #include "base_data_package.h" 35 #include "all_kernels.h" 53 StdLargeVec<size_t>
j_;
62 void removeANeighbor(
size_t neighbor_n);
81 void createRelation(
Neighborhood &neighborhood, Real &distance,
82 Vecd &displacement,
size_t j_index)
const;
83 void initializeRelation(
Neighborhood &neighborhood, Real &distance,
84 Vecd &displacement,
size_t j_index)
const;
88 void createRelation(
Neighborhood &neighborhood, Real &distance,
89 Vecd &displacement,
size_t j_index, Real i_h_ratio, Real h_ratio_min)
const;
90 void initializeRelation(
Neighborhood &neighborhood, Real &distance,
91 Vecd &displacement,
size_t j_index, Real i_h_ratio, Real h_ratio_min)
const;
107 Vecd &displacement,
size_t i_index,
size_t j_index)
const;
119 Vecd &displacement,
size_t i_index,
size_t j_index)
const;
135 Vecd &displacement,
size_t i_index,
size_t j_index)
const;
151 Vecd &displacement,
size_t i_index,
size_t j_index)
const;
178 Vecd &displacement,
size_t i_index,
size_t j_index)
const;
184 #endif //NEIGHBOR_RELATION_H A neighborhood around particle i.
Definition: neighbor_relation.h:47
A contact neighbor relation functor between particles i and j.
Definition: neighbor_relation.h:172
size_t current_size_
Definition: neighbor_relation.h:50
StdLargeVec< Real > r_ij_
Definition: neighbor_relation.h:56
A wrapper to provide an ownership for a new derived object which previous often generated by new a ra...
Definition: ownership.h:90
A inner neighbor relation functor between particles i and j.
Definition: neighbor_relation.h:102
StdLargeVec< Vecd > e_ij_
Definition: neighbor_relation.h:57
An auxillary class for SPHBody to indicate a part of the body.
Definition: base_body_part.h:45
Abstract base class of a general SPH kernel function which is a smoothed Dirac delta function...
Definition: base_kernel.h:63
StdLargeVec< Neighborhood > ParticleConfiguration
Definition: neighbor_relation.h:66
StdLargeVec< Real > W_ij_
Definition: neighbor_relation.h:54
Base neighbor relation between particles i and j.
Definition: neighbor_relation.h:74
StdLargeVec< Real > dW_ij_
Definition: neighbor_relation.h:55
StdVec< ParticleConfiguration > ContactParticleConfiguration
Definition: neighbor_relation.h:68
A inner neighbor relation functor between particles i and j.
Definition: neighbor_relation.h:114
SPHBody is a base body with basic data and functions. Its derived class can be a real fluid body...
Definition: base_body.h:61
size_t allocated_size_
Definition: neighbor_relation.h:51
StdLargeVec< int > part_indicator_
Definition: neighbor_relation.h:181
StdLargeVec< size_t > j_
Definition: neighbor_relation.h:53
Definition: solid_body_supplementary.cpp:9