Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
Loading...
Searching...
No Matches
PreAMGSetupSA.c File Reference

Smoothed aggregation AMG: SETUP phase. More...

#include <math.h>
#include <time.h>
#include "fasp.h"
#include "fasp_functs.h"
#include "PreAMGAggregation.inl"
#include "PreAMGAggregationCSR.inl"

Go to the source code of this file.

Functions

SHORT fasp_amg_setup_sa (AMG_data *mgl, AMG_param *param)
 Set up phase of smoothed aggregation AMG. More...
 

Detailed Description

Smoothed aggregation AMG: SETUP phase.

Note
This file contains Level-4 (Pre) functions. It requires: AuxArray.c, AuxMemory.c, AuxMessage.c, AuxThreads.c, AuxTiming.c, AuxVector.c, BlaILUSetupCSR.c, BlaSchwarzSetup.c, BlaSparseCSR.c, BlaSpmvCSR.c, and PreMGRecurAMLI.c
Setup A, P, PT and levels using the unsmoothed aggregation algorithm

Reference: P. Vanek, J. Madel and M. Brezina Algebraic Multigrid on Unstructured Meshes, 1994


Copyright (C) 2009–Present by the FASP team. All rights reserved.

Released under the terms of the GNU Lesser General Public License 3.0 or later.

Definition in file PreAMGSetupSA.c.

Function Documentation

◆ fasp_amg_setup_sa()

SHORT fasp_amg_setup_sa ( AMG_data mgl,
AMG_param param 
)

Set up phase of smoothed aggregation AMG.

Parameters
mglPointer to AMG data: AMG_data
paramPointer to AMG parameters: AMG_param
Returns
FASP_SUCCESS if successed; otherwise, error information.
Author
Xiaozhe Hu
Date
09/29/2009

Modified by Xiaozhe Hu on 01/23/2011: add AMLI cycle. Modified by Chensong Zhang on 05/10/2013: adjust the structure.

Definition at line 63 of file PreAMGSetupSA.c.