Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • irmb/VirtualFluids
1 result
Show changes
Showing
with 20 additions and 20 deletions
......@@ -30,7 +30,7 @@ void run(int tn)
int numOfThreads = 1;
double availMem = 0;
CommunicatorPtr comm = vf::mpi::MPICommunicator::getInstance();
CommunicatorPtr comm = vf::parallel::MPICommunicator::getInstance();
int myid = comm->getProcessID();
if(machine == "BOMBADIL")
......
......@@ -80,7 +80,7 @@ int main(int /*argc*/, char* /*argv*/[])
double g_maxX3 = 0.5;
// NullCommunicator is a place-holder for interprocess communication
SPtr<vf::mpi::Communicator> comm = NullCommunicator::getInstance();
SPtr<vf::parallel::Communicator> comm = NullCommunicator::getInstance();
// new grid object
SPtr<Grid3D> grid(new Grid3D(comm));
// set grid spacing
......
......@@ -19,7 +19,7 @@ int main(int argc, char *argv[])
{
//Sleep(30000);
std::shared_ptr<vf::mpi::Communicator> comm = vf::mpi::MPICommunicator::getInstance();
std::shared_ptr<vf::parallel::Communicator> comm = vf::parallel::MPICommunicator::getInstance();
int myid = comm->getProcessID();
......
......@@ -51,7 +51,7 @@ void run(string configname)
double beta = 12*sigma/interfaceThickness;
double kappa = 1.5*interfaceThickness*sigma;
CommunicatorPtr comm = vf::mpi::MPICommunicator::getInstance();
CommunicatorPtr comm = vf::parallel::MPICommunicator::getInstance();
int myid = comm->getProcessID();
if (logToFile)
......
......@@ -51,7 +51,7 @@ void run(string configname)
double beta = 12*sigma/interfaceThickness;
double kappa = 1.5*interfaceThickness*sigma;
CommunicatorPtr comm = vf::mpi::MPICommunicator::getInstance();
CommunicatorPtr comm = vf::parallel::MPICommunicator::getInstance();
int myid = comm->getProcessID();
if (logToFile)
......
......@@ -55,7 +55,7 @@ void run(string configname)
real beta = 12 * sigma / interfaceWidth;
real kappa = 1.5 * interfaceWidth * sigma;
SPtr<vf::mpi::Communicator> comm = vf::mpi::MPICommunicator::getInstance();
SPtr<vf::parallel::Communicator> comm = vf::parallel::MPICommunicator::getInstance();
int myid = comm->getProcessID();
if (myid == 0)
......
......@@ -51,7 +51,7 @@ void run(string configname)
double beta = 12*sigma/interfaceThickness;
double kappa = 1.5*interfaceThickness*sigma;
CommunicatorPtr comm = vf::mpi::MPICommunicator::getInstance();
CommunicatorPtr comm = vf::parallel::MPICommunicator::getInstance();
int myid = comm->getProcessID();
if (logToFile)
......
......@@ -67,7 +67,7 @@ void run(string configname)
double beta = 12*sigma/interfaceThickness;
double kappa = 1.5*interfaceThickness*sigma;
CommunicatorPtr comm = vf::mpi::MPICommunicator::getInstance();
CommunicatorPtr comm = vf::parallel::MPICommunicator::getInstance();
int myid = comm->getProcessID();
if (logToFile)
......
......@@ -51,7 +51,7 @@ void run(string configname)
double beta = 12*sigma/interfaceThickness;
double kappa = 1.5*interfaceThickness*sigma;
CommunicatorPtr comm = vf::mpi::MPICommunicator::getInstance();
CommunicatorPtr comm = vf::parallel::MPICommunicator::getInstance();
int myid = comm->getProcessID();
if (logToFile)
......
......@@ -51,7 +51,7 @@ void run(string configname)
double beta = 12*sigma/interfaceThickness;
double kappa = 1.5*interfaceThickness*sigma;
CommunicatorPtr comm = vf::mpi::MPICommunicator::getInstance();
CommunicatorPtr comm = vf::parallel::MPICommunicator::getInstance();
int myid = comm->getProcessID();
if (logToFile)
......
......@@ -51,7 +51,7 @@ void run(string configname)
double beta = 12*sigma/interfaceThickness;
double kappa = 1.5*interfaceThickness*sigma;
CommunicatorPtr comm = vf::mpi::MPICommunicator::getInstance();
CommunicatorPtr comm = vf::parallel::MPICommunicator::getInstance();
int myid = comm->getProcessID();
if (logToFile)
......
......@@ -51,7 +51,7 @@ void run(string configname)
double beta = 12*sigma/interfaceThickness;
double kappa = 1.5*interfaceThickness*sigma;
CommunicatorPtr comm = vf::mpi::MPICommunicator::getInstance();
CommunicatorPtr comm = vf::parallel::MPICommunicator::getInstance();
int myid = comm->getProcessID();
if (logToFile)
......
......@@ -42,7 +42,7 @@ void run(string configname)
double beta = 12*sigma/interfaceThickness;
double kappa = 1.5*interfaceThickness*sigma;
CommunicatorPtr comm = vf::mpi::MPICommunicator::getInstance();
CommunicatorPtr comm = vf::parallel::MPICommunicator::getInstance();
int myid = comm->getProcessID();
if (logToFile)
......
......@@ -78,7 +78,7 @@ void run(string configname)
double beta = 12*sigma/interfaceThickness;
double kappa = 1.5*interfaceThickness*sigma;
CommunicatorPtr comm = vf::mpi::MPICommunicator::getInstance();
CommunicatorPtr comm = vf::parallel::MPICommunicator::getInstance();
int myid = comm->getProcessID();
if (logToFile)
......
......@@ -51,7 +51,7 @@ void run(string configname)
bool newStart = config.getValue<bool>("newStart");
//double rStep = config.getValue<double>("rStep");
SPtr<vf::mpi::Communicator> comm = vf::mpi::MPICommunicator::getInstance();
SPtr<vf::parallel::Communicator> comm = vf::parallel::MPICommunicator::getInstance();
int myid = comm->getProcessID();
if (myid == 0)
......
......@@ -18,7 +18,7 @@ int main(int argc, char *argv[])
try {
std::shared_ptr<vf::mpi::Communicator> comm = vf::mpi::MPICommunicator::getInstance();
std::shared_ptr<vf::parallel::Communicator> comm = vf::parallel::MPICommunicator::getInstance();
int myid = comm->getProcessID();
// bounding box
......
......@@ -8,7 +8,7 @@ void run(string configname)
{
try
{
SPtr<vf::mpi::Communicator> comm = vf::mpi::MPICommunicator::getInstance();
SPtr<vf::parallel::Communicator> comm = vf::parallel::MPICommunicator::getInstance();
int myid = comm->getProcessID();
if (myid == 0) UBLOG(logINFO, "Testcase organ pipe");
......
......@@ -52,7 +52,7 @@ void run(const char *cstr)
stringstream logFilename;
double availMem = 0;
CommunicatorPtr comm = vf::mpi::MPICommunicator::getInstance();
CommunicatorPtr comm = vf::parallel::MPICommunicator::getInstance();
int myid = comm->getProcessID();
string machine = string(cstr);
......
......@@ -9,7 +9,7 @@ void pf1()
{
using namespace vf::lbm::dir;
SPtr<vf::mpi::Communicator> comm = vf::mpi::MPICommunicator::getInstance();
SPtr<vf::parallel::Communicator> comm = vf::parallel::MPICommunicator::getInstance();
int myid = comm->getProcessID();
//parameters
......
......@@ -6,7 +6,7 @@
////pipe flow with pressure drop
//void pf2()
//{
// SPtr<vf::mpi::Communicator> comm = vf::mpi::MPICommunicator::getInstance();
// SPtr<vf::parallel::Communicator> comm = vf::parallel::MPICommunicator::getInstance();
// int myid = comm->getProcessID();
//
// //parameters
......