A tag for algebraic multigrid (AMG). Used to transport information from the user to the implementation.  
 More...
#include <amg_base.hpp>
A tag for algebraic multigrid (AMG). Used to transport information from the user to the implementation. 
- Examples: 
- amg.cpp.
Definition at line 61 of file amg_base.hpp.
  
  | 
        
          | viennacl::linalg::detail::amg::amg_tag::amg_tag | ( | unsigned int | coarse = 1, |  
          |  |  | unsigned int | interpol = 1, |  
          |  |  | double | threshold = 0.25, |  
          |  |  | double | interpolweight = 0.2, |  
          |  |  | double | jacobiweight = 1, |  
          |  |  | unsigned int | presmooth = 1, |  
          |  |  | unsigned int | postsmooth = 1, |  
          |  |  | unsigned int | coarselevels = 0 |  
          |  | ) |  |  |  | inline | 
 
The constructor. 
- Parameters
- 
  
    | coarse | Coarsening Routine (Default: VIENNACL_AMG_COARSE_CLASSIC) |  | interpol | Interpolation routine (Default: VIENNACL_AMG_INTERPOL_DIRECT) |  | threshold | Strength of dependence threshold for the coarsening process (Default: 0.25) |  | interpolweight | Interpolation parameter for SA interpolation and truncation parameter for direct+classical interpolation |  | jacobiweight | Weight of the weighted Jacobi smoother iteration step (Default: 1 = Regular Jacobi smoother) |  | presmooth | Number of presmoothing operations on every level (Default: 1) |  | postsmooth | Number of postsmoothing operations on every level (Default: 1) |  | coarselevels | Number of coarse levels that are constructed (Default: 0 = Optimize coarse levels for direct solver such that coarsest level has a maximum of COARSE_LIMIT points) (Note: Coarsening stops when number of coarse points = 0 and overwrites the parameter with actual number of coarse levels) |  
 
Definition at line 76 of file amg_base.hpp.
 
 
  
  | 
        
          | unsigned int viennacl::linalg::detail::amg::amg_tag::get_coarse | ( |  | ) | const |  | inline | 
 
 
  
  | 
        
          | unsigned int viennacl::linalg::detail::amg::amg_tag::get_coarselevels | ( |  | ) | const |  | inline | 
 
 
  
  | 
        
          | unsigned int viennacl::linalg::detail::amg::amg_tag::get_interpol | ( |  | ) | const |  | inline | 
 
 
  
  | 
        
          | double viennacl::linalg::detail::amg::amg_tag::get_interpolweight | ( |  | ) | const |  | inline | 
 
 
  
  | 
        
          | double viennacl::linalg::detail::amg::amg_tag::get_jacobiweight | ( |  | ) | const |  | inline | 
 
 
  
  | 
        
          | unsigned int viennacl::linalg::detail::amg::amg_tag::get_postsmooth | ( |  | ) | const |  | inline | 
 
 
  
  | 
        
          | unsigned int viennacl::linalg::detail::amg::amg_tag::get_presmooth | ( |  | ) | const |  | inline | 
 
 
  
  | 
        
          | double viennacl::linalg::detail::amg::amg_tag::get_threshold | ( |  | ) | const |  | inline | 
 
 
  
  | 
        
          | void viennacl::linalg::detail::amg::amg_tag::set_as | ( | double | jacobiweight | ) |  |  | inline | 
 
 
  
  | 
        
          | void viennacl::linalg::detail::amg::amg_tag::set_coarse | ( | unsigned int | coarse | ) |  |  | inline | 
 
 
  
  | 
        
          | void viennacl::linalg::detail::amg::amg_tag::set_coarselevels | ( | unsigned int | coarselevels | ) |  |  | inline | 
 
 
  
  | 
        
          | void viennacl::linalg::detail::amg::amg_tag::set_interpol | ( | unsigned int | interpol | ) |  |  | inline | 
 
 
  
  | 
        
          | void viennacl::linalg::detail::amg::amg_tag::set_interpolweight | ( | double | interpolweight | ) |  |  | inline | 
 
 
  
  | 
        
          | void viennacl::linalg::detail::amg::amg_tag::set_postsmooth | ( | unsigned int | postsmooth | ) |  |  | inline | 
 
 
  
  | 
        
          | void viennacl::linalg::detail::amg::amg_tag::set_presmooth | ( | unsigned int | presmooth | ) |  |  | inline | 
 
 
  
  | 
        
          | void viennacl::linalg::detail::amg::amg_tag::set_threshold | ( | double | threshold | ) |  |  | inline | 
 
 
The documentation for this class was generated from the following file: