VTK-m
2.0
vtkm
filter
mesh_info
MeshQualityArea.h
Go to the documentation of this file.
1
//============================================================================
2
// Copyright (c) Kitware, Inc.
3
// All rights reserved.
4
// See LICENSE.txt for details.
5
// This software is distributed WITHOUT ANY WARRANTY; without even
6
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
7
// PURPOSE. See the above copyright notice for more information.
8
//
9
// Copyright 2014 National Technology & Engineering Solutions of Sandia, LLC (NTESS).
10
// Copyright 2014 UT-Battelle, LLC.
11
// Copyright 2014 Los Alamos National Security.
12
//
13
// Under the terms of Contract DE-NA0003525 with NTESS,
14
// the U.S. Government retains certain rights in this software.
15
//
16
// Under the terms of Contract DE-AC52-06NA25396 with Los Alamos National
17
// Laboratory (LANL), the U.S. Government retains certain rights in
18
// this software.
19
//============================================================================
20
#ifndef vtk_m_filter_mesh_info_MeshQualityArea_h
21
#define vtk_m_filter_mesh_info_MeshQualityArea_h
22
23
#include <
vtkm/filter/FilterField.h
>
24
#include <vtkm/filter/mesh_info/vtkm_filter_mesh_info_export.h>
25
26
namespace
vtkm
27
{
28
namespace
filter
29
{
30
namespace
mesh_info
31
{
32
33
class
VTKM_FILTER_MESH_INFO_EXPORT
MeshQualityArea
:
public
vtkm::filter::FilterField
34
{
35
public
:
36
MeshQualityArea
();
37
39
vtkm::Float64
ComputeTotalArea(
const
vtkm::cont::DataSet
& input);
40
45
vtkm::Float64
ComputeAverageArea(
const
vtkm::cont::DataSet
& input);
46
47
private
:
48
vtkm::cont::DataSet
DoExecute(
const
vtkm::cont::DataSet
& input)
override
;
49
};
50
51
}
// namespace mesh_info
52
}
// namespace filter
53
}
// namespace vtkm
54
55
#endif //vtk_m_filter_mesh_info_MeshQualityArea_h
vtkm
Groups connected points that have the same field value.
Definition:
Atomic.h:19
vtkm::cont::DataSet
Definition:
DataSet.h:34
FilterField.h
vtkm::filter::FilterField
Definition:
FilterField.h:21
vtkm::Float64
double Float64
Definition:
Types.h:155
vtkm::filter::mesh_info::MeshQualityArea
Definition:
MeshQualityArea.h:33
Generated by
1.8.17