Wildmeshing Toolkit
AttributeTransferStrategy.cpp
Go to the documentation of this file.
1
2
#include <
wmtk/Mesh.hpp
>
3
//
4
#include <
wmtk/attribute/utils/variant_comparison.hpp
>
5
#include "
AttributeTransferStrategy.hpp
"
6
7
8
namespace
wmtk::operations
{
9
10
template
<
typename
T>
11
AttributeTransferStrategy<T>::AttributeTransferStrategy
(
12
const
attribute::MeshAttributeHandle
& handle)
13
:
AttributeTransferStrategyBase
(handle)
14
{}
15
16
template
<
typename
T>
17
PrimitiveType
AttributeTransferStrategy<T>::primitive_type
()
const
18
{
19
return
handle().primitive_type();
20
}
21
template
<
typename
T>
22
Mesh
&
AttributeTransferStrategy<T>::mesh
()
23
{
24
return
handle().mesh();
25
}
26
27
28
template
class
AttributeTransferStrategy<double>
;
29
template
class
AttributeTransferStrategy<int64_t>
;
30
template
class
AttributeTransferStrategy<char>
;
31
template
class
AttributeTransferStrategy<Rational>
;
32
}
// namespace wmtk::operations
AttributeTransferStrategy.hpp
Mesh.hpp
wmtk::Mesh
Definition:
Mesh.hpp:106
wmtk::attribute::MeshAttributeHandle
Definition:
MeshAttributeHandle.hpp:26
wmtk::operations::AttributeTransferStrategyBase
Definition:
AttributeTransferStrategyBase.hpp:22
wmtk::operations::AttributeTransferStrategy
Definition:
AttributeTransferStrategy.hpp:11
wmtk::operations::AttributeTransferStrategy::mesh
Mesh & mesh() override
Definition:
AttributeTransferStrategy.cpp:22
wmtk::operations::AttributeTransferStrategy::primitive_type
PrimitiveType primitive_type() const override
Definition:
AttributeTransferStrategy.cpp:17
wmtk::operations::AttributeTransferStrategy::AttributeTransferStrategy
AttributeTransferStrategy(const attribute::MeshAttributeHandle &my_handle)
Definition:
AttributeTransferStrategy.cpp:11
wmtk::operations
Definition:
EdgeMesh.hpp:10
wmtk::PrimitiveType
PrimitiveType
Definition:
PrimitiveType.hpp:9
variant_comparison.hpp
src
wmtk
operations
attribute_update
AttributeTransferStrategy.cpp
Generated by
1.9.1