multigrid NBS is added, not tested with particle insertion

This commit is contained in:
hamidrezanorouzi
2022-10-30 18:08:32 +03:30
parent c47d5f5cfa
commit 39534d7a6a
17 changed files with 1344 additions and 896 deletions

View File

@ -35,6 +35,8 @@ public:
using NBSLevel0Type = NBSLevel0<executionSpace>;
using cellIterator = typename NBSLevel0Type::cellIterator;
using IdType = typename NBSLevel0Type::IdType;
using IndexType = typename NBSLevel0Type::IndexType;
@ -81,8 +83,9 @@ public:
TypeNameNV("NBS");
NBS(
dictionary dict,
const dictionary& dict,
const box& domain,
real minSize,
real maxSize,
const ViewType1D<realx3, memory_space>& position,
const ViewType1D<real, memory_space>& diam)
@ -126,11 +129,26 @@ public:
return performedSearch_;
}
auto getCellIterator()const
Vector<cellIterator> getCellIteratorLevels()
{
return Vector<cellIterator>("cellIterator", 1, NBSLevel0_.getCellIterator());
}
auto getCellIterator(int32 lvl)const
{
return NBSLevel0_.getCellIterator();
}
int32 numLevels()const
{
return 1;
}
Vector<Cells> getCellsLevels()const
{
return Vector<Cells>("Cells", 1, NBSLevel0_.getCells());
}
auto getCells()const
{
return NBSLevel0_.getCells();