mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-07-28 03:27:05 +00:00
multigrid NBS is added, not tested with particle insertion
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user