class LevelMG

Multigrid solver on a level

Inheritance:

LevelMG


public members:

bool isDefined() const
LevelMG()
LevelMG(const DisjointBoxLayout & a_ba, const DisjointBoxLayout * a_baseBaPtr, Real a_dxLevel, int a_refRatio, const Box& a_domain, int a_nCoarserLevels, const LevelOp * const a_opin, int a_ncomp=1)
LevelMG(const DisjointBoxLayout & a_ba, const DisjointBoxLayout * a_baseBaPtr, Real a_dxLevel, int a_refRatio, const ProblemDomain & a_domain, int a_nCoarserLevels, const LevelOp * const a_opin, int a_ncomp=1)
void define(const DisjointBoxLayout & a_ba, const DisjointBoxLayout * a_baseBaPtr, Real a_dxLevel, int a_refRatio, const Box& a_domain, int a_nCoarserLevels, const LevelOp * const a_opin, int a_ncomp=1)
void define(const DisjointBoxLayout & a_ba, const DisjointBoxLayout * a_baseBaPtr, Real a_dxLevel, int a_refRatio, const ProblemDomain & a_domain, int a_nCoarserLevels, const LevelOp * const a_opin, int a_ncomp)
void define( const LevelMG & L, int refCoarse, const LevelOp * const opin_a )
Constructor for coarsened version of object.
LevelMG( const LevelMG & L, int refCoarse, const LevelOp * opin_a )
Constructor for coarsened version of object.
~LevelMG()
void clear()
void mgRelax(LevelData< FArrayBox > & a_soln, const LevelData< FArrayBox > & a_rhs, bool bottomsolveflag)
void setnumBottomGSRB(int a_numBottomGSRB)
void setnumSmoothUp(int a_numSmoothUp)
void setnumSmoothDown(int a_numSmoothDown)

Documentation

Multigrid solver on a level. This class is to be considered internal to AMRSolver and not a part of the Chombo API.
void mgRelax (LevelData< FArrayBox > & a_soln, const LevelData< FArrayBox > & a_rhs, bool bottomsolveflag)
: Invoke relaxation step. Default is pure MG V-cycle, suitable for use in multilevel solver application; otherwise, use approximate solver such as CG at bottom level. It is assumed that the problem has already been put in residual-correction form. In particular, only the homogeneous form of the physical and coarse-fine boundary conditions need be invoked.


this class has no child classes.

alphabetic index hierarchy of classes


Chombo

Copyright Notice

This software is copyright (C) by the Lawrence Berkeley National Laboratory. Permission is granted to reproduce this software for non-commercial purposes provided that this notice is left intact.

It is acknowledged that the U.S. Government has rights to this software under Contract DE-AC03-765F00098 between the U.S. Department of Energy and the University of California.

This software is provided as a professional and academic contribution for joint exchange. Thus it is experimental, is provided ``as is'', with no warranties of any kind whatsoever, no support, no promise of updates, or printed documentation. By using this software, you acknowledge that the Lawrence Berkeley National Laboratory and Regents of the University of California shall have no liability with respect to the infringement of other copyrights by any part of this software.