DataTransferKit - Multiphysics Solution Transfer Services
2.0
|
Global source distributor. More...
#include <DTK_CenterDistributor.hpp>
Public Member Functions | |
CenterDistributor (const Teuchos::RCP< const Teuchos::Comm< int >> &comm, const Teuchos::ArrayView< const double > &source_centers, const Teuchos::ArrayView< const double > &target_centers, const double radius, Teuchos::Array< double > &target_decomp_source_centers) | |
Constructor. More... | |
template<class T > | |
void | distribute (const Teuchos::ArrayView< const T > &source_decomp_data, const Teuchos::ArrayView< T > &target_decomp_data) const |
Given a set of scalar values at the given source centers in the source decomposition, distribute them to the target decomposition. More... | |
Global source distributor.
The CenterDistributor distributes the centers to their target processes. In addition, it saves that communication plan to move source field values to the same destination processes.
Definition at line 66 of file DTK_CenterDistributor.hpp.
DataTransferKit::CenterDistributor< DIM >::CenterDistributor | ( | const Teuchos::RCP< const Teuchos::Comm< int >> & | comm, |
const Teuchos::ArrayView< const double > & | source_centers, | ||
const Teuchos::ArrayView< const double > & | target_centers, | ||
const double | radius, | ||
Teuchos::Array< double > & | target_decomp_source_centers | ||
) |
Constructor.
Definition at line 59 of file DTK_CenterDistributor_impl.hpp.
void DataTransferKit::CenterDistributor< DIM >::distribute | ( | const Teuchos::ArrayView< const T > & | source_decomp_data, |
const Teuchos::ArrayView< T > & | target_decomp_data | ||
) | const |
Given a set of scalar values at the given source centers in the source decomposition, distribute them to the target decomposition.
Definition at line 150 of file DTK_CenterDistributor_impl.hpp.