LCOV - code coverage report
Current view: top level - src/mesquite/Misc - XYPlanarDomain.hpp (source / functions) Hit Total Coverage
Test: coverage_sk.info Lines: 1 1 100.0 %
Date: 2020-07-18 00:09:26 Functions: 1 1 100.0 %
Branches: 0 0 -

           Branch data     Line data    Source code
       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                 :            :     [email protected], [email protected], [email protected],
      24                 :            :     [email protected], [email protected], [email protected],
      25                 :            :     [email protected]
      26                 :            : 
      27                 :            :   ***************************************************************** */
      28                 :            : /*!
      29                 :            :   \file   XYPlanarDomain.hpp
      30                 :            :   \brief
      31                 :            : 
      32                 :            : 
      33                 :            :   \author Thomas Leurent
      34                 :            :   \date   2002-01-17
      35                 :            :   \author Boyd Tidwell
      36                 :            :   \date   2012-03-07
      37                 :            : */
      38                 :            : 
      39                 :            : #ifndef MSQ_XYPLANAR_DOMAIN_HPP
      40                 :            : #define MSQ_XYPLANAR_DOMAIN_HPP
      41                 :            : 
      42                 :            : #include "MeshInterface.hpp"
      43                 :            : #include "Vector3D.hpp"
      44                 :            : 
      45                 :            : namespace MBMesquite
      46                 :            : {
      47                 :            : /*! \class XYPlanarDomain
      48                 :            :      This is a template for a planar domain that exists in the xy-plane (z=0).
      49                 :            :      It will provide the normal information necessary for surface mesh optimization.
      50                 :            :   */
      51                 :            : class MESQUITE_EXPORT XYPlanarDomain : public MBMesquite::MeshDomain
      52                 :            : {
      53                 :            :   public:
      54                 :         64 :     XYPlanarDomain(){};
      55                 :            : 
      56                 :            :     virtual ~XYPlanarDomain();
      57                 :            : 
      58                 :            :     virtual void snap_to( Mesh::VertexHandle entity_handle, Vector3D& coordinate ) const;
      59                 :            : 
      60                 :            :     virtual void vertex_normal_at( Mesh::VertexHandle entity_handle, Vector3D& coordinate ) const;
      61                 :            : 
      62                 :            :     virtual void element_normal_at( Mesh::ElementHandle entity_handle, Vector3D& coordinate ) const;
      63                 :            : 
      64                 :            :     virtual void vertex_normal_at( const Mesh::VertexHandle* handle, Vector3D coords[], unsigned count,
      65                 :            :                                    MsqError& err ) const;
      66                 :            : 
      67                 :            :     virtual void closest_point( Mesh::VertexHandle handle, const Vector3D& position, Vector3D& closest,
      68                 :            :                                 Vector3D& normal, MsqError& err ) const;
      69                 :            : 
      70                 :            :     virtual void domain_DoF( const Mesh::VertexHandle* handle_array, unsigned short* dof_array, size_t num_vertices,
      71                 :            :                              MsqError& err ) const;
      72                 :            : };
      73                 :            : }  // namespace MBMesquite
      74                 :            : 
      75                 :            : #endif

Generated by: LCOV version 1.11