Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
includeLinks/MeshTSTT.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  ***************************************************************** */
50 #ifndef MESQUITE_MESH_TSTT_HPP
51 #define MESQUITE_MESH_TSTT_HPP
52 
53 #include "MeshInterface.hpp"
54 
55 namespace TSTTM {
56  class Mesh;
57 }
58 
59 namespace Mesquite
60 {
64  const char* const VERTEX_BYTE_TAG_NAME = "MesquiteVertexByte";
65 
69  const char* const VERTEX_FIXED_TAG_NAME = "MesquiteVertexFixed";
70 
74  //const char* const VERTEX_INDEX_TAG_NAME = "MesquiteVertexIndex";
75 
87  class MeshTSTT : public Mesquite::Mesh
88  {
89  public:
90 
99  static MeshTSTT* create( TSTTM::Mesh& mesh, void* meshset, MsqError& err );
100 
105  static MeshTSTT* create( TSTTM::Mesh& mesh, MsqError& err );
106 
107  virtual ~MeshTSTT();
108 
119  virtual void set_active_set( void* element_set, MsqError& ) = 0;
120  };
121 }
122 
123 #endif // MESQUITE_MESH_TSTT_HPP
Used to hold the error state and return it to the application.
virtual ~MeshTSTT()
Definition: MeshTSTT.cpp:711
const char *const VERTEX_BYTE_TAG_NAME
The name of the tag (integer) that Mesquite will use to store internal data.
This file contains the Mesquite mesh interface. Many users will want to implement a concrete class de...
The name of the tag (integer) used internally by MeshTSTT to eliminate duplicate vertices.
Class Mesh is the main class that holds all information to describe the current state of the mesh...
Definition: Mesh.hpp:19
A Mesquite::Mesh is a collection of mesh elements which are composed of mesh vertices. Intermediate objects are not accessible through this interface (where intermediate objects include things like the faces of a hex, or an element's edges).
virtual void set_active_set(void *element_set, MsqError &)=0
set mesh to be smoothed.
static MeshTSTT * create(TSTTM::Mesh &mesh, void *meshset, MsqError &err)
factory method
Definition: MeshTSTT.cpp:683
const char *const VERTEX_FIXED_TAG_NAME
The name of the tag (integer) Mesquite expects to be non-zero for vertices which are not to be moved ...