FEI Version of the Day
fei_fwd.hpp
00001 /*
00002 // @HEADER
00003 // ************************************************************************
00004 //             FEI: Finite Element Interface to Linear Solvers
00005 //                  Copyright (2005) Sandia Corporation.
00006 //
00007 // Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, the
00008 // U.S. Government retains certain rights in this software.
00009 //
00010 // Redistribution and use in source and binary forms, with or without
00011 // modification, are permitted provided that the following conditions are
00012 // met:
00013 //
00014 // 1. Redistributions of source code must retain the above copyright
00015 // notice, this list of conditions and the following disclaimer.
00016 //
00017 // 2. Redistributions in binary form must reproduce the above copyright
00018 // notice, this list of conditions and the following disclaimer in the
00019 // documentation and/or other materials provided with the distribution.
00020 //
00021 // 3. Neither the name of the Corporation nor the names of the
00022 // contributors may be used to endorse or promote products derived from
00023 // this software without specific prior written permission.
00024 //
00025 // THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY
00026 // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00027 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
00028 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE
00029 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
00030 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
00031 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
00032 // PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
00033 // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
00034 // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
00035 // SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00036 //
00037 // Questions? Contact Alan Williams (william@sandia.gov) 
00038 //
00039 // ************************************************************************
00040 // @HEADER
00041 */
00042 
00043 #ifndef _fei_fwd_hpp_
00044 #define _fei_fwd_hpp_
00045 
00046 
00047 #include <fei_macros.hpp>
00048 #include <fei_defs.h>
00049 
00050 //
00051 //Forward declarations for fei classes.
00052 //
00053 
00054 //
00055 //First, the "old" classes that aren't in a namespace.
00056 //
00057 
00058 class BlockDescriptor;
00059 class ConnectivityTable;
00060 class Data;
00061 class EqnBuffer;
00062 class EqnCommMgr;
00063 class FEI_Implementation;
00064 class Filter;
00065 class FiniteElementData;
00066 class LibraryWrapper;
00067 class LinearSystemCore;
00068 class NodeCommMgr;
00069 class NodeDatabase;
00070 class NodeDescriptor;
00071 class ProcEqns;
00072 class SNL_FEI_Structure;
00073 class SlaveVariable;
00074 
00075 //
00076 //Now the symbols in the fei namespace.
00077 //
00078 
00079 namespace fei {
00081   enum OutputLevel {
00082     //We want to make sure that BRIEF_LOGS < FULL_LOGS < ALL, so that
00083     //debug-output code can use statements like
00084     //  'if (output_level_ >= BRIEF_LOGS)'.
00085     //So be aware that re-arranging these values can change the behavior
00086     //of debug-output code... Don't do it!
00087     NONE = 0,
00088     STATS = 1,
00089     MATRIX_FILES = 2,
00090     BRIEF_LOGS = 3,
00091     FULL_LOGS = 4,
00092     ALL = 5
00093   };
00094 
00095   class Factory;
00096   class FillableMat;
00097   class Graph;
00098   class CSRMat;
00099   class CSVec;
00100   class LogFile;
00101   class Logger;
00102   class LogManager;
00103   class Reducer;
00104   class VectorSpace;
00105   class MatrixGraph;
00106   class Param;
00107   class ParameterSet;
00108   template<typename T> class SharedIDs;
00109   class SparseRowGraph;
00110   class Vector;
00111   class Matrix;
00112   class LinearSystem;
00113   template<typename T> class ctg_set;
00114   template<typename T> class Matrix_Impl;
00115   template<typename T> class Vector_Impl;
00116 }//namespace fei
00117 
00118 //
00119 //Finally the symbols that are still in the soon-to-be-eliminated
00120 //snl_fei namespace.
00121 //
00122 namespace snl_fei {
00123   template<class RecordType> class Constraint;
00124   class RecordCollection;
00125 
00126   class BlockDescriptor;
00127   class PointBlockMap;
00128 
00129   class Broker;
00130   class Factory;
00131 }
00132 
00133 #undef FEI_OSTREAM
00134 
00135 #ifdef FEI_HAVE_IOSFWD
00136 #include <iosfwd>
00137 #define FEI_OSTREAM std::ostream
00138 #else
00139 #include <iostream.hpp>
00140 #define FEI_OSTREAM ostream
00141 #endif
00142 
00143 #include <exception>
00144 #include <vector>
00145 
00146 #endif
00147 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends