Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

LevelHelmholtzSolver.H

Go to the documentation of this file.
00001 /* _______              __
00002   / ___/ /  ___  __ _  / /  ___
00003  / /__/ _ \/ _ \/  ' \/ _ \/ _ \
00004  \___/_//_/\___/_/_/_/_.__/\___/ 
00005 */
00006 
00007 // LevelHelmholtzSolver.H
00008 
00009 //
00010 // This software is copyright (C) by the Lawrence Berkeley
00011 // National Laboratory.  Permission is granted to reproduce
00012 // this software for non-commercial purposes provided that
00013 // this notice is left intact.
00014 // 
00015 // It is acknowledged that the U.S. Government has rights to
00016 // this software under Contract DE-AC03-765F00098 between
00017 // the U.S.  Department of Energy and the University of
00018 // California.
00019 //
00020 // This software is provided as a professional and academic
00021 // contribution for joint exchange. Thus it is experimental,
00022 // is provided ``as is'', with no warranties of any kind
00023 // whatsoever, no support, no promise of updates, or printed
00024 // documentation. By using this software, you acknowledge
00025 // that the Lawrence Berkeley National Laboratory and
00026 // Regents of the University of California shall have no
00027 // liability with respect to the infringement of other
00028 // copyrights by any part of this software.
00029 //
00030 // Dan Martin, Fri, Jan 14, 2000
00031 
00032 #ifndef _LevelHelmholtzSolver_H_
00033 #define _LevelHelmholtzSolver_H_
00034 
00035 #include <LevelSolver.H>
00036 #include <HelmholtzOp.H>
00037 
00039 
00043 class LevelHelmholtzSolver: public LevelSolver
00044 {
00045 
00046 public:
00048   LevelHelmholtzSolver();
00049 
00050   virtual ~LevelHelmholtzSolver();
00051 
00053   LevelHelmholtzSolver(const DisjointBoxLayout& a_grids,
00054                        const DisjointBoxLayout* a_baseGrids,
00055                        const ProblemDomain& a_domain,
00056                        Real a_dxLevel, 
00057                        int a_nRefCrse, int a_nComp = 1,
00058                        bool a_limitCoarsening = false);
00059 
00061   LevelHelmholtzSolver(const DisjointBoxLayout& a_grids,
00062                        const DisjointBoxLayout* a_baseGrids,
00063                        const Box& a_domain,
00064                        Real a_dxLevel, 
00065                        int a_nRefCrse, int a_nComp = 1,
00066                        bool a_limitCoarsening = false);
00067 
00069   LevelHelmholtzSolver(const DisjointBoxLayout& a_grids,
00070                        const DisjointBoxLayout* a_baseGrids,
00071                        const ProblemDomain& a_domain,
00072                        Real a_dxLevel, 
00073                        int a_nRefCrse,
00074                        const HelmholtzOp* const a_opin,
00075                        int a_nComp = 1,
00076                        bool a_limitCoarsening = false);
00077 
00079   LevelHelmholtzSolver(const DisjointBoxLayout& a_grids,
00080                        const DisjointBoxLayout* a_baseGrids,
00081                        const Box& a_domain,
00082                        Real a_dxLevel, 
00083                        int a_nRefCrse,
00084                        const HelmholtzOp* const a_opin,
00085                        int a_nComp = 1,
00086                        bool a_limitCoarsening = false);
00087 
00089   void define(const DisjointBoxLayout& a_grids,
00090               const DisjointBoxLayout* a_baseGrids,
00091               const ProblemDomain& a_domain,
00092               Real a_dxLevel, 
00093               int a_nRefCrse,
00094               int a_nComp = 1,
00095               bool a_limitCoarsening=false);
00096 
00098   void define(const DisjointBoxLayout& a_grids,
00099               const DisjointBoxLayout* a_baseGrids,
00100               const Box& a_domain,
00101               Real a_dxLevel, 
00102               int a_nRefCrse,
00103               int a_nComp = 1,
00104               bool a_limitCoarsening = false);
00105 
00107   virtual void define(const DisjointBoxLayout& a_grids, 
00108                       const DisjointBoxLayout* a_baseGrids,
00109                       const ProblemDomain& a_domain, 
00110                       Real a_dxLevel,
00111                       int a_nRefCrse,
00112                       const HelmholtzOp* const a_opin,
00113                       int a_nComp = 1,
00114                       bool a_limitCoarsening = false);
00115 
00116 
00118   virtual void define(const DisjointBoxLayout& a_grids, 
00119                       const DisjointBoxLayout* a_baseGrids,
00120                       const Box& a_domain, 
00121                       Real a_dxLevel,
00122                       int a_nRefCrse,
00123                       const HelmholtzOp* const a_opin,
00124                       int a_nComp = 1,
00125                       bool a_limitCoarsening = false);
00126 
00127 
00129   virtual void define(const DisjointBoxLayout& a_grids, 
00130                       const DisjointBoxLayout* a_baseGrids,
00131                       const ProblemDomain& a_domain, 
00132                       Real a_dxLevel,
00133                       int a_nRefCrse,
00134                       const LevelOp* const a_opin,
00135                       int a_nComp = 1,
00136                       bool a_limitCoarsening = false);
00137 
00139   virtual void define(const DisjointBoxLayout& a_grids, 
00140                       const DisjointBoxLayout* a_baseGrids,
00141                       const Box& a_domain, 
00142                       Real a_dxLevel,
00143                       int a_nRefCrse,
00144                       const LevelOp* const a_opin,
00145                       int a_nComp = 1,
00146                       bool a_limitCoarsening = false);
00147 
00148 
00150   void setBeta(Real a_beta);
00151 
00153   void setBC(const DomainGhostBC& a_BC);
00154 
00155 
00156 
00157 };
00158 
00159 
00160 #endif
00161 
00162 

Generated on Wed Jun 2 13:53:34 2004 for Chombo&INSwithParticles by doxygen 1.3.2