mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
MPI-parallelization upto IO file
This commit is contained in:
@ -2,15 +2,17 @@
|
||||
set(SourceFiles
|
||||
readFromTimeFolder.cpp
|
||||
readControlDict.cpp
|
||||
vtkFile/vtkFile.cpp
|
||||
geometryPhasicFlow/Wall/Wall.cpp
|
||||
geometryPhasicFlow/planeWall/planeWall.cpp
|
||||
geometryPhasicFlow/stlWall/stlWall.cpp
|
||||
geometryPhasicFlow/cylinderWall/cylinderWall.cpp
|
||||
geometryPhasicFlow/cuboidWall/cuboidWall.cpp
|
||||
#vtkFile/vtkFile.cpp
|
||||
#geometryPhasicFlow/Wall/Wall.cpp
|
||||
#geometryPhasicFlow/planeWall/planeWall.cpp
|
||||
#geometryPhasicFlow/stlWall/stlWall.cpp
|
||||
#geometryPhasicFlow/cylinderWall/cylinderWall.cpp
|
||||
#geometryPhasicFlow/cuboidWall/cuboidWall.cpp
|
||||
)
|
||||
|
||||
set(link_libs Kokkos::kokkos phasicFlow Particles Geometry)
|
||||
#set(link_libs Kokkos::kokkos phasicFlow Particles Geometry)
|
||||
|
||||
set(link_libs Kokkos::kokkos phasicFlow)
|
||||
|
||||
pFlow_add_library_install(Utilities SourceFiles link_libs)
|
||||
|
||||
|
@ -49,7 +49,7 @@ bool pFlow::cylinderWall::createCylinder(
|
||||
real L = zAx.length();
|
||||
|
||||
|
||||
realx3Vector r1P(numDiv + 1), r2P(numDiv + 1);
|
||||
realx3Vector r1P("r1P",numDiv + 1), r2P("r1P",numDiv + 1);
|
||||
real dTheta = 2 * Pi / numDiv;
|
||||
real theta = 0;
|
||||
|
||||
|
@ -42,7 +42,7 @@ bool pFlow::stlWall::readSTLWall
|
||||
return false;
|
||||
}
|
||||
|
||||
for(label i=0; i<stl.size(); i++)
|
||||
for(uint64 i=0; i<stl.size(); i++)
|
||||
{
|
||||
auto it = triangles_.end();
|
||||
triangles_.insert(it, stl.solid(i).begin(), stl.solid(i).end());
|
||||
|
@ -20,7 +20,7 @@ Licence:
|
||||
#ifndef __readFromTimeFolder_hpp__
|
||||
#define __readFromTimeFolder_hpp__
|
||||
|
||||
|
||||
#include "vocabs.hpp"
|
||||
#include "repository.hpp"
|
||||
#include "pointFields.hpp"
|
||||
#include "utilityFunctions.hpp"
|
||||
|
Reference in New Issue
Block a user