#include "cs_defs.h"#include <assert.h>#include <stdio.h>#include <string.h>#include <bft_error.h>#include <bft_mem.h>#include "cs_base.h"#include "cs_log.h"#include "cs_param_amg.h" Include dependency graph for cs_param_amg.c:
 Include dependency graph for cs_param_amg.c:| Functions | |
| const char * | cs_param_amg_get_type_name (cs_param_amg_type_t type) | 
| Get the name of the type of algebraic multigrid (AMG)  More... | |
| cs_param_solver_class_t | cs_param_amg_get_class (cs_param_amg_type_t amg_type) | 
| Retrieve the related solver class from the amg type.  More... | |
| cs_param_amg_boomer_t * | cs_param_amg_boomer_create (void) | 
| Create a new structure storing a set of parameters used when calling boomerAMG. Set default values for all parameters.  More... | |
| cs_param_amg_boomer_t * | cs_param_amg_boomer_copy (const cs_param_amg_boomer_t *bamgp) | 
| Copy the given set of parameters used when calling boomerAMG into a new structure.  More... | |
| const char * | cs_param_amg_get_boomer_smoother_name (cs_param_amg_boomer_smoother_t smoother) | 
| Get the name of the smoother used with BoomerAMG (HYPRE library)  More... | |
| void | cs_param_amg_boomer_log (const char *name, const cs_param_amg_boomer_t *bamgp) | 
| Log the set of parameters used for setting BoomerAMG.  More... | |
| cs_param_amg_inhouse_t * | cs_param_amg_inhouse_create (bool used_as_solver, bool used_as_k_cycle) | 
| Create a new structure storing a set of parameters used when calling the in-house AMG algo. Set default values for all parameters.  More... | |
| cs_param_amg_inhouse_t * | cs_param_amg_inhouse_copy (const cs_param_amg_inhouse_t *amgp) | 
| Copy the given set of parameters used when calling in-house AMG algo. into a new structure.  More... | |
| const char * | cs_param_amg_get_inhouse_solver_name (cs_param_amg_inhouse_solver_t solver) | 
| Get the name of the solver used with in-house AMG algo.  More... | |
| void | cs_param_amg_inhouse_log (const char *name, const cs_param_amg_inhouse_t *amgp) | 
| Log the set of parameters used for setting in-house AMG algorithms.  More... | |
| cs_param_amg_boomer_t* cs_param_amg_boomer_copy | ( | const cs_param_amg_boomer_t * | bamgp | ) | 
Copy the given set of parameters used when calling boomerAMG into a new structure.
| [in] | bamgp | reference set of boomerAMG parameters | 
| cs_param_amg_boomer_t* cs_param_amg_boomer_create | ( | void | ) | 
Create a new structure storing a set of parameters used when calling boomerAMG. Set default values for all parameters.
| void cs_param_amg_boomer_log | ( | const char * | name, | 
| const cs_param_amg_boomer_t * | bamgp | ||
| ) | 
Log the set of parameters used for setting BoomerAMG.
| [in] | name | name related to the current SLES | 
| [in] | bamgp | set of boomerAMG parameters | 
| const char* cs_param_amg_get_boomer_smoother_name | ( | cs_param_amg_boomer_smoother_t | smoother | ) | 
Get the name of the smoother used with BoomerAMG (HYPRE library)
| [in] | smoother | smoother type | 
| cs_param_solver_class_t cs_param_amg_get_class | ( | cs_param_amg_type_t | amg_type | ) | 
Retrieve the related solver class from the amg type.
| [in] | amg_type | type of AMG to consider | 
| const char* cs_param_amg_get_inhouse_solver_name | ( | cs_param_amg_inhouse_solver_t | solver | ) | 
Get the name of the solver used with in-house AMG algo.
| [in] | solver | solver type | 
| const char* cs_param_amg_get_type_name | ( | cs_param_amg_type_t | type | ) | 
Get the name of the type of algebraic multigrid (AMG)
| [in] | type | type of AMG | 
| cs_param_amg_inhouse_t* cs_param_amg_inhouse_copy | ( | const cs_param_amg_inhouse_t * | amgp | ) | 
Copy the given set of parameters used when calling in-house AMG algo. into a new structure.
| [in] | amgp | reference set of in-house AMG parameters | 
| cs_param_amg_inhouse_t* cs_param_amg_inhouse_create | ( | bool | used_as_solver, | 
| bool | used_as_k_cycle | ||
| ) | 
Create a new structure storing a set of parameters used when calling the in-house AMG algo. Set default values for all parameters.
| [in] | used_as_solver | true or false | 
| [in] | used_as_k_cycle | true or false | 
| void cs_param_amg_inhouse_log | ( | const char * | name, | 
| const cs_param_amg_inhouse_t * | amgp | ||
| ) | 
Log the set of parameters used for setting in-house AMG algorithms.
| [in] | name | name related to the current SLES | 
| [in] | amgp | set of in-house AMG parameters |