MOAB: Mesh Oriented datABase  (version 5.4.1)
NullImprover.hpp
Go to the documentation of this file.
00001 /* *****************************************************************
00002     MESQUITE -- The Mesh Quality Improvement Toolkit
00003 
00004     Copyright 2004 Sandia Corporation and Argonne National
00005     Laboratory.  Under the terms of Contract DE-AC04-94AL85000
00006     with Sandia Corporation, the U.S. Government retains certain
00007     rights in this software.
00008 
00009     This library is free software; you can redistribute it and/or
00010     modify it under the terms of the GNU Lesser General Public
00011     License as published by the Free Software Foundation; either
00012     version 2.1 of the License, or (at your option) any later version.
00013 
00014     This library is distributed in the hope that it will be useful,
00015     but WITHOUT ANY WARRANTY; without even the implied warranty of
00016     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017     Lesser General Public License for more details.
00018 
00019     You should have received a copy of the GNU Lesser General Public License
00020     (lgpl.txt) along with this library; if not, write to the Free Software
00021     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00022 
00023     [email protected], [email protected], [email protected],
00024     [email protected], [email protected], [email protected]
00025 
00026   ***************************************************************** */
00027 #ifndef MESQUITE_NULL_IMPROVER_HPP
00028 #define MESQUITE_NULL_IMPROVER_HPP
00029 /*!
00030   \file   NullImprover.hpp
00031   \brief  The NullImprover Class is a do-nothing VertexMover.  It just
00032           loops over the mesh without doing any real work.
00033           It is used to test functions
00034           found in VertexMover, such as loop_over_mesh().
00035 
00036   \author Darryl Melander
00037   \date   2002-12-10
00038 */
00039 
00040 #include "VertexMover.hpp"
00041 
00042 namespace MBMesquite
00043 {
00044 class NullImprover : public VertexMover
00045 {
00046   protected:
00047     virtual void initialize( PatchData&, MsqError& ) {}
00048     virtual void cleanup() {}
00049     virtual void optimize_vertex_positions( PatchData&, MsqError& ) {}
00050     virtual void initialize_mesh_iteration( PatchData&, MsqError& ) {}
00051     virtual void terminate_mesh_iteration( PatchData&, MsqError& ) {}
00052 };
00053 }  // namespace MBMesquite
00054 
00055 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines