Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
Functions | |
Teuchos::RCP< Epetra_CrsGraph > | buildAdaptedGraph (const Epetra_CrsGraph &determGraph, const Teuchos::RCP< const Stokhos::ProductBasis< int, double > > &masterBasis, const std::vector< Teuchos::RCP< const Stokhos::ProductBasis< int, double > > > &per_dof_row_basis, bool onlyUseLinear=false, int kExpOrder=-1) |
Teuchos::RCP< Epetra_CrsGraph > | buildAdaptedGraph (const Epetra_CrsGraph &determGraph, const Teuchos::RCP< const Stokhos::ProductBasis< int, double > > &masterBasis, const std::vector< Teuchos::RCP< const Stokhos::ProductBasis< int, double > > > &per_dof_row_basis, std::vector< int > &myRowGidOffsets, std::vector< int > &myColGidOffsets, bool onlyUseLinear=false, int kExpOrder=-1) |
Teuchos::RCP< Epetra_Map > | buildAdaptedRowMapAndOffsets (const Epetra_Comm &Comm, const std::vector< Teuchos::RCP< const Stokhos::ProductBasis< int, double > > > &per_dof_row_basis, std::vector< int > &myRowGidOffsets) |
Teuchos::RCP< Epetra_Map > | buildAdaptedRowMap (const Epetra_Comm &Comm, const std::vector< Teuchos::RCP< const Stokhos::ProductBasis< int, double > > > &per_dof_row_basis) |
void | buildAdaptedColOffsets (const Epetra_CrsGraph &determGraph, const std::vector< int > &myRowGidOffsets, std::vector< int > &myColGidOffsets) |
void | buildColBasisFunctions (const Epetra_CrsGraph &determGraph, const Teuchos::RCP< const Stokhos::ProductBasis< int, double > > &masterBasis, const std::vector< Teuchos::RCP< const Stokhos::ProductBasis< int, double > > > &per_dof_row_basis, std::vector< Teuchos::RCP< const Stokhos::ProductBasis< int, double > > > &per_dof_col_basis) |
Teuchos::RCP< Epetra_CrsGraph > Stokhos::adapt_utils::buildAdaptedGraph | ( | const Epetra_CrsGraph & | determGraph, |
const Teuchos::RCP< const Stokhos::ProductBasis< int, double > > & | masterBasis, | ||
const std::vector< Teuchos::RCP< const Stokhos::ProductBasis< int, double > > > & | per_dof_row_basis, | ||
bool | onlyUseLinear = false , |
||
int | kExpOrder = -1 |
||
) |
Builds and returns an adapted graph given a set of row basis functions. This does all required global communication to construct this graph.
Definition at line 176 of file Stokhos_AdaptivityUtils.cpp.
Teuchos::RCP< Epetra_CrsGraph > Stokhos::adapt_utils::buildAdaptedGraph | ( | const Epetra_CrsGraph & | determGraph, |
const Teuchos::RCP< const Stokhos::ProductBasis< int, double > > & | masterBasis, | ||
const std::vector< Teuchos::RCP< const Stokhos::ProductBasis< int, double > > > & | per_dof_row_basis, | ||
std::vector< int > & | myRowGidOffsets, | ||
std::vector< int > & | myColGidOffsets, | ||
bool | onlyUseLinear = false , |
||
int | kExpOrder = -1 |
||
) |
Builds and returns an adapted graph given a set of row basis functions. This does all required global communication to construct this graph.
Definition at line 188 of file Stokhos_AdaptivityUtils.cpp.
Teuchos::RCP< Epetra_Map > Stokhos::adapt_utils::buildAdaptedRowMapAndOffsets | ( | const Epetra_Comm & | Comm, |
const std::vector< Teuchos::RCP< const Stokhos::ProductBasis< int, double > > > & | per_dof_row_basis, | ||
std::vector< int > & | myRowGidOffsets | ||
) |
Construct a row map that is appropriate for the set of adapted basis functions.
[in] | determGraph | Graph for the deterministic problem |
[in] | per_dof_row_basis | Stochastic basis functions for each deterministic degree of freedom |
[out] | myRowGidOffsets | Will be of length per_dof_row_basis.size() on exit. All data will be overwritten. This contains the starting GID of each deterministic degree of freedom. |
Definition at line 51 of file Stokhos_AdaptivityUtils.cpp.
Teuchos::RCP< Epetra_Map > Stokhos::adapt_utils::buildAdaptedRowMap | ( | const Epetra_Comm & | Comm, |
const std::vector< Teuchos::RCP< const Stokhos::ProductBasis< int, double > > > & | per_dof_row_basis | ||
) |
Construct a row map that is appropriate for the set of adapted basis functions.
Definition at line 74 of file Stokhos_AdaptivityUtils.cpp.
void Stokhos::adapt_utils::buildAdaptedColOffsets | ( | const Epetra_CrsGraph & | determGraph, |
const std::vector< int > & | myRowGidOffsets, | ||
std::vector< int > & | myColGidOffsets | ||
) |
Build offsets mapping a local column id to a GID. Note that this function requires parallel communication (for parallel code).
[in] | determGraph | Graph for the deterministic problem |
[in] | myRowGidOffsets | Computed by buildAdaptedRowMapAndColOffsets |
[out] | myRowGidOffsets | Will be of length determGraph.ColMap().NumMyElements() on exit. All data will be overwritten. This contains the starting GID of each deterministic degree of freedom in the column map. |
Definition at line 87 of file Stokhos_AdaptivityUtils.cpp.
void Stokhos::adapt_utils::buildColBasisFunctions | ( | const Epetra_CrsGraph & | determGraph, |
const Teuchos::RCP< const Stokhos::ProductBasis< int, double > > & | masterBasis, | ||
const std::vector< Teuchos::RCP< const Stokhos::ProductBasis< int, double > > > & | per_dof_row_basis, | ||
std::vector< Teuchos::RCP< const Stokhos::ProductBasis< int, double > > > & | per_dof_col_basis | ||
) |
Use the deterministic graph and the basis function on this processor to determine the basis functions for all the column entries on this processor. Note that this function requires parallel communication (for parallel code).
[in] | determGraph | Graph for the deterministic problem |
[in] | per_dof_row_basis | Stochastic basis functions for each deterministic degree of freedom |
[out] | per_dof_col_basis | Stochastic basis functions for each degree of freedom in the deterministic column map. |
Definition at line 109 of file Stokhos_AdaptivityUtils.cpp.