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

Abstract multigrid cycle – non-recursive version. More...

#include <math.h>
#include <time.h>
#include "fasp.h"
#include "fasp_functs.h"
#include "PreMGSmoother.inl"
#include "PreMGUtil.inl"

Go to the source code of this file.

Functions

void fasp_solver_mgcycle (AMG_data *mgl, AMG_param *param)
 Solve Ax=b with non-recursive multigrid cycle. More...
 
void fasp_solver_mgcycle_bsr (AMG_data_bsr *mgl, AMG_param *param)
 Solve Ax=b with non-recursive multigrid cycle. More...
 

Detailed Description

Abstract multigrid cycle – non-recursive version.

Note
This file contains Level-4 (Pre) functions. It requires: AuxArray.c, AuxMessage.c, AuxVector.c, BlaArray.c, BlaSchwarzSetup.c, BlaSpmvBSR.c, BlaSpmvCSR.c, ItrSmootherBSR.c, ItrSmootherCSR.c, ItrSmootherCSRpoly.c, KryPcg.c, KryPvgmres.c, KrySPcg.c, and KrySPvgmres.c

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

Function Documentation

◆ fasp_solver_mgcycle()

void fasp_solver_mgcycle ( AMG_data mgl,
AMG_param param 
)

Solve Ax=b with non-recursive multigrid cycle.

Parameters
mglPointer to AMG data: AMG_data
paramPointer to AMG parameters: AMG_param
Author
Chensong Zhang
Date
10/06/2010

Modified by Chensong Zhang on 02/27/2013: update direct solvers. Modified by Chensong Zhang on 12/30/2014: update Schwarz smoothers.

Definition at line 48 of file PreMGCycle.c.

◆ fasp_solver_mgcycle_bsr()

void fasp_solver_mgcycle_bsr ( AMG_data_bsr mgl,
AMG_param param 
)

Solve Ax=b with non-recursive multigrid cycle.

Parameters
mglPointer to AMG data: AMG_data_bsr
paramPointer to AMG parameters: AMG_param
Author
Xiaozhe Hu
Date
08/07/2011

Definition at line 287 of file PreMGCycle.c.