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

Interpolation operators for AMG based on energy-min. More...

#include <math.h>
#include <time.h>
#include "fasp.h"
#include "fasp_functs.h"

Go to the source code of this file.

Functions

void fasp_amg_interp_em (dCSRmat *A, ivector *vertices, dCSRmat *P, AMG_param *param)
 Energy-min interpolation. More...
 

Detailed Description

Interpolation operators for AMG based on energy-min.

Note
This file contains Level-4 (Pre) functions. It requires: AuxArray.c, AuxMemory.c, AuxThreads.c, AuxVector.c, BlaSmallMatLU.c, BlaSparseCSR.c, KryPcg.c, and PreCSR.c

Reference: J. Xu and L. Zikatanov On An Energy Minimizing Basis in Algebraic Multigrid Methods, Computing and visualization in sciences, 2003


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 PreAMGInterpEM.c.

Function Documentation

◆ fasp_amg_interp_em()

void fasp_amg_interp_em ( dCSRmat A,
ivector vertices,
dCSRmat P,
AMG_param param 
)

Energy-min interpolation.

Parameters
APointer to dCSRmat: the coefficient matrix (index starts from 0)
verticesPointer to the indicator of CF splitting on fine or coarse grid
PPointer to the dCSRmat matrix of resulted interpolation
paramPointer to AMG_param: AMG parameters
Author
Shuo Zhang, Xuehai Huang
Date
04/04/2010

Modified by Chunsheng Feng, Zheng Li on 10/17/2012: add OMP support Modified by Chensong Zhang on 05/14/2013: reconstruct the code

Definition at line 63 of file PreAMGInterpEM.c.