mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-08-07 03:37:02 +00:00
the need to provide neighborLength in domain dictionary is lifted. Now it is optional
This commit is contained in:
@ -307,16 +307,11 @@ pFlow::sphereParticles::getParticlesInfoFromShape(
|
||||
|
||||
pFlow::sphereParticles::sphereParticles(
|
||||
systemControl &control,
|
||||
const property& prop
|
||||
const sphereShape& shpShape
|
||||
)
|
||||
:
|
||||
particles(control),
|
||||
spheres_
|
||||
(
|
||||
shapeFile__,
|
||||
&control.caseSetup(),
|
||||
prop
|
||||
),
|
||||
particles(control, shpShape),
|
||||
spheres_(shpShape),
|
||||
propertyId_
|
||||
(
|
||||
objectFile
|
||||
|
@ -48,7 +48,7 @@ public:
|
||||
private:
|
||||
|
||||
/// reference to shapes
|
||||
ShapeType spheres_;
|
||||
const ShapeType& spheres_;
|
||||
|
||||
/// property id on device
|
||||
uint32PointField_D propertyId_;
|
||||
@ -124,7 +124,7 @@ protected:
|
||||
public:
|
||||
|
||||
/// construct from systemControl and property
|
||||
sphereParticles(systemControl& control, const property& prop);
|
||||
sphereParticles(systemControl& control, const sphereShape& shpShape);
|
||||
|
||||
~sphereParticles() override = default;
|
||||
|
||||
|
Reference in New Issue
Block a user