Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
includeLinks/MeanMidNodeMover.hpp
Go to the documentation of this file.
1 /* *****************************************************************
2  MESQUITE -- The Mesh Quality Improvement Toolkit
3 
4  Copyright 2004 Lawrence Livermore National Laboratory. Under
5  the terms of Contract B545069 with the University of Wisconsin --
6  Madison, Lawrence Livermore National Laboratory retains certain
7  rights in this software.
8 
9  This library is free software; you can redistribute it and/or
10  modify it under the terms of the GNU Lesser General Public
11  License as published by the Free Software Foundation; either
12  version 2.1 of the License, or (at your option) any later version.
13 
14  This library is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  Lesser General Public License for more details.
18 
19  You should have received a copy of the GNU Lesser General Public License
20  (lgpl.txt) along with this library; if not, write to the Free Software
21  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 
23  kraftche@cae.wisc.edu
24 
25  ***************************************************************** */
26 
27 #ifndef MESQUITE_MEAN_MID_NODE_MOVER_HPP
28 #define MESQUITE_MEAN_MID_NODE_MOVER_HPP
29 
35 #include "Mesquite.hpp"
36 #include "PatchDataUser.hpp"
37 
38 namespace Mesquite {
39 
45 {
46 public:
47 
49 
50  virtual ~MeanMidNodeMover();
51 
53  virtual void set_patch_type(PatchData::PatchType patch_type, MsqError &err,
54  int param1=0, int param2=0) ;
55 
56  virtual double loop_over_mesh(MeshSet &ms, MsqError &err);
57 
58  virtual msq_std::string get_name();
59 
61 
62 
63 };
64 
65 } // namespace Mesquite
66 
67 #endif
virtual double loop_over_mesh(MeshSet &ms, MsqError &err)
This is the "run" function of PatchDataUser. It can do anything really.
Class to adjust positions of higher-order nodes.
Used to hold the error state and return it to the application.
virtual void set_patch_type(PatchData::PatchType patch_type, MsqError &err, int param1=0, int param2=0)
Sets the Patch Type.
This should be the parent class of all algorithms retrieving information from a MeshSet object...
PatchType
Tells MeshSet how to retrieve the mesh entities that will be stored in PatchData. ...
virtual PatchDataUser::AlgorithmType get_algorithm_type()
Return the algorithm type (to avoid RTTI use).
The MeshSet class stores one or more Mesquite::Mesh pointers and manages access to the mesh informati...
virtual msq_std::string get_name()
Returns the algorithm name.