# PhasicFlow: src/phasicFlow/processors/pFlowProcessors.cpp Source File
PhasicFlow is an open-source parallel DEM (discrete element method) package for simulating granular flow. It is developed in C++ and can be exectued on both GPU (like CUDA) and CPU.

pFlowProcessors.cpp
Go to the documentation of this file.
#include "pFlowProcessors.hpp"
static pFlow::localProcessors pFlowProcessors__{"pFlowProcessors"};
pFlow::localProcessors& pFlow::pFlowProcessors()
{
return pFlowProcessors__;
}
void pFlow::initialize_pFlowProcessors()
{
pFlowProcessors__ = localProcessors("pFlowProcessors");
}
void pFlow::initialize_pFlowProcessors(const std::vector<int>& ranks)
{
pFlowProcessors__ = localProcessors("pFlowProcessors", ranks);
}
pFlow::initialize_pFlowProcessors
void initialize_pFlowProcessors()
Definition: pFlowProcessors.cpp:10
pFlow::localProcessors
Definition: localProcessors.hpp:35
pFlowProcessors__
static pFlow::localProcessors pFlowProcessors__
Definition: pFlowProcessors.cpp:3
pFlow::pFlowProcessors
localProcessors & pFlowProcessors()
Definition: pFlowProcessors.cpp:5
pFlowProcessors.hpp