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

Unsmoothed 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_ua_bsr (AMG_data_bsr *mgl, AMG_param *param)
 Set up phase of unsmoothed aggregation AMG (BSR format) More...
 

Detailed Description

Unsmoothed 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, BlaSparseBLC.c, BlaSparseBSR.c, BlaSparseCSR.c, BlaSpmvBSR.c, BlaSpmvCSR.c, and PreDataInit.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) 2012–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 PreAMGSetupUABSR.c.

Function Documentation

◆ fasp_amg_setup_ua_bsr()

INT fasp_amg_setup_ua_bsr ( AMG_data_bsr mgl,
AMG_param param 
)

Set up phase of unsmoothed 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
03/16/2012

Definition at line 55 of file PreAMGSetupUABSR.c.