the need to provide neighborLength in domain dictionary is lifted. Now it is optional

This commit is contained in:
HRN
2025-02-03 23:49:11 +03:30
parent fac5576df1
commit 63bd9c9993
30 changed files with 106 additions and 76 deletions

View File

@ -57,7 +57,7 @@ bool pFlow::PFtoVTK::convertTimeFolderPointFields(
filename = vtk.fileName().wordPath();
REPORT(1);
auto pStruct = pointStructure(control);
auto pStruct = pointStructure(control, 0.0005);
// get a list of files in this timeFolder;
@ -146,7 +146,7 @@ bool pFlow::PFtoVTK::convertTimeFolderPointFieldsSelected(
filename = vtk.fileName().wordPath();
REPORT(1);
auto pStruct = pointStructure(control);
auto pStruct = pointStructure(control, 0.0005);
// get a list of files in this timeFolder;

View File

@ -88,7 +88,7 @@ int main( int argc, char* argv[] )
auto finalPos = pointPosition().getFinalPosition();
pStructPtr = pFlow::makeUnique<pFlow::pointStructure>(Control, finalPos);
pStructPtr = pFlow::makeUnique<pFlow::pointStructure>(Control, 0.0005, finalPos);
REPORT(1)<< "Created pStruct with "<< pStructPtr().size() << " points and capacity "<<
@ -98,7 +98,7 @@ int main( int argc, char* argv[] )
else
{
// read the content of pStruct from 0/pStructure
pStructPtr = pFlow::makeUnique<pFlow::pointStructure>(Control);
pStructPtr = pFlow::makeUnique<pFlow::pointStructure>(Control, 0.0005);
}

View File

@ -65,7 +65,7 @@ bool pFlow::postprocess::processTimeFolder(real time, const word& tName, const f
control_.time().setTime(time);
REPORT(1)<<"Reading pointStructure"<<END_REPORT;
pointStructure pStruct(control_);
pointStructure pStruct(control_, 0.0005);
// first delete the object to remove fields from repository
pointToCell_.reset(nullptr);