MueLu  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MueLu::MueLuIntrepid Namespace Reference

Functions

template<class Scalar , class KokkosExecutionSpace >
Teuchos::RCP< Intrepid2::Basis
< KokkosExecutionSpace, Scalar,
Scalar > > 
BasisFactory (const std::string &name, int &degree)
 
template<class Scalar , class KokkosDeviceType >
void IntrepidGetLoNodeInHi (const Teuchos::RCP< Intrepid2::Basis< typename KokkosDeviceType::execution_space, Scalar, Scalar > > &hi_basis, const Teuchos::RCP< Intrepid2::Basis< typename KokkosDeviceType::execution_space, Scalar, Scalar > > &lo_basis, std::vector< size_t > &lo_node_in_hi, Kokkos::DynRankView< Scalar, KokkosDeviceType > &hi_DofCoords)
 
template<class LocalOrdinal , class GlobalOrdinal , class Node , class LOFieldContainer >
void GenerateLoNodeInHiViaGIDs (const std::vector< std::vector< size_t > > &candidates, const LOFieldContainer &hi_elemToNode, RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > &hi_columnMap, LOFieldContainer &lo_elemToHiRepresentativeNode)
 
template<class LocalOrdinal , class LOFieldContainer >
void BuildLoElemToNode (const LOFieldContainer &hi_elemToNode, const std::vector< bool > &hi_nodeIsOwned, const std::vector< size_t > &lo_node_in_hi, const Teuchos::ArrayRCP< const int > &hi_isDirichlet, LOFieldContainer &lo_elemToNode, std::vector< bool > &lo_nodeIsOwned, std::vector< LocalOrdinal > &hi_to_lo_map, int &lo_numOwnedNodes)
 
template<class LocalOrdinal , class LOFieldContainer >
void BuildLoElemToNodeViaRepresentatives (const LOFieldContainer &hi_elemToNode, const std::vector< bool > &hi_nodeIsOwned, const LOFieldContainer &lo_elemToHiRepresentativeNode, LOFieldContainer &lo_elemToNode, std::vector< bool > &lo_nodeIsOwned, std::vector< LocalOrdinal > &hi_to_lo_map, int &lo_numOwnedNodes)
 
template<class LocalOrdinal , class GlobalOrdinal , class Node >
void GenerateColMapFromImport (const Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node > &hi_importer, const std::vector< LocalOrdinal > &hi_to_lo_map, const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &lo_domainMap, const size_t &lo_columnMapLength, RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > &lo_columnMap)
 
template<class Basis , class SCFieldContainer >
void GenerateRepresentativeBasisNodes (const Basis &basis, const SCFieldContainer &ReferenceNodeLocations, const double threshold, std::vector< std::vector< size_t > > &representative_node_candidates)
 
template<class Basis , class LOFieldContainer , class LocalOrdinal , class GlobalOrdinal , class Node >
void FindGeometricSeedOrdinals (Teuchos::RCP< Basis > basis, const LOFieldContainer &elementToNodeMap, std::vector< std::vector< LocalOrdinal > > &seeds, const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &rowMap, const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &columnMap)
 
std::string tolower (const std::string &str)
 
template<class Basis , class LOFieldContainer , class LocalOrdinal , class GlobalOrdinal , class Node >
void FindGeometricSeedOrdinals (Teuchos::RCP< Basis > basis, const LOFieldContainer &elementToNodeMap, std::vector< std::vector< LocalOrdinal >> &seeds, const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &rowMap, const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &columnMap)
 
template<class Scalar , class KokkosDeviceType >
void IntrepidGetP1NodeInHi (const Teuchos::RCP< Intrepid2::Basis< typename KokkosDeviceType::execution_space, Scalar, Scalar >> &hi_basis, std::vector< size_t > &lo_node_in_hi, Kokkos::DynRankView< Scalar, KokkosDeviceType > &hi_DofCoords)
 
template<class LocalOrdinal , class GlobalOrdinal , class Node , class LOFieldContainer >
void GenerateLoNodeInHiViaGIDs (const std::vector< std::vector< size_t >> &candidates, const LOFieldContainer &hi_elemToNode, RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node >> &hi_columnMap, LOFieldContainer &lo_elemToHiRepresentativeNode)
 
template<class LocalOrdinal , class GlobalOrdinal , class Node >
void GenerateColMapFromImport (const Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node > &hi_importer, const std::vector< LocalOrdinal > &hi_to_lo_map, const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &lo_domainMap, const size_t &lo_columnMapLength, RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node >> &lo_columnMap)
 
template<class Basis , class SCFieldContainer >
void GenerateRepresentativeBasisNodes (const Basis &basis, const SCFieldContainer &ReferenceNodeLocations, const double threshold, std::vector< std::vector< size_t >> &representative_node_candidates)
 

Function Documentation

template<class Scalar , class KokkosExecutionSpace >
Teuchos::RCP< Intrepid2::Basis< KokkosExecutionSpace, Scalar, Scalar > > MueLu::MueLuIntrepid::BasisFactory ( const std::string &  name,
int &  degree 
)

Definition at line 181 of file MueLu_IntrepidPCoarsenFactory_def.hpp.

template<class Scalar , class KokkosDeviceType >
void MueLu::MueLuIntrepid::IntrepidGetLoNodeInHi ( const Teuchos::RCP< Intrepid2::Basis< typename KokkosDeviceType::execution_space, Scalar, Scalar > > &  hi_basis,
const Teuchos::RCP< Intrepid2::Basis< typename KokkosDeviceType::execution_space, Scalar, Scalar > > &  lo_basis,
std::vector< size_t > &  lo_node_in_hi,
Kokkos::DynRankView< Scalar, KokkosDeviceType > &  hi_DofCoords 
)
template<class LocalOrdinal , class GlobalOrdinal , class Node , class LOFieldContainer >
void MueLu::MueLuIntrepid::GenerateLoNodeInHiViaGIDs ( const std::vector< std::vector< size_t > > &  candidates,
const LOFieldContainer &  hi_elemToNode,
RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > &  hi_columnMap,
LOFieldContainer &  lo_elemToHiRepresentativeNode 
)
template<class LocalOrdinal , class LOFieldContainer >
void MueLu::MueLuIntrepid::BuildLoElemToNode ( const LOFieldContainer &  hi_elemToNode,
const std::vector< bool > &  hi_nodeIsOwned,
const std::vector< size_t > &  lo_node_in_hi,
const Teuchos::ArrayRCP< const int > &  hi_isDirichlet,
LOFieldContainer &  lo_elemToNode,
std::vector< bool > &  lo_nodeIsOwned,
std::vector< LocalOrdinal > &  hi_to_lo_map,
int &  lo_numOwnedNodes 
)

Definition at line 388 of file MueLu_IntrepidPCoarsenFactory_def.hpp.

template<class LocalOrdinal , class LOFieldContainer >
void MueLu::MueLuIntrepid::BuildLoElemToNodeViaRepresentatives ( const LOFieldContainer &  hi_elemToNode,
const std::vector< bool > &  hi_nodeIsOwned,
const LOFieldContainer &  lo_elemToHiRepresentativeNode,
LOFieldContainer &  lo_elemToNode,
std::vector< bool > &  lo_nodeIsOwned,
std::vector< LocalOrdinal > &  hi_to_lo_map,
int &  lo_numOwnedNodes 
)

Definition at line 314 of file MueLu_IntrepidPCoarsenFactory_def.hpp.

template<class LocalOrdinal , class GlobalOrdinal , class Node >
void MueLu::MueLuIntrepid::GenerateColMapFromImport ( const Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node > &  hi_importer,
const std::vector< LocalOrdinal > &  hi_to_lo_map,
const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &  lo_domainMap,
const size_t &  lo_columnMapLength,
RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > > &  lo_columnMap 
)
template<class Basis , class SCFieldContainer >
void MueLu::MueLuIntrepid::GenerateRepresentativeBasisNodes ( const Basis &  basis,
const SCFieldContainer &  ReferenceNodeLocations,
const double  threshold,
std::vector< std::vector< size_t > > &  representative_node_candidates 
)
template<class Basis , class LOFieldContainer , class LocalOrdinal , class GlobalOrdinal , class Node >
void MueLu::MueLuIntrepid::FindGeometricSeedOrdinals ( Teuchos::RCP< Basis >  basis,
const LOFieldContainer &  elementToNodeMap,
std::vector< std::vector< LocalOrdinal > > &  seeds,
const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &  rowMap,
const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &  columnMap 
)
std::string MueLu::MueLuIntrepid::tolower ( const std::string &  str)
inline

Definition at line 102 of file MueLu_IntrepidPCoarsenFactory_def.hpp.

template<class Basis , class LOFieldContainer , class LocalOrdinal , class GlobalOrdinal , class Node >
void MueLu::MueLuIntrepid::FindGeometricSeedOrdinals ( Teuchos::RCP< Basis >  basis,
const LOFieldContainer &  elementToNodeMap,
std::vector< std::vector< LocalOrdinal >> &  seeds,
const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &  rowMap,
const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &  columnMap 
)

Definition at line 110 of file MueLu_IntrepidPCoarsenFactory_def.hpp.

template<class Scalar , class KokkosDeviceType >
void MueLu::MueLuIntrepid::IntrepidGetP1NodeInHi ( const Teuchos::RCP< Intrepid2::Basis< typename KokkosDeviceType::execution_space, Scalar, Scalar >> &  hi_basis,
std::vector< size_t > &  lo_node_in_hi,
Kokkos::DynRankView< Scalar, KokkosDeviceType > &  hi_DofCoords 
)

Definition at line 237 of file MueLu_IntrepidPCoarsenFactory_def.hpp.

template<class LocalOrdinal , class GlobalOrdinal , class Node , class LOFieldContainer >
void MueLu::MueLuIntrepid::GenerateLoNodeInHiViaGIDs ( const std::vector< std::vector< size_t >> &  candidates,
const LOFieldContainer &  hi_elemToNode,
RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node >> &  hi_columnMap,
LOFieldContainer &  lo_elemToHiRepresentativeNode 
)

Definition at line 268 of file MueLu_IntrepidPCoarsenFactory_def.hpp.

template<class LocalOrdinal , class GlobalOrdinal , class Node >
void MueLu::MueLuIntrepid::GenerateColMapFromImport ( const Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node > &  hi_importer,
const std::vector< LocalOrdinal > &  hi_to_lo_map,
const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node > &  lo_domainMap,
const size_t &  lo_columnMapLength,
RCP< const Xpetra::Map< LocalOrdinal, GlobalOrdinal, Node >> &  lo_columnMap 
)

Definition at line 473 of file MueLu_IntrepidPCoarsenFactory_def.hpp.

template<class Basis , class SCFieldContainer >
void MueLu::MueLuIntrepid::GenerateRepresentativeBasisNodes ( const Basis &  basis,
const SCFieldContainer &  ReferenceNodeLocations,
const double  threshold,
std::vector< std::vector< size_t >> &  representative_node_candidates 
)

Definition at line 529 of file MueLu_IntrepidPCoarsenFactory_def.hpp.