|
Panzer Version of the Day
|
#include <Panzer_TpetraLinearObjFactory_decl.hpp>

Public Types | |
| typedef TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > | ContainerType |
| typedef Tpetra::Vector< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > | VectorType |
| typedef Tpetra::MultiVector< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > | MultiVectorType |
| typedef Tpetra::CrsMatrix< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > | CrsMatrixType |
| typedef Tpetra::CrsGraph< LocalOrdinalT, GlobalOrdinalT, NodeT > | CrsGraphType |
| typedef Tpetra::Map< LocalOrdinalT, GlobalOrdinalT, NodeT > | MapType |
| typedef Tpetra::Import< LocalOrdinalT, GlobalOrdinalT, NodeT > | ImportType |
| typedef Tpetra::Export< LocalOrdinalT, GlobalOrdinalT, NodeT > | ExportType |
| typedef Tpetra::FECrsGraph< LocalOrdinalT, GlobalOrdinalT, NodeT > | FECrsGraphType |
| typedef Tpetra::FECrsMatrix< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > | FECrsMatrixType |
| typedef Tpetra::FEMultiVector< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > | FEMultiVectorType |
Public Member Functions | |
| TpetraLinearObjFactory (const Teuchos::RCP< const Teuchos::Comm< int > > &comm, const Teuchos::RCP< const GlobalIndexer > &gidProvider, bool useFEAssembly=false) | |
| TpetraLinearObjFactory (const Teuchos::RCP< const Teuchos::Comm< int > > &comm, const Teuchos::RCP< const GlobalIndexer > &rowProvider, const Teuchos::RCP< const GlobalIndexer > &colProvider, bool useFEAssembly=false) | |
| virtual | ~TpetraLinearObjFactory () |
| virtual void | readVector (const std::string &, LinearObjContainer &, int) const |
| virtual void | writeVector (const std::string &, const LinearObjContainer &, int) const |
| virtual Teuchos::RCP< LinearObjContainer > | buildLinearObjContainer () const |
| virtual Teuchos::RCP< LinearObjContainer > | buildPrimitiveLinearObjContainer () const |
| virtual Teuchos::RCP< LinearObjContainer > | buildGhostedLinearObjContainer () const |
| virtual Teuchos::RCP< LinearObjContainer > | buildPrimitiveGhostedLinearObjContainer () const |
| virtual void | globalToGhostContainer (const LinearObjContainer &container, LinearObjContainer &ghostContainer, int) const |
| virtual void | ghostToGlobalContainer (const LinearObjContainer &ghostContainer, LinearObjContainer &container, int) const |
| virtual void | adjustForDirichletConditions (const LinearObjContainer &localBCRows, const LinearObjContainer &globalBCRows, LinearObjContainer &ghostedObjs, bool zeroVectorRows=false, bool adjustX=false) const |
| virtual void | applyDirichletBCs (const LinearObjContainer &counter, LinearObjContainer &result) const |
| virtual Teuchos::RCP< ReadOnlyVector_GlobalEvaluationData > | buildReadOnlyDomainContainer () const |
| virtual Teuchos::MpiComm< int > | getComm () const |
| template<typename EvalT > | |
| Teuchos::RCP< panzer::CloneableEvaluator > | buildScatter () const |
| Use preconstructed scatter evaluators. | |
| template<typename EvalT > | |
| Teuchos::RCP< panzer::CloneableEvaluator > | buildGather () const |
| Use preconstructed gather evaluators. | |
| template<typename EvalT > | |
| Teuchos::RCP< panzer::CloneableEvaluator > | buildGatherTangent () const |
| Use preconstructed gather evaluators. | |
| template<typename EvalT > | |
| Teuchos::RCP< panzer::CloneableEvaluator > | buildGatherDomain () const |
| Use preconstructed gather evaluators. | |
| template<typename EvalT > | |
| Teuchos::RCP< panzer::CloneableEvaluator > | buildGatherOrientation () const |
| Use preconstructed gather evaluators. | |
| template<typename EvalT > | |
| Teuchos::RCP< panzer::CloneableEvaluator > | buildScatterDirichlet () const |
| Use preconstructed dirichlet scatter evaluators. | |
| virtual Teuchos::RCP< const Thyra::VectorSpaceBase< ScalarT > > | getThyraDomainSpace () const |
| Get the domain space. | |
| virtual Teuchos::RCP< const Thyra::VectorSpaceBase< ScalarT > > | getGhostedThyraDomainSpace () const |
| Get the domain space. | |
| virtual Teuchos::RCP< const Thyra::VectorSpaceBase< ScalarT > > | getThyraRangeSpace () const |
| Get the range space. | |
| virtual Teuchos::RCP< Thyra::LinearOpBase< ScalarT > > | getThyraMatrix () const |
| Get a matrix operator. | |
| Teuchos::RCP< Tpetra::Vector< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > > | getGhostedTpetraVector () const |
| Teuchos::RCP< Tpetra::Vector< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > > | getGhostedTpetraColVector () const |
| Teuchos::RCP< Tpetra::Vector< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > > | getTpetraVector () const |
| Teuchos::RCP< Tpetra::Vector< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > > | getTpetraColVector () const |
| Teuchos::RCP< Tpetra::CrsMatrix< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > > | getTpetraMatrix () const |
| Teuchos::RCP< Tpetra::CrsMatrix< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > > | getGhostedTpetraMatrix () const |
| bool | useFEAssembly () const |
| True if this factory was constructed with FE assembly enabled. | |
| Teuchos::RCP< FECrsGraphType > | getFEGraph () const |
| Get the (cached) FE graph, built via the Tpetra::FECrsGraph "V2" constructor. | |
| Teuchos::RCP< FECrsMatrixType > | getFEMatrix () const |
| Build a new Tpetra::FECrsMatrix over the (cached) FE graph. Fresh object per call. | |
| Teuchos::RCP< FEMultiVectorType > | getFEMultiVector (std::size_t numVectors=1) const |
| Build a new Tpetra::FEMultiVector compatible with the FE graph. | |
| Teuchos::RCP< FEMultiVectorType > | getFEColMultiVector (std::size_t numVectors=1) const |
| Build a domain-space (solution-side) FE multivector. | |
| void | initializeContainer (int, LinearObjContainer &loc) const |
| void | initializeContainer (int mem, TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > &loc) const |
| void | initializeGhostedContainer (int, LinearObjContainer &loc) const |
| void | initializeGhostedContainer (int mem, TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > &loc) const |
| virtual const Teuchos::RCP< Tpetra::Map< LocalOrdinalT, GlobalOrdinalT, NodeT > > | getMap () const |
| get the map from the matrix | |
| virtual const Teuchos::RCP< Tpetra::Map< LocalOrdinalT, GlobalOrdinalT, NodeT > > | getColMap () const |
| virtual const Teuchos::RCP< Tpetra::Map< LocalOrdinalT, GlobalOrdinalT, NodeT > > | getGhostedMap () const |
| get the ghosted map from the matrix | |
| virtual const Teuchos::RCP< Tpetra::Map< LocalOrdinalT, GlobalOrdinalT, NodeT > > | getGhostedColMap () const |
| virtual const Teuchos::RCP< Tpetra::CrsGraph< LocalOrdinalT, GlobalOrdinalT, NodeT > > | getGraph () const |
| get the graph of the crs matrix | |
| virtual const Teuchos::RCP< Tpetra::CrsGraph< LocalOrdinalT, GlobalOrdinalT, NodeT > > | getGhostedGraph () const |
| get the ghosted graph of the crs matrix | |
| virtual const Teuchos::RCP< Tpetra::Import< LocalOrdinalT, GlobalOrdinalT, NodeT > > | getGhostedImport () const |
| get importer for converting an overalapped object to a "normal" object | |
| virtual const Teuchos::RCP< Tpetra::Import< LocalOrdinalT, GlobalOrdinalT, NodeT > > | getGhostedColImport () const |
| virtual const Teuchos::RCP< Tpetra::Export< LocalOrdinalT, GlobalOrdinalT, NodeT > > | getGhostedExport () const |
| get exporter for converting an overalapped object to a "normal" object | |
| virtual const Teuchos::RCP< Tpetra::Export< LocalOrdinalT, GlobalOrdinalT, NodeT > > | getGhostedColExport () const |
| virtual const Teuchos::RCP< const Teuchos::Comm< int > > | getTeuchosComm () const |
| get exporter for converting an overalapped object to a "normal" object | |
| Teuchos::RCP< const panzer::GlobalIndexer > | getDomainGlobalIndexer () const |
| Teuchos::RCP< const panzer::GlobalIndexer > | getRangeGlobalIndexer () const |
| Get the domain global indexer this factory was created with. | |
| virtual void | beginFill (LinearObjContainer &loc) const |
| Open a container for filling. Takes either a ghosted or an owned container. | |
| virtual void | beginFill (LinearObjContainer &ghostContainer, const LinearObjContainer &container) const |
| Open the ghosted container for filling, giving it the owned container's matrix. | |
| virtual void | endFill (LinearObjContainer &loc) const |
| Close a container after filling. Takes either a ghosted or an owned container. | |
| virtual void | endFill (LinearObjContainer &ghostContainer, const LinearObjContainer &container) const |
| Close the ghosted container after filling, returning the borrowed matrix. | |
Public Member Functions inherited from panzer::LinearObjFactory< Traits > | |
| virtual | ~LinearObjFactory () |
| template<typename BuilderT > | |
| void | buildGatherScatterEvaluators (const BuilderT &builder) |
| template<typename EvalT > | |
| Teuchos::RCP< PHX::Evaluator< Traits > > | buildScatter (const Teuchos::ParameterList &pl) const |
| Use preconstructed scatter evaluators. | |
| template<typename EvalT > | |
| Teuchos::RCP< PHX::Evaluator< Traits > > | buildGather (const Teuchos::ParameterList &pl) const |
| Use preconstructed gather evaluators. | |
| template<typename EvalT > | |
| Teuchos::RCP< PHX::Evaluator< Traits > > | buildGatherTangent (const Teuchos::ParameterList &pl) const |
| Use preconstructed gather evaluators. | |
| template<typename EvalT > | |
| Teuchos::RCP< PHX::Evaluator< Traits > > | buildGatherDomain (const Teuchos::ParameterList &pl) const |
| Use preconstructed gather evaluators. | |
| template<typename EvalT > | |
| Teuchos::RCP< PHX::Evaluator< Traits > > | buildGatherOrientation (const Teuchos::ParameterList &pl) const |
| Use preconstructed gather evaluators. | |
| template<typename EvalT > | |
| Teuchos::RCP< PHX::Evaluator< Traits > > | buildScatterDirichlet (const Teuchos::ParameterList &pl) const |
| Use preconstructed dirichlet scatter evaluators. | |
Public Member Functions inherited from panzer::ThyraObjFactory< ScalarT > | |
| virtual | ~ThyraObjFactory () |
Protected Member Functions | |
| void | ghostToGlobalTpetraVector (const Tpetra::MultiVector< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > &in, Tpetra::MultiVector< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > &out, bool col) const |
| void | ghostToGlobalTpetraMatrix (const Tpetra::CrsMatrix< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > &in, Tpetra::CrsMatrix< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > &out) const |
| void | globalToGhostTpetraVector (const Tpetra::MultiVector< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > &in, Tpetra::MultiVector< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > &out, bool col) const |
| virtual const Teuchos::RCP< Tpetra::Map< LocalOrdinalT, GlobalOrdinalT, NodeT > > | buildMap () const |
| virtual const Teuchos::RCP< Tpetra::Map< LocalOrdinalT, GlobalOrdinalT, NodeT > > | buildColMap () const |
| virtual const Teuchos::RCP< Tpetra::Map< LocalOrdinalT, GlobalOrdinalT, NodeT > > | buildGhostedMap () const |
| virtual const Teuchos::RCP< Tpetra::Map< LocalOrdinalT, GlobalOrdinalT, NodeT > > | buildGhostedColMap () const |
| virtual const Teuchos::RCP< Tpetra::CrsGraph< LocalOrdinalT, GlobalOrdinalT, NodeT > > | buildGraph () const |
| virtual const Teuchos::RCP< Tpetra::CrsGraph< LocalOrdinalT, GlobalOrdinalT, NodeT > > | buildGhostedGraph () const |
| virtual const Teuchos::RCP< FECrsGraphType > | buildFEGraph () const |
Protected Attributes | |
| Teuchos::RCP< const Teuchos::Comm< int > > | comm_ |
| Teuchos::RCP< Tpetra::Map< LocalOrdinalT, GlobalOrdinalT, NodeT > > | map_ |
| Teuchos::RCP< Tpetra::Map< LocalOrdinalT, GlobalOrdinalT, NodeT > > | cMap_ |
| Teuchos::RCP< Tpetra::Map< LocalOrdinalT, GlobalOrdinalT, NodeT > > | ghostedMap_ |
| Teuchos::RCP< Tpetra::Map< LocalOrdinalT, GlobalOrdinalT, NodeT > > | cGhostedMap_ |
| Teuchos::RCP< Tpetra::CrsGraph< LocalOrdinalT, GlobalOrdinalT, NodeT > > | graph_ |
| Teuchos::RCP< Tpetra::CrsGraph< LocalOrdinalT, GlobalOrdinalT, NodeT > > | ghostedGraph_ |
| Teuchos::RCP< FECrsGraphType > | feGraph_ |
| const FECrsMatrixType * | feAssemblyOpenOn_ = nullptr |
| Teuchos::RCP< ImportType > | ghostedImporter_ |
| Teuchos::RCP< ImportType > | ghostedColImporter_ |
| Teuchos::RCP< ExportType > | ghostedExporter_ |
| Teuchos::RCP< ExportType > | ghostedColExporter_ |
| Teuchos::RCP< const GlobalIndexer > | gidProvider_ |
| Teuchos::RCP< const GlobalIndexer > | colGidProvider_ |
| bool | hasColProvider_ |
| bool | useFEAssembly_ |
| Teuchos::RCP< const Thyra::VectorSpaceBase< double > > | rangeSpace_ |
| Teuchos::RCP< const Thyra::VectorSpaceBase< double > > | domainSpace_ |
| Teuchos::RCP< const Thyra::VectorSpaceBase< double > > | ghostedDomainSpace_ |
Definition at line 47 of file Panzer_TpetraLinearObjFactory_decl.hpp.
| typedef TpetraLinearObjContainer<ScalarT,LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::ContainerType |
Definition at line 50 of file Panzer_TpetraLinearObjFactory_decl.hpp.
| typedef Tpetra::Vector<ScalarT,LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::VectorType |
Definition at line 51 of file Panzer_TpetraLinearObjFactory_decl.hpp.
| typedef Tpetra::MultiVector<ScalarT,LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::MultiVectorType |
Definition at line 52 of file Panzer_TpetraLinearObjFactory_decl.hpp.
| typedef Tpetra::CrsMatrix<ScalarT,LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::CrsMatrixType |
Definition at line 53 of file Panzer_TpetraLinearObjFactory_decl.hpp.
| typedef Tpetra::CrsGraph<LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::CrsGraphType |
Definition at line 54 of file Panzer_TpetraLinearObjFactory_decl.hpp.
| typedef Tpetra::Map<LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::MapType |
Definition at line 55 of file Panzer_TpetraLinearObjFactory_decl.hpp.
| typedef Tpetra::Import<LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::ImportType |
Definition at line 56 of file Panzer_TpetraLinearObjFactory_decl.hpp.
| typedef Tpetra::Export<LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::ExportType |
Definition at line 57 of file Panzer_TpetraLinearObjFactory_decl.hpp.
| typedef Tpetra::FECrsGraph<LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::FECrsGraphType |
Definition at line 58 of file Panzer_TpetraLinearObjFactory_decl.hpp.
| typedef Tpetra::FECrsMatrix<ScalarT,LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::FECrsMatrixType |
Definition at line 59 of file Panzer_TpetraLinearObjFactory_decl.hpp.
| typedef Tpetra::FEMultiVector<ScalarT,LocalOrdinalT,GlobalOrdinalT,NodeT> panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::FEMultiVectorType |
Definition at line 60 of file Panzer_TpetraLinearObjFactory_decl.hpp.
| panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::TpetraLinearObjFactory | ( | const Teuchos::RCP< const Teuchos::Comm< int > > & | comm, |
| const Teuchos::RCP< const GlobalIndexer > & | gidProvider, | ||
| bool | useFEAssembly = false |
||
| ) |
| [in] | useFEAssembly | Opt in to building Tpetra::FECrsGraph/FECrsMatrix/FEMultiVector objects via getFEGraph()/getFEMatrix()/getFEMultiVector(). Defaults to false, which preserves prior behavior exactly and leaves those methods unusable. |
Definition at line 40 of file Panzer_TpetraLinearObjFactory_impl.hpp.
| panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::TpetraLinearObjFactory | ( | const Teuchos::RCP< const Teuchos::Comm< int > > & | comm, |
| const Teuchos::RCP< const GlobalIndexer > & | rowProvider, | ||
| const Teuchos::RCP< const GlobalIndexer > & | colProvider, | ||
| bool | useFEAssembly = false |
||
| ) |
Definition at line 54 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
Definition at line 69 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
inlinevirtual |
Read in a vector from a file. Fill a particular vector in the linear object container.
| [in] | identifier | Key for specifying which file(s) to read |
| [in] | loc | Linear object container to fill with the vector |
| [in] | id | Id for the field to be filled |
Implements panzer::LinearObjFactory< Traits >.
Definition at line 79 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
inlinevirtual |
Write in a vector from a file. Fill a particular vector in the linear object container.
| [in] | identifier | Key for specifying which file(s) to read |
| [in] | loc | Linear object container to fill with the vector |
| [in] | id | Id for the field to be filled |
Implements panzer::LinearObjFactory< Traits >.
Definition at line 82 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
virtual |
Build a container with all the neccessary linear algebra objects. This is the non-ghosted version.
Implements panzer::LinearObjFactory< Traits >.
Definition at line 78 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
inlinevirtual |
Build a container with all the neccessary linear algebra objects, purely on the single physics. This gives linear algebra objects that are relevant for a single physics solve. In many cases this is simply a call to buildLinearObjContainer however, in a few important cases (for instance in stochastic galerkin methods) this will return a container for a single instantiation of the physics. This is the non-ghosted version.
Implements panzer::LinearObjFactory< Traits >.
Definition at line 87 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
virtual |
Build a container with all the neccessary linear algebra objects. This is the ghosted version.
Implements panzer::LinearObjFactory< Traits >.
Definition at line 88 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
inlinevirtual |
Build a container with all the neccessary linear algebra objects, purely on the single physics. This gives linear algebra objects that are relevant for a single physics solve. In many cases this is simply a call to buildGhostedLinearObjContainer however, in a few important cases (for instance in stochastic galerkin methods) this will return a container for a single instantiation of the physics. This is the ghosted version.
Implements panzer::LinearObjFactory< Traits >.
Definition at line 92 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
virtual |
Implements panzer::LinearObjFactory< Traits >.
Definition at line 98 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
Implements panzer::LinearObjFactory< Traits >.
Definition at line 122 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
Adjust the residual vector and Jacobian matrix (if they exist) for applied dirichlet conditions. The adjustment considers if a boundary condition was set globally and locally and based on that result adjust the ghosted matrix and residual vector so that when they are summed across processors they resulting Dirichlet condition is correct.
Implements panzer::LinearObjFactory< Traits >.
Definition at line 199 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
Adjust a vector by replacing selected rows with the value of the evaluated dirichlet conditions. This is handled through the standard container mechanism.
Implements panzer::LinearObjFactory< Traits >.
Definition at line 277 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
Build a GlobalEvaluationDataContainer that handles all domain communication. This is used primarily for gather operations and hides the allocation and usage of the ghosted vector from the user.
Implements panzer::LinearObjFactory< Traits >.
Definition at line 292 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
Acess to the MPI Comm used in constructing this LOF.
Implements panzer::LinearObjFactory< Traits >.
Definition at line 325 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
inline |
Use preconstructed scatter evaluators.
Definition at line 137 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
inline |
Use preconstructed gather evaluators.
Definition at line 142 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
inline |
Use preconstructed gather evaluators.
Definition at line 147 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
inline |
Use preconstructed gather evaluators.
Definition at line 152 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
inline |
Use preconstructed gather evaluators.
Definition at line 157 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
inline |
Use preconstructed dirichlet scatter evaluators.
Definition at line 162 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
virtual |
Get the domain space.
Implements panzer::ThyraObjFactory< ScalarT >.
Definition at line 334 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
Get the domain space.
Implements panzer::ThyraObjFactory< ScalarT >.
Definition at line 350 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
Get the range space.
Implements panzer::ThyraObjFactory< ScalarT >.
Definition at line 366 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
Get a matrix operator.
Implements panzer::ThyraObjFactory< ScalarT >.
Definition at line 378 of file Panzer_TpetraLinearObjFactory_impl.hpp.
| Teuchos::RCP< Tpetra::Vector< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > > panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::getGhostedTpetraVector | ( | ) | const |
Definition at line 896 of file Panzer_TpetraLinearObjFactory_impl.hpp.
| Teuchos::RCP< Tpetra::Vector< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > > panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::getGhostedTpetraColVector | ( | ) | const |
Definition at line 905 of file Panzer_TpetraLinearObjFactory_impl.hpp.
| Teuchos::RCP< Tpetra::Vector< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > > panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::getTpetraVector | ( | ) | const |
Definition at line 914 of file Panzer_TpetraLinearObjFactory_impl.hpp.
| Teuchos::RCP< Tpetra::Vector< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > > panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::getTpetraColVector | ( | ) | const |
Definition at line 923 of file Panzer_TpetraLinearObjFactory_impl.hpp.
| Teuchos::RCP< Tpetra::CrsMatrix< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > > panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::getTpetraMatrix | ( | ) | const |
Definition at line 932 of file Panzer_TpetraLinearObjFactory_impl.hpp.
| Teuchos::RCP< Tpetra::CrsMatrix< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > > panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::getGhostedTpetraMatrix | ( | ) | const |
Definition at line 955 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
inline |
True if this factory was constructed with FE assembly enabled.
Definition at line 189 of file Panzer_TpetraLinearObjFactory_decl.hpp.
| Teuchos::RCP< typename TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::FECrsGraphType > panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::getFEGraph | ( | ) | const |
Get the (cached) FE graph, built via the Tpetra::FECrsGraph "V2" constructor.
Definition at line 524 of file Panzer_TpetraLinearObjFactory_impl.hpp.
| Teuchos::RCP< typename TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::FECrsMatrixType > panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::getFEMatrix | ( | ) | const |
Build a new Tpetra::FECrsMatrix over the (cached) FE graph. Fresh object per call.
Definition at line 976 of file Panzer_TpetraLinearObjFactory_impl.hpp.
| Teuchos::RCP< typename TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::FEMultiVectorType > panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::getFEMultiVector | ( | std::size_t | numVectors = 1 | ) | const |
Build a new Tpetra::FEMultiVector compatible with the FE graph.
Build a range-space (residual-side) FE multivector.
Its owned+shared view is over getGhostedMap(), i.e. the same ghosted ROW map the scatter evaluators index with the GlobalIndexer's local ids, and the same map getGhostedExport() migrates from. Mirrors getGhostedTpetraVector().
Definition at line 991 of file Panzer_TpetraLinearObjFactory_impl.hpp.
| Teuchos::RCP< typename TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::FEMultiVectorType > panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::getFEColMultiVector | ( | std::size_t | numVectors = 1 | ) | const |
Build a domain-space (solution-side) FE multivector.
Its owned+shared view is over getGhostedColMap(). Mirrors getGhostedTpetraColVector(); use this for x/dxdt, and getFEMultiVector() for f.
Definition at line 1013 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
Initialize container with a specific set of member values.
Implements panzer::LinearObjFactory< Traits >.
Definition at line 389 of file Panzer_TpetraLinearObjFactory_impl.hpp.
| void panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::initializeContainer | ( | int | mem, |
| TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > & | loc | ||
| ) | const |
Initialize container with a specific set of member values.
Definition at line 398 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
Initialize container with a specific set of member values.
Implements panzer::LinearObjFactory< Traits >.
Definition at line 420 of file Panzer_TpetraLinearObjFactory_impl.hpp.
| void panzer::TpetraLinearObjFactory< Traits, ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT >::initializeGhostedContainer | ( | int | mem, |
| TpetraLinearObjContainer< ScalarT, LocalOrdinalT, GlobalOrdinalT, NodeT > & | loc | ||
| ) | const |
Initialize container with a specific set of member values.
Definition at line 429 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
get the map from the matrix
Definition at line 462 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
Definition at line 473 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
get the ghosted map from the matrix
Definition at line 483 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
Definition at line 493 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
get the graph of the crs matrix
Definition at line 504 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
get the ghosted graph of the crs matrix
Definition at line 514 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
get importer for converting an overalapped object to a "normal" object
Definition at line 539 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
Definition at line 550 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
get exporter for converting an overalapped object to a "normal" object
Definition at line 564 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
Definition at line 575 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
get exporter for converting an overalapped object to a "normal" object
Definition at line 1029 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
inlinevirtual |
Get the domain global indexer this factory was created with. For a non-square factory this is the column provider; it is the row provider only when no separate column provider was supplied.
Implements panzer::LinearObjFactory< Traits >.
Definition at line 273 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
inlinevirtual |
Get the domain global indexer this factory was created with.
Implements panzer::LinearObjFactory< Traits >.
Definition at line 277 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
virtual |
Open a container for filling. Takes either a ghosted or an owned container.
AssemblyEngine calls this on both, so nothing here may assume which it was handed. Use the two-argument overload for the ghosted container when the owned one it will be migrated into is known.
Reimplemented from panzer::LinearObjFactory< Traits >.
Definition at line 1055 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
Open the ghosted container for filling, giving it the owned container's matrix.
Under FE assembly the ghosted container holds no matrix of its own; this is where it borrows the owned one. Outside FE assembly it is exactly beginFill(ghostContainer).
Reimplemented from panzer::LinearObjFactory< Traits >.
Definition at line 1036 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
Close a container after filling. Takes either a ghosted or an owned container.
As with beginFill, AssemblyEngine calls this on both.
Reimplemented from panzer::LinearObjFactory< Traits >.
Definition at line 1116 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
virtual |
Close the ghosted container after filling, returning the borrowed matrix.
The counterpart of beginFill(ghostContainer,container). Outside FE assembly it is exactly endFill(ghostContainer).
Reimplemented from panzer::LinearObjFactory< Traits >.
Definition at line 1097 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
protected |
Definition at line 154 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
protected |
Definition at line 168 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
protected |
Definition at line 185 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
protectedvirtual |
Definition at line 592 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
protectedvirtual |
Definition at line 605 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
protectedvirtual |
Definition at line 622 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
protectedvirtual |
Definition at line 636 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
protectedvirtual |
Definition at line 653 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
protectedvirtual |
Definition at line 676 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
protectedvirtual |
Definition at line 780 of file Panzer_TpetraLinearObjFactory_impl.hpp.
|
protected |
Definition at line 323 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
mutableprotected |
Definition at line 324 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
mutableprotected |
Definition at line 325 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
mutableprotected |
Definition at line 326 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
mutableprotected |
Definition at line 327 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
mutableprotected |
Definition at line 328 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
mutableprotected |
Definition at line 329 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
mutableprotected |
Definition at line 330 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
mutableprotected |
Which FE matrix (if any) currently has an assembly open, tracked so the paired beginFill()/endFill() calls AssemblyEngine makes on the ghosted AND global containers – which in FE mode hold the same matrix – collapse into a single beginAssembly()/endAssembly() pair.
This cannot be derived from the matrix itself: Tpetra::FECrsMatrix keeps its assembly state in a private fillState_ member with no public accessor, and the public isFillActive()/isFillComplete() report the underlying CrsMatrix fill state, which is decoupled from it – a freshly built FECrsMatrix is fill-active while its fillState_ is still "closed", so those are not usable as a proxy.
Non-owning: only ever compared for identity, never dereferenced.
Definition at line 345 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
mutableprotected |
Definition at line 346 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
mutableprotected |
Definition at line 347 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
mutableprotected |
Definition at line 348 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
mutableprotected |
Definition at line 349 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
protected |
Definition at line 351 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
protected |
Definition at line 352 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
protected |
Definition at line 354 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
protected |
Definition at line 355 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
mutableprotected |
Definition at line 357 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
mutableprotected |
Definition at line 358 of file Panzer_TpetraLinearObjFactory_decl.hpp.
|
mutableprotected |
Definition at line 359 of file Panzer_TpetraLinearObjFactory_decl.hpp.