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