41 #ifndef DTK_CLOUDDOMAIN_HPP 42 #define DTK_CLOUDDOMAIN_HPP 44 #include <Teuchos_Array.hpp> 45 #include <Teuchos_ArrayView.hpp> 46 #include <Teuchos_SerializationTraits.hpp> 69 void expand(
const double radius );
72 bool pointInDomain(
const Teuchos::ArrayView<const double> &coords )
const;
78 Teuchos::Array<double> center()
const;
81 Teuchos::ArrayView<const double> bounds()
const 83 return Teuchos::ArrayView<const double>( &d_bounds[0], 2 * DIM );
88 double d_bounds[2 * DIM];
102 template <
typename Ordinal>
103 class SerializationTraits<Ordinal, DataTransferKit::
CloudDomain<1>>
104 :
public DirectSerializationTraits<Ordinal, DataTransferKit::CloudDomain<1>>
108 template <
typename Ordinal>
109 class SerializationTraits<Ordinal, DataTransferKit::
CloudDomain<2>>
110 :
public DirectSerializationTraits<Ordinal, DataTransferKit::CloudDomain<2>>
114 template <
typename Ordinal>
115 class SerializationTraits<Ordinal, DataTransferKit::
CloudDomain<3>>
116 :
public DirectSerializationTraits<Ordinal, DataTransferKit::CloudDomain<3>>
124 #endif // end DTK_CLOUDDOMAIN_HPP CloudDomain()
Default constructor.
Axis-aligned Cartesian cloud domain container.