DataTransferKit - Multiphysics Solution Transfer Services  2.0
Public Member Functions | List of all members
DataTransferKit::CloudDomain< DIM > Class Template Reference

Axis-aligned Cartesian cloud domain container. More...

#include <DTK_CloudDomain.hpp>

Public Member Functions

 CloudDomain ()
 Default constructor. More...
 
 CloudDomain (const double bounds[2 *DIM])
 Constructor. More...
 
template<>
void expand (const double radius)
 Expand the domain by the given radius. More...
 
template<>
void expand (const double radius)
 Expand the domain by the given radius. More...
 
template<>
void expand (const double radius)
 Expand the domain by the given radius. More...
 
template<>
bool pointInDomain (const Teuchos::ArrayView< const double > &coords) const
 Determine if a point is in the domain. More...
 
template<>
bool pointInDomain (const Teuchos::ArrayView< const double > &coords) const
 Determine if a point is in the domain. More...
 
template<>
bool pointInDomain (const Teuchos::ArrayView< const double > &coords) const
 Determine if a point is in the domain. More...
 
template<>
bool checkForIntersection (const CloudDomain< 1 > &domain) const
 Determine if the given domain intersects this domain. More...
 
template<>
bool checkForIntersection (const CloudDomain< 2 > &domain) const
 Determine if the given domain intersects this domain. More...
 
template<>
bool checkForIntersection (const CloudDomain< 3 > &domain) const
 Determine if the given domain intersects this domain. More...
 
template<>
Teuchos::Array< double > center () const
 Compute the center of the domain. More...
 
template<>
Teuchos::Array< double > center () const
 Compute the center of the domain. More...
 
template<>
Teuchos::Array< double > center () const
 Compute the center of the domain. More...
 

Detailed Description

template<int DIM>
class DataTransferKit::CloudDomain< DIM >

Axis-aligned Cartesian cloud domain container.

Definition at line 58 of file DTK_CloudDomain.hpp.

Constructor & Destructor Documentation

template<int DIM>
DataTransferKit::CloudDomain< DIM >::CloudDomain ( )

Default constructor.

Definition at line 54 of file DTK_CloudDomain_impl.hpp.

template<int DIM>
DataTransferKit::CloudDomain< DIM >::CloudDomain ( const double  bounds[2 *DIM])

Constructor.

Parameters
boundsThe bounds of the domain.

Definition at line 67 of file DTK_CloudDomain_impl.hpp.

Member Function Documentation

template<>
void DataTransferKit::CloudDomain< 1 >::expand ( const double  radius)

Expand the domain by the given radius.

Definition at line 77 of file DTK_CloudDomain_impl.hpp.

template<>
void DataTransferKit::CloudDomain< 2 >::expand ( const double  radius)

Expand the domain by the given radius.

Definition at line 89 of file DTK_CloudDomain_impl.hpp.

template<>
void DataTransferKit::CloudDomain< 3 >::expand ( const double  radius)

Expand the domain by the given radius.

Definition at line 103 of file DTK_CloudDomain_impl.hpp.

template<>
bool DataTransferKit::CloudDomain< 1 >::pointInDomain ( const Teuchos::ArrayView< const double > &  coords) const

Determine if a point is in the domain.

Parameters
coordsCartesian coordinates to check for point inclusion.
Returns
Return true if the point is in the domain, false if not. A point on the domain boundary will return true.

Definition at line 124 of file DTK_CloudDomain_impl.hpp.

template<>
bool DataTransferKit::CloudDomain< 2 >::pointInDomain ( const Teuchos::ArrayView< const double > &  coords) const

Determine if a point is in the domain.

Parameters
coordsCartesian coordinates to check for point inclusion.
Returns
Return true if the point is in the domain, false if not. A point on the domain boundary will return true.

Definition at line 144 of file DTK_CloudDomain_impl.hpp.

template<>
bool DataTransferKit::CloudDomain< 3 >::pointInDomain ( const Teuchos::ArrayView< const double > &  coords) const

Determine if a point is in the domain.

Parameters
coordsCartesian coordinates to check for point inclusion.
Returns
Return true if the point is in the domain, false if not. A point on the domain boundary will return true.

Definition at line 167 of file DTK_CloudDomain_impl.hpp.

template<>
bool DataTransferKit::CloudDomain< 1 >::checkForIntersection ( const CloudDomain< 1 > &  domain) const

Determine if the given domain intersects this domain.

Parameters
domainThe domain to check for intersection.
Returns
Return true if the there is an intersection. false if not.

Definition at line 191 of file DTK_CloudDomain_impl.hpp.

template<>
bool DataTransferKit::CloudDomain< 2 >::checkForIntersection ( const CloudDomain< 2 > &  domain) const

Determine if the given domain intersects this domain.

Parameters
domainThe domain to check for intersection.
Returns
Return true if the there is an intersection. false if not.

Definition at line 207 of file DTK_CloudDomain_impl.hpp.

template<>
bool DataTransferKit::CloudDomain< 3 >::checkForIntersection ( const CloudDomain< 3 > &  domain) const

Determine if the given domain intersects this domain.

Parameters
domainThe domain to check for intersection.
Returns
Return true if the there is an intersection. false if not.

Definition at line 224 of file DTK_CloudDomain_impl.hpp.

template<>
Teuchos::Array< double > DataTransferKit::CloudDomain< 1 >::center ( ) const

Compute the center of the domain.

Definition at line 238 of file DTK_CloudDomain_impl.hpp.

template<>
Teuchos::Array< double > DataTransferKit::CloudDomain< 2 >::center ( ) const

Compute the center of the domain.

Definition at line 249 of file DTK_CloudDomain_impl.hpp.

template<>
Teuchos::Array< double > DataTransferKit::CloudDomain< 3 >::center ( ) const

Compute the center of the domain.

Definition at line 265 of file DTK_CloudDomain_impl.hpp.


The documentation for this class was generated from the following files: