correted position random

This commit is contained in:
hamidrezanorouzi
2022-09-10 17:12:12 +04:30
parent 6ac5670933
commit 6152ec6a7c
7 changed files with 65 additions and 36 deletions

View File

@ -24,12 +24,14 @@ Licence:
#include "positionParticles.H"
#include "VectorSingles.H"
#include "VectorDuals.H"
#include "box.H"
namespace pFlow
{
class positionRandom
:
public positionParticles
@ -41,8 +43,6 @@ protected:
real diameter_;
size_t numPoints_;
box box_;
size_t maxIterations_;
@ -56,6 +56,11 @@ protected:
bool inCollision(const realx3 &cntr, real diam);
void fillPoints(
uint numPoints,
realx3Vector_HD& points,
int32Vector_HD& flags );
public:
// - type Info