#include <Stokhos_AdaptivityManager.hpp>
|
| | AdaptivityManager (const Teuchos::RCP< const Stokhos::ProductBasis< int, double > > &sg_master_basis, const std::vector< Teuchos::RCP< const Stokhos::ProductBasis< int, double > > > &sg_basis_row_dof, const Epetra_CrsGraph &determ_graph, bool onlyUseLinear, int kExpOrder, bool scaleOp=true) |
| |
| | AdaptivityManager (const Teuchos::RCP< const Stokhos::ProductBasis< int, double > > &sg_master_basis, const std::vector< Teuchos::RCP< const Stokhos::ProductBasis< int, double > > > &sg_basis_row_dof, const Epetra_Comm &comm, bool scaleOp=true) |
| |
| int | getGlobalColId (int determLid, int basisIndex) const |
| |
| int | getGlobalRowId (int determLid, int basisIndex) const |
| |
| Teuchos::RCP< Epetra_CrsMatrix > | buildMatrixFromGraph () const |
| |
| void | setupWithGraph (const Epetra_CrsGraph &graph, bool onlyUseLinear, int kExpOrder) |
| |
| Teuchos::RCP< const Epetra_Map > | getAdaptedMap () const |
| |
| void | setupOperator (Epetra_CrsMatrix &A, const Sparse3Tensor< int, double > &Cijk, Stokhos::EpetraOperatorOrthogPoly &poly, bool onlyUseLinear=false, bool includeMean=true) const |
| |
| void | sumInOperator (Epetra_CrsMatrix &A, const Stokhos::Sparse3Tensor< int, double > &Cijk, int k, const Epetra_CrsMatrix &J_k) const |
| |
| void | copyToAdaptiveVector (const Stokhos::EpetraVectorOrthogPoly &x_sg, Epetra_Vector &x) const |
| |
| void | copyFromAdaptiveVector (const Epetra_Vector &x, Stokhos::EpetraVectorOrthogPoly &x_sg) const |
| |
| int | getRowStochasticBasisSize (int determLid) const |
| |
| int | getColStochasticBasisSize (int determLid) const |
| |
| Teuchos::RCP< const Stokhos::ProductBasis< int, double > > | getMasterStochasticBasis () const |
| |
| Teuchos::RCP< const Stokhos::ProductBasis< int, double > > | getRowStochasticBasis (int determLid) const |
| |
| const std::vector< Teuchos::RCP< const Stokhos::ProductBasis< int, double > > > & | getRowStochasticBasis () const |
| |
| Teuchos::RCP< const Stokhos::ProductBasis< int, double > > | getColStochasticBasis (int determLid) const |
| |
| bool | isScaled () |
| |
Describes and constructs all things needed for adaptivity.
Definition at line 71 of file Stokhos_AdaptivityManager.hpp.
◆ AdaptivityManager() [1/2]
◆ AdaptivityManager() [2/2]
◆ getGlobalColId()
| int Stokhos::AdaptivityManager::getGlobalColId |
( |
int |
determLid, |
|
|
int |
basisIndex |
|
) |
| const |
|
inline |
Given a deterministic local column ID and a basis index determine the global column ID in the fully assembled system.
- Parameters
-
| [in] | determLid | Deterministic local column ID |
| [in] | basisIndex | Index into the stochastic basis associated with this column ID. |
- Returns
- Associated index in the global system.
- Note
- basisIndex must be less than getRowStochasticBasisSize(determLid)
Definition at line 97 of file Stokhos_AdaptivityManager.hpp.
◆ getGlobalRowId()
| int Stokhos::AdaptivityManager::getGlobalRowId |
( |
int |
determLid, |
|
|
int |
basisIndex |
|
) |
| const |
|
inline |
Given a deterministic local row ID and a basis index determine the global row ID in the fully assembled system.
- Parameters
-
| [in] | determLid | Deterministic local row ID |
| [in] | basisIndex | Index into the stochastic basis associated with this row ID. |
- Returns
- Associated index in the global system.
- Note
- basisIndex must be less than getRowStochasticBasisSize(determLid)
Definition at line 111 of file Stokhos_AdaptivityManager.hpp.
◆ buildMatrixFromGraph()
| Teuchos::RCP< Epetra_CrsMatrix > Stokhos::AdaptivityManager::buildMatrixFromGraph |
( |
| ) |
const |
◆ setupWithGraph()
| void Stokhos::AdaptivityManager::setupWithGraph |
( |
const Epetra_CrsGraph & |
graph, |
|
|
bool |
onlyUseLinear, |
|
|
int |
kExpOrder |
|
) |
| |
◆ getAdaptedMap()
| Teuchos::RCP<const Epetra_Map> Stokhos::AdaptivityManager::getAdaptedMap |
( |
| ) |
const |
|
inline |
◆ setupOperator()
◆ sumInOperator() [1/2]
◆ copyToAdaptiveVector()
◆ copyFromAdaptiveVector()
◆ getRowStochasticBasisSize()
| int Stokhos::AdaptivityManager::getRowStochasticBasisSize |
( |
int |
determLid | ) |
const |
|
inline |
How many stochastic degrees of freedom are associated with a particular deterministic row degree of freedom.
Definition at line 148 of file Stokhos_AdaptivityManager.hpp.
◆ getColStochasticBasisSize()
| int Stokhos::AdaptivityManager::getColStochasticBasisSize |
( |
int |
determLid | ) |
const |
|
inline |
How many stochastic degrees of freedom are associated with a particular deterministic row degree of freedom.
Definition at line 154 of file Stokhos_AdaptivityManager.hpp.
◆ getMasterStochasticBasis()
◆ getRowStochasticBasis() [1/2]
◆ getRowStochasticBasis() [2/2]
| const std::vector<Teuchos::RCP<const Stokhos::ProductBasis<int,double> > >& Stokhos::AdaptivityManager::getRowStochasticBasis |
( |
| ) |
const |
|
inline |
◆ getColStochasticBasis()
◆ isScaled()
| bool Stokhos::AdaptivityManager::isScaled |
( |
| ) |
|
|
inline |
◆ sumInOperator() [2/2]
◆ sg_master_basis_
◆ sg_basis_row_dof_
◆ sg_basis_col_dof_
◆ myRowGidOffsets_
| std::vector<int> Stokhos::AdaptivityManager::myRowGidOffsets_ |
|
private |
◆ myColGidOffsets_
| std::vector<int> Stokhos::AdaptivityManager::myColGidOffsets_ |
|
private |
◆ graph_
◆ rowMap_
| Teuchos::RCP<Epetra_Map> Stokhos::AdaptivityManager::rowMap_ |
|
private |
◆ scaleOp_
| bool Stokhos::AdaptivityManager::scaleOp_ |
|
private |
The documentation for this class was generated from the following files: