Reference documentation for deal.II version 9.0.0
Public Attributes | List of all members
mg::Signals Struct Reference

#include <deal.II/multigrid/multigrid.h>

Public Attributes

boost::signals2::signal< void(const bool before)> transfer_to_mg
 
boost::signals2::signal< void(const bool before)> transfer_to_global
 
boost::signals2::signal< void(const bool before, const unsigned int level)> coarse_solve
 
boost::signals2::signal< void(const bool before, const unsigned int level)> restriction
 
boost::signals2::signal< void(const bool before, const unsigned int level)> prolongation
 
boost::signals2::signal< void(const bool before, const unsigned int level)> pre_smoother_step
 
boost::signals2::signal< void(const bool before, const unsigned int level)> post_smoother_step
 

Detailed Description

A structure containing boost::signal objects for optional processing in multigrid solvers.

Each of these signals is called twice, once before and once after the action is performed. The two function calls differ in the boolean argument before, which is true the first time and false the second.

Definition at line 47 of file multigrid.h.

Member Data Documentation

◆ transfer_to_mg

boost::signals2::signal<void (const bool before)> mg::Signals::transfer_to_mg

This signal is triggered before (before is true) and after (before is false) the call to MGTransfer::copy_to_mg which transfers the vector given to it to a multi-level vector.

Definition at line 54 of file multigrid.h.

◆ transfer_to_global

boost::signals2::signal<void (const bool before)> mg::Signals::transfer_to_global

This signal is triggered before (before is true) and after (before is false) the call to MGTransfer::copy_from_mg which transfers the multi-level vector given to it to a normal vector.

Definition at line 61 of file multigrid.h.

◆ coarse_solve

boost::signals2::signal<void (const bool before, const unsigned int level)> mg::Signals::coarse_solve

This signal is triggered before (before is true) and after (before is false) the call to the coarse solver on level.

Definition at line 67 of file multigrid.h.

◆ restriction

boost::signals2::signal<void (const bool before, const unsigned int level)> mg::Signals::restriction

This signal is triggered before (before is true) and after (before is false) the call to MGTransfer::restrict_and_add() which restricts a vector from level to the next coarser one (level - 1).

Definition at line 74 of file multigrid.h.

◆ prolongation

boost::signals2::signal<void (const bool before, const unsigned int level)> mg::Signals::prolongation

This signal is triggered before (before is true) and after (before is false) the call to MGTransfer::prolongate() which prolongs a vector to level from the next coarser one (level - 1).

Definition at line 81 of file multigrid.h.

◆ pre_smoother_step

boost::signals2::signal<void (const bool before, const unsigned int level)> mg::Signals::pre_smoother_step

This signal is triggered before (before is true) and after (before is false) the call to a pre-smoothing step via MGPreSmoother::apply() on level.

Definition at line 88 of file multigrid.h.

◆ post_smoother_step

boost::signals2::signal<void (const bool before, const unsigned int level)> mg::Signals::post_smoother_step

This signal is triggered before (before is true) and after (before is false) the call to a post-smoothing step via MGPostSmoother::apply() on level.

Definition at line 95 of file multigrid.h.


The documentation for this struct was generated from the following file: