Base class that makes the necessary mpi calls, derived classes only have to implement interpolatePatches() method.
More...
#include <MPIInterpolator.h>
template<int D>
class ThunderEgg::GMG::MPIInterpolator< D >
Base class that makes the necessary mpi calls, derived classes only have to implement interpolatePatches() method.
◆ MPIInterpolator()
Create new MPIInterpolator object.
- Parameters
-
ilc | the communcation package for the two levels. |
◆ interpolate()
interpolation function
- Parameters
-
coarse | the input vector that is interpolated from |
fine | the output vector that is interpolated to. |
Implements ThunderEgg::GMG::Interpolator< D >.
◆ interpolatePatches()
Interpolate values from coarse vector to the finer vector.
The idea behind this is that this function will be called twice. Once to interpolate from the local values, and once to interpolate from the ghost values. The local values will be interpolated from first, while MPI communication is happening, and the ghost values will be interpolated from last.
- Parameters
-
patches | pairs where the first value is the index in the coarse vector and the second value is a reference to the PatchInfo object |
finer_vector | the finer vector |
coarser_vector | the coarser vector |
Implemented in ThunderEgg::GMG::DirectInterpolator< D >.
The documentation for this class was generated from the following file: