VTK-m
2.2
vtkm
filter
mesh_info
MeshQualityVolume.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_MeshQualityVolume_h
21
#define vtk_m_filter_mesh_info_MeshQualityVolume_h
22
23
#include <
vtkm/filter/Filter.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
36
class
VTKM_FILTER_MESH_INFO_EXPORT
MeshQualityVolume
:
public
vtkm::filter::Filter
37
{
38
public
:
39
MeshQualityVolume
();
40
42
vtkm::Float64
ComputeTotalVolume(
const
vtkm::cont::DataSet
& input);
43
48
vtkm::Float64
ComputeAverageVolume(
const
vtkm::cont::DataSet
& input);
49
50
private
:
51
vtkm::cont::DataSet
DoExecute(
const
vtkm::cont::DataSet
& input)
override
;
52
};
53
54
}
// namespace mesh_info
55
}
// namespace filter
56
}
// namespace vtkm
57
58
#endif //vtk_m_filter_mesh_info_MeshQualityVolume_h
vtkm
Groups connected points that have the same field value.
Definition:
Atomic.h:19
VTKM_FILTER_MESH_INFO_EXPORT
#define VTKM_FILTER_MESH_INFO_EXPORT
Definition:
vtkm_filter_mesh_info_export.h:44
vtkm::cont::DataSet
Contains and manages the geometric data structures that VTK-m operates on.
Definition:
DataSet.h:57
vtkm::filter::Filter
Base class for all filters.
Definition:
Filter.h:163
vtkm::Float64
double Float64
Base type to use for 64-bit floating-point numbers.
Definition:
Types.h:161
vtkm_filter_mesh_info_export.h
vtkm::filter::mesh_info::MeshQualityVolume
Compute the volume each cell.
Definition:
MeshQualityVolume.h:36
Filter.h
Generated by
1.8.17