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

CFIVS.H

Go to the documentation of this file.
00001 /* _______              __
00002   / ___/ /  ___  __ _  / /  ___
00003  / /__/ _ \/ _ \/  ' \/ _ \/ _ \
00004  \___/_//_/\___/_/_/_/_.__/\___/ 
00005 */
00006 //
00007 // This software is copyright (C) by the Lawrence Berkeley
00008 // National Laboratory.  Permission is granted to reproduce
00009 // this software for non-commercial purposes provided that
00010 // this notice is left intact.
00011 // 
00012 // It is acknowledged that the U.S. Government has rights to
00013 // this software under Contract DE-AC03-765F00098 between
00014 // the U.S.  Department of Energy and the University of
00015 // California.
00016 //
00017 // This software is provided as a professional and academic
00018 // contribution for joint exchange. Thus it is experimental,
00019 // is provided ``as is'', with no warranties of any kind
00020 // whatsoever, no support, no promise of updates, or printed
00021 // documentation. By using this software, you acknowledge
00022 // that the Lawrence Berkeley National Laboratory and
00023 // Regents of the University of California shall have no
00024 // liability with respect to the infringement of other
00025 // copyrights by any part of this software.
00026 //
00027 
00028 #ifndef _CFIVS_H_
00029 #define _CFIVS_H_
00030 
00031 #include <iostream>
00032 #include <cmath>
00033 #include <assert.h>
00034 #include <cstdlib>
00035 #include "REAL.H"
00036 #include "IntVect.H"
00037 #include "Box.H"
00038 #include "LoHiSide.H"
00039 #include "DisjointBoxLayout.H"
00040 #include "IntVectSet.H"
00041 #include "ProblemDomain.H"
00042 
00044 
00049 class CFIVS
00050 {
00051 
00052 private:
00053 
00054 protected:
00055   //for internal use
00056   void  setDefaultValues();
00057 
00058   //the following variables are mainly for self-identification
00059 
00060   /* fine intvects which need to be interpolated */
00061   IntVectSet fiinterp_ivs;  
00062 
00063   bool isdefined;
00064 
00065 public:
00066 
00068   bool isDefined() const;
00069 
00071 
00073   const IntVectSet& getFineIVS() const ;
00074 
00076   CFIVS();
00077 
00079   ~CFIVS();
00080 
00082   CFIVS(
00083         const Box& Domain, 
00084         const Box& box_in,
00085         const DisjointBoxLayout& Levboxes, 
00086         int Direction, 
00087         Side::LoHiSide hiorlo);
00088 
00089 
00091   CFIVS(
00092         const ProblemDomain& Domain, 
00093         const Box& box_in,
00094         const DisjointBoxLayout& Levboxes, 
00095         int Direction, 
00096         Side::LoHiSide hiorlo);
00097 
00099   void define(
00100               const Box& Domain, 
00101               const Box& box_in,
00102               const DisjointBoxLayout& fine_boxes, 
00103               int Direction, 
00104               Side::LoHiSide hiorlo);
00105 
00107   void define(
00108               const ProblemDomain& Domain, 
00109               const Box& box_in,
00110               const DisjointBoxLayout& fine_boxes, 
00111               int Direction, 
00112               Side::LoHiSide hiorlo);
00113 
00114 private:
00115   void operator= (const CFIVS& levcfs_in) {};
00116   CFIVS(const CFIVS& levcfs_in) {};
00117 
00118 };
00119 #endif

Generated on Thu Aug 29 11:05:44 2002 for Chombo&INS by doxygen1.2.16