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

Smoothed aggregation AMG: SETUP phase (for BSR matrices) More...

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

Go to the source code of this file.

Functions

SHORT fasp_amg_setup_sa_bsr (AMG_data_bsr *mgl, AMG_param *param)
 Set up phase of smoothed aggregation AMG (BSR format) More...
 

Detailed Description

Smoothed aggregation AMG: SETUP phase (for BSR matrices)

Note
This file contains Level-4 (Pre) functions. It requires: AuxArray.c, AuxMemory.c, AuxMessage.c, AuxTiming.c, AuxVector.c, BlaFormat.c, BlaILUSetupBSR.c, BlaSmallMat.c, BlaSparseBLC.c, BlaSparseBSR.c, BlaSparseCSR.c, BlaSpmvBSR.c, and BlaSpmvCSR.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) 2014–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 PreAMGSetupSABSR.c.

Function Documentation

◆ fasp_amg_setup_sa_bsr()

INT fasp_amg_setup_sa_bsr ( AMG_data_bsr mgl,
AMG_param param 
)

Set up phase of smoothed aggregation AMG (BSR format)

Parameters
mglPointer to AMG data: AMG_data_bsr
paramPointer to AMG parameters: AMG_param
Returns
FASP_SUCCESS if successed; otherwise, error information.
Author
Xiaozhe Hu
Date
05/26/2014

Definition at line 61 of file PreAMGSetupSABSR.c.