OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
olb::particles::ParallelParticleLocator Struct Reference

#include <superParticleSystem.h>

+ Collaboration diagram for olb::particles::ParallelParticleLocator:

Public Member Functions

 ParallelParticleLocator ()
 
 ParallelParticleLocator (int globiC_, std::size_t globalID_, std::size_t localID_)
 
void synchronize ()
 
void print ()
 

Public Attributes

int globiC
 
std::size_t globalID
 
std::size_t localID
 

Detailed Description

Definition at line 83 of file superParticleSystem.h.

Constructor & Destructor Documentation

◆ ParallelParticleLocator() [1/2]

olb::particles::ParallelParticleLocator::ParallelParticleLocator ( )
inline

◆ ParallelParticleLocator() [2/2]

olb::particles::ParallelParticleLocator::ParallelParticleLocator ( int globiC_,
std::size_t globalID_,
std::size_t localID_ )
inline

Definition at line 92 of file superParticleSystem.h.

93 : globiC(globiC_), globalID(globalID_), localID(localID_)
94 {}

Member Function Documentation

◆ print()

void olb::particles::ParallelParticleLocator::print ( )
inline

Definition at line 105 of file superParticleSystem.h.

105 {
106 std::cout << "ParallelParticleLocator: ("
107 << "globiC=" << globiC
108 << ", globID=" << globalID
109 << ", locID=" << localID << ")"
110 << std::endl;
111 }

References globalID, globiC, and localID.

◆ synchronize()

void olb::particles::ParallelParticleLocator::synchronize ( )
inline

Definition at line 97 of file superParticleSystem.h.

97 {
98#ifdef PARALLEL_MODE_MPI
102#endif
103 }
void reduceAndBcast(T &reductVal, MPI_Op op, int root=0, MPI_Comm comm=MPI_COMM_WORLD)
Reduction operation, followed by a broadcast.
MpiManager & mpi()

References globalID, globiC, localID, olb::singleton::mpi(), and olb::singleton::MpiManager::reduceAndBcast().

+ Here is the call graph for this function:

Member Data Documentation

◆ globalID

std::size_t olb::particles::ParallelParticleLocator::globalID

Definition at line 86 of file superParticleSystem.h.

◆ globiC

int olb::particles::ParallelParticleLocator::globiC

Definition at line 85 of file superParticleSystem.h.

◆ localID

std::size_t olb::particles::ParallelParticleLocator::localID

Definition at line 87 of file superParticleSystem.h.


The documentation for this struct was generated from the following file: