Reference documentation for deal.II version 9.4.1
|
#include <deal.II/multigrid/mg_transfer_global_coarsening.h>
Public Member Functions | |
void | prolongate_and_add (VectorType &dst, const VectorType &src) const |
void | restrict_and_add (VectorType &dst, const VectorType &src) const |
void | interpolate (VectorType &dst, const VectorType &src) const |
void | enable_inplace_operations_if_possible (const std::shared_ptr< const Utilities::MPI::Partitioner > &partitioner_coarse, const std::shared_ptr< const Utilities::MPI::Partitioner > &partitioner_fine) |
std::size_t | memory_consumption () const |
Class for transfer between two multigrid levels for p- or global coarsening.
Definition at line 160 of file mg_transfer_global_coarsening.h.
void MGTwoLevelTransfer< dim, VectorType >::prolongate_and_add | ( | VectorType & | dst, |
const VectorType & | src | ||
) | const |
Perform prolongation.
void MGTwoLevelTransfer< dim, VectorType >::restrict_and_add | ( | VectorType & | dst, |
const VectorType & | src | ||
) | const |
Perform restriction.
void MGTwoLevelTransfer< dim, VectorType >::interpolate | ( | VectorType & | dst, |
const VectorType & | src | ||
) | const |
Perform interpolation of a solution vector from the fine level to the coarse level. This function is different from restriction, where a weighted residual is transferred to a coarser level (transposition of prolongation matrix).
void MGTwoLevelTransfer< dim, VectorType >::enable_inplace_operations_if_possible | ( | const std::shared_ptr< const Utilities::MPI::Partitioner > & | partitioner_coarse, |
const std::shared_ptr< const Utilities::MPI::Partitioner > & | partitioner_fine | ||
) |
Enable inplace vector operations if external and internal vectors are compatible.
std::size_t MGTwoLevelTransfer< dim, VectorType >::memory_consumption | ( | ) | const |
Return the memory consumption of the allocated memory in this class.