Wildmeshing Toolkit
AttributeCacheData.hxx
Go to the documentation of this file.
1
#pragma once
2
#include <
wmtk/utils/Rational.hpp
>
3
#include "
AttributeCacheData.hpp
"
4
namespace
wmtk::attribute::internal
{
5
template
<
typename
T>
6
template
<
int
D>
7
inline
auto
AttributeCacheData<T>::data_as_map
() ->
typename
VectorD<D>::MapType
8
{
9
return
typename
VectorD<D>::MapType
(data.data(), data.size());
10
}
11
template
<
typename
T>
12
template
<
int
D>
13
inline
auto
AttributeCacheData<T>::data_as_const_map
() const -> typename
VectorD
<D>::ConstMapType
14
{
15
return
typename
VectorD<D>::ConstMapType
(data.data(), data.size());
16
}
17
18
}
// namespace wmtk::attribute
AttributeCacheData.hpp
Rational.hpp
wmtk::attribute::internal::AttributeCacheData::data_as_map
VectorD< D >::MapType data_as_map()
wmtk::attribute::internal::AttributeCacheData::VectorD
typename internal::VectorResult< T, D > VectorD
Definition:
AttributeCacheData.hpp:12
wmtk::attribute::internal::AttributeCacheData::data_as_const_map
VectorD< D >::ConstMapType data_as_const_map() const
wmtk::attribute::internal
Definition:
Attribute.hpp:19
src
wmtk
attribute
internal
AttributeCacheData.hxx
Generated by
1.9.1