Skip to content

Add extra functionalities to MMOC

This basically adds the following to the MMOC class,

  • Flag to evaluate the FE function only with VertexDoFFunction, even for P2
    • This can be useful to avoid under and overshoots in the evaluation field, if the solution is not smooth
  • Can set particle search tolerance radius for neighbourhood search
    • This happened in the unit square, where if the tolerance radius is larger and a particle falls in the intersection of macros, then a wrong macro is chosen and the evaluate gives unrealistic values
  • User defined projection function can be called if some particles go out of domain
    • This could be useful for inflow conditions, while a boundary crossing check should be done for the particles to be correct, which could be done at a later point

Merge request reports