Commit 277a8953 authored by BRAMAS Berenger's avatar BRAMAS Berenger

Add a test to use local cell only if adaptiv and has devlopment

parent aeb9b489
......@@ -275,7 +275,7 @@ public:
void L2L(const FAdaptiveCell<CellClass, ContainerClass>* const FRestrict local,
FAdaptiveCell<CellClass, ContainerClass>* FRestrict * const FRestrict child, const int inLevel) override {
// If there is something on this cell
if(local->isAdaptive()){
if(local->isAdaptive() && local->hasDevelopment()){
// We store the usual cell
CellClass* realChild[8] = {nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr};
int counterRealChild = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment