MPS-Basic
Loading...
Searching...
No Matches
neighbor_searcher.hpp
Go to the documentation of this file.
1
#include "
bucket.hpp
"
2
#include "
domain.hpp
"
3
#include "
particles.hpp
"
4
5
#include <vector>
6
7
class
NeighborSearcher
{
8
public
:
9
NeighborSearcher
() =
default
;
10
11
NeighborSearcher
(
const
double
&
re
,
const
Domain
&
domain
,
const
size_t
& particleSize);
12
13
void
setNeighbors
(
Particles
& particles);
14
15
private
:
16
double
re
;
17
Domain
domain
;
18
Bucket
bucket
;
19
};
bucket.hpp
Bucket
Class for bucket for neighbor search.
Definition
bucket.hpp:17
Domain
represents the domain of the simulation
Definition
domain.hpp:8
NeighborSearcher
Definition
neighbor_searcher.hpp:7
NeighborSearcher::re
double re
Definition
neighbor_searcher.hpp:16
NeighborSearcher::NeighborSearcher
NeighborSearcher()=default
NeighborSearcher::setNeighbors
void setNeighbors(Particles &particles)
Definition
neighbor_searcher.cpp:11
NeighborSearcher::bucket
Bucket bucket
Definition
neighbor_searcher.hpp:18
NeighborSearcher::domain
Domain domain
Definition
neighbor_searcher.hpp:17
Particles
A collection of particles.
Definition
particles.hpp:10
domain.hpp
particles.hpp
src
neighbor_searcher.hpp
Generated by
1.12.0