Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
includeLinks/ShapeImprovementWrapper.hpp
Go to the documentation of this file.
1 /* *****************************************************************
2  MESQUITE -- The Mesh Quality Improvement Toolkit
3 
4  Copyright 2004 Sandia Corporation and Argonne National
5  Laboratory. Under the terms of Contract DE-AC04-94AL85000
6  with Sandia Corporation, the U.S. Government 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  diachin2@llnl.gov, djmelan@sandia.gov, mbrewer@sandia.gov,
24  pknupp@sandia.gov, tleurent@mcs.anl.gov, tmunson@mcs.anl.gov
25 
26  ***************************************************************** */
27 // -*- Mode : c++; tab-width: 3; c-tab-always-indent: t; indent-tabs-mode: nil; c-basic-offset: 3 -*-
28 //
29 // SUMMARY:
30 // USAGE:
31 //
32 // AUTHOR: Thomas Leurent <tleurent@mcs.anl.gov>
33 // ORG: Argonne National Laboratory
34 // E-MAIL: tleurent@mcs.anl.gov
35 //
36 // ORIG-DATE: 14-Nov-02 at 16:51:36
37 // LAST-MOD: 22-May-03 at 09:04:07 by Michael Brewer
38 
39 
44 // DESCRIP-END.
45 //
46 
47 
48 #ifndef ShapeImprovementWrapper_hpp
49 #define ShapeImprovementWrapper_hpp
50 
52 #include "FeasibleNewton.hpp"
53 #include "LPtoPTemplate.hpp"
54 #include "QualityAssessor.hpp"
55 #include "InstructionQueue.hpp"
56 #include "TerminationCriterion.hpp"
57 
59 #include "ConjugateGradient.hpp"
60 
61 namespace Mesquite {
69 
70  public:
71  //Constructor sets the instructions in the queue.
73  double cpu_time = 0.0,
74  double grad_norm =1.e-6);
75 
77  virtual ~ShapeImprovementWrapper();
78 
80  virtual void run_instructions(MeshSet &ms, MsqError &err);
81 
82 
83  private:
84 
91 
93  double maxTime;
94  //arbitraryily chosen variables
95  double untBeta;
96  double successiveEps;
97 
98 
99  };
100 
101 
102 } // namespace
103 
104 #endif // ShapeImprovementWrapper_hpp
Calculates the L_p objective function raised to the pth power. That is, sums the p_th powers of (the ...
Used to hold the error state and return it to the application.
The TerminationCriterion class contains functionality to terminate the VertexMover&#39;s optimization...
virtual void run_instructions(MeshSet &ms, MsqError &err)
run_instructions runs the wrapper on the given MeshSet.
A QualityAssessor instance can be inserted into an InstructionQueue to calculate and summarize regist...
Wrapper which performs a Feasible Newton solve using an objective function template with inverse mea...
virtual ~ShapeImprovementWrapper()
Destructor must delete the objects inserted in the queue.
An InstructionQueue object gathers Mesquite Instructions and ensures that the instruction queue is co...
High Performance implementation of the Feasible Newton algorythm.
ShapeImprovementWrapper(MsqError &err, double cpu_time=0.0, double grad_norm=1.e-6)
The MeshSet class stores one or more Mesquite::Mesh pointers and manages access to the mesh informati...