Skip to content

Access to all patches of a peano cell from within user interface/code

Hi,

I'm trying to access all patches within a peano cell from within the user code. I'm using the EulerFV example. Is it possible to document this?

I understand that one has to override the function adjustSolution in the Abstract class (AbstractMyEulerSolver.cpp) as there kernels::finitevolumes::commons::c::solutionAdjustment() is called.

To my understanding kernels::finitevolumes::commons::c::solutionAdjustment() loops through all the patches within a peano cell.

I override the abstract function but there is a compiler error in commons.cpph that says "too few arguements in function call" - line 493. I suspect that the error is caused by the overriding.

Any help/documentation would be helpful.

thanks