Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
includeLinks/I_DFT_InverseMeanRatio.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 
37 #ifndef I_DFT_INVERSE_MEAN_RATIO_hpp
38 #define I_DFT_INVERSE_MEAN_RATIO_hpp
39 
40 #include "I_DFT.hpp"
41 
42 namespace Mesquite
43 {
44 
66  {
67  public:
68 
70  {
71  set_name("I_DFT_InverseMeanRatio");
72  p_set_alpha(1.0/3.0);
73  p_set_beta(0.0);
74  p_set_gamma(2.0/3.0);
76  }
77 
80  {};
81  };
82 
83 } //namespace
84 
85 
86 #endif // I_DFT__INVERSE_MEAN_RATIO_hpp
I_DFT metric with mAlpha = 1/3, mBeta = 0.0, mGamma = 2/3.
void p_set_gamma(double gamma)
access function to set mGamma
void p_set_alpha(double alpha)
access function to set mAlpha
void p_set_use_barrier_delta(bool use_delta)
access function to set useBarrierDelta
void p_set_beta(double beta)
access function to set mBeta
void set_name(msq_std::string st)
Sets the name of this metric.
Class containing the target corner matrices for the context based smoothing.
virtual ~I_DFT_InverseMeanRatio()
virtual destructor ensures use of polymorphism during destruction