mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
correted position random
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user