45 #ifndef _ZOLTAN2_ALGNATURAL_HPP_
46 #define _ZOLTAN2_ALGNATURAL_HPP_
59 template <
typename Adapter>
64 const RCP<Teuchos::ParameterList> &pl,
65 const RCP<Teuchos::Comm<int> > &comm
77 const size_t n = model->getLocalNumIdentifiers();
79 perm = (lno_t *) (solution->getPermutationRCP().getRawPtr());
81 for (
size_t i=0; i<n; i++){
Defines the OrderingSolution class.
int AlgNatural(const RCP< IdentifierModel< Adapter > > &model, const RCP< OrderingSolution< typename Adapter::gid_t, typename Adapter::lno_t > > &solution, const RCP< Teuchos::ParameterList > &pl, const RCP< Teuchos::Comm< int > > &comm)
Defines the IdentifierModel interface.
IdentifierModel defines the interface for all identifier models.
The class containing ordering solutions and metrics.