| 
    Panzer
    Version of the Day
    
   | 
 
#include <Panzer_GlobalIndexer_Utilities.hpp>
Public Member Functions | |
| ArrayToFieldVector (const Teuchos::RCP< const GlobalIndexer > &ugi) | |
| template<typename ScalarT , typename ArrayT > | |
| Teuchos::RCP < Tpetra::MultiVector< ScalarT, int, panzer::GlobalOrdinal, panzer::TpetraNodeType > >  | getGhostedDataVector (const std::string &fieldName, const std::map< std::string, ArrayT > &data) const | 
| template<typename ScalarT , typename ArrayT > | |
| Teuchos::RCP < Tpetra::MultiVector< ScalarT, int, panzer::GlobalOrdinal, panzer::TpetraNodeType > >  | getDataVector (const std::string &fieldName, const std::map< std::string, ArrayT > &data) const | 
| Teuchos::RCP< const  Tpetra::Map< int, panzer::GlobalOrdinal, panzer::TpetraNodeType > >  | getFieldMap (const std::string &fieldName) const | 
| Teuchos::RCP< const  Tpetra::Map< int, panzer::GlobalOrdinal, panzer::TpetraNodeType > >  | getFieldMap (int fieldNum) const | 
Protected Types | |
| using | IntVector = Tpetra::Vector< int, int, panzer::GlobalOrdinal, panzer::TpetraNodeType > | 
| using | Map = Tpetra::Map< int, panzer::GlobalOrdinal, panzer::TpetraNodeType > | 
Protected Member Functions | |
| void | buildFieldVector (const Tpetra::Vector< int, int, panzer::GlobalOrdinal, panzer::TpetraNodeType > &source) const | 
| build unghosted field vector from ghosted field vector  More... | |
Protected Attributes | |
| Teuchos::RCP< const GlobalIndexer > | ugi_ | 
| DOF mapping.  More... | |
| Teuchos::RCP< const IntVector > | gh_reducedFieldVector_ | 
| Teuchos::RCP< const IntVector > | gh_fieldVector_ | 
| ghosted reduced field vector  More... | |
| std::map< int, Teuchos::RCP < const Map > >  | gh_reducedFieldMaps_ | 
| ghosted field vector  More... | |
| std::map< int, Teuchos::RCP < const Map > >  | gh_fieldMaps_ | 
| Maps for each field (as needed)  More... | |
| Teuchos::RCP< const IntVector > | fieldVector_ | 
| Maps for each field (as needed)  More... | |
| std::map< int, Teuchos::RCP < const Map > >  | fieldMaps_ | 
| (unghosted) field vector (as needed)  More... | |
Private Member Functions | |
| ArrayToFieldVector () | |
| Maps for each field (as needed)  More... | |
| ArrayToFieldVector (const ArrayToFieldVector &) | |
This class assists in mapping arrays of field data to field vectors.
Definition at line 288 of file Panzer_GlobalIndexer_Utilities.hpp.
      
  | 
  protected | 
Definition at line 336 of file Panzer_GlobalIndexer_Utilities.hpp.
      
  | 
  protected | 
Definition at line 337 of file Panzer_GlobalIndexer_Utilities.hpp.
| panzer::ArrayToFieldVector::ArrayToFieldVector | ( | const Teuchos::RCP< const GlobalIndexer > & | ugi | ) | 
Construct information for the unique global indexer. Notice that this requires global communication.
Definition at line 304 of file Panzer_GlobalIndexer_Utilities.cpp.
      
  | 
  private | 
Maps for each field (as needed)
      
  | 
  private | 
| Teuchos::RCP< Tpetra::MultiVector< ScalarT, int, panzer::GlobalOrdinal, panzer::TpetraNodeType > > panzer::ArrayToFieldVector::getGhostedDataVector | ( | const std::string & | fieldName, | 
| const std::map< std::string, ArrayT > & | data | ||
| ) | const | 
Get a Tpetra vector containing the data ordered according to the ordering from UGI::getOwnedAndGhostedIndices.
| [in] | fieldName | Name of field this data is from | 
| [in] | data | Array of data | 
UGI::getOwnedAndGhostedIndices. Definition at line 117 of file Panzer_GlobalIndexer_Utilities_impl.hpp.
| Teuchos::RCP< Tpetra::MultiVector< ScalarT, int, panzer::GlobalOrdinal, panzer::TpetraNodeType > > panzer::ArrayToFieldVector::getDataVector | ( | const std::string & | fieldName, | 
| const std::map< std::string, ArrayT > & | data | ||
| ) | const | 
Get a Tpetra vector containing the data ordered according to the ordering from UGI::getOwnedIndices.
| [in] | fieldName | Name of field this data is from | 
| [in] | data | Array of data | 
UGI::getOwnedIndices. Definition at line 187 of file Panzer_GlobalIndexer_Utilities_impl.hpp.
| Teuchos::RCP< const Tpetra::Map< int, panzer::GlobalOrdinal, panzer::TpetraNodeType > > panzer::ArrayToFieldVector::getFieldMap | ( | const std::string & | fieldName | ) | const | 
Build a map that contains only global IDs associated with a particular field. This serves to go from a unique vector of all fields, to a vector containing the uniquely owned global ids for a single field.
Definition at line 330 of file Panzer_GlobalIndexer_Utilities.cpp.
| Teuchos::RCP< const Tpetra::Map< int, panzer::GlobalOrdinal, panzer::TpetraNodeType > > panzer::ArrayToFieldVector::getFieldMap | ( | int | fieldNum | ) | const | 
Build a map that contains only global IDs associated with a particular field. This serves to go from a unique vector of all fields, to a vector containing the uniquely owned global ids for a single field.
Definition at line 336 of file Panzer_GlobalIndexer_Utilities.cpp.
      
  | 
  protected | 
build unghosted field vector from ghosted field vector
Definition at line 312 of file Panzer_GlobalIndexer_Utilities.cpp.
      
  | 
  protected | 
DOF mapping.
Definition at line 343 of file Panzer_GlobalIndexer_Utilities.hpp.
      
  | 
  protected | 
Definition at line 345 of file Panzer_GlobalIndexer_Utilities.hpp.
      
  | 
  protected | 
ghosted reduced field vector
Definition at line 346 of file Panzer_GlobalIndexer_Utilities.hpp.
      
  | 
  mutableprotected | 
ghosted field vector
Definition at line 348 of file Panzer_GlobalIndexer_Utilities.hpp.
      
  | 
  mutableprotected | 
Maps for each field (as needed)
Definition at line 349 of file Panzer_GlobalIndexer_Utilities.hpp.
      
  | 
  mutableprotected | 
Maps for each field (as needed)
Definition at line 351 of file Panzer_GlobalIndexer_Utilities.hpp.
      
  | 
  mutableprotected | 
(unghosted) field vector (as needed)
Definition at line 352 of file Panzer_GlobalIndexer_Utilities.hpp.
 1.8.5