|
Intrepid2
|
Options for PAMatrix::assemble(). The defaults are appropriate in most cases; the other settings are primarily for testing and performance comparison. More...
#include <Intrepid2_PAMatrix.hpp>
Public Types | |
| enum class | Algorithm { Automatic , UnitColumns , ApplyToColumns } |
| Algorithm used by assemble(). More... | |
| enum class | SparseLastStage { Automatic , Always , Never } |
| Use of the sparse last stage in the direct path when ordinal filters are present. More... | |
Static Public Member Functions | |
| static PAMatrixAssemblyOptions | defaultsWithEnvironmentOverrides () |
| Returns default options, overridden by any of the following environment variables (for testing and performance comparison without recompiling): | |
Public Attributes | |
| Algorithm | algorithm = Algorithm::Automatic |
| double | workspaceMB = 512.0 |
| Workspace budget, in MB, used to choose the workset size for assembly. | |
| SparseLastStage | sparseLastStage = SparseLastStage::Automatic |
Options for PAMatrix::assemble(). The defaults are appropriate in most cases; the other settings are primarily for testing and performance comparison.
Definition at line 38 of file Intrepid2_PAMatrix.hpp.
|
strong |
Algorithm used by assemble().
Definition at line 41 of file Intrepid2_PAMatrix.hpp.
|
strong |
Use of the sparse last stage in the direct path when ordinal filters are present.
| Enumerator | |
|---|---|
| Automatic | used when fewer than a quarter of the (row, column) pairs of the unfiltered matrix are kept |
| Always | used whenever there is an ordinal filter |
Definition at line 53 of file Intrepid2_PAMatrix.hpp.
|
inlinestatic |
Returns default options, overridden by any of the following environment variables (for testing and performance comparison without recompiling):
Definition at line 290 of file Intrepid2_PAMatrixDef.hpp.
References Always, ApplyToColumns, Automatic, UnitColumns, and workspaceMB.
Referenced by Intrepid2::PAMatrix< DeviceType, Scalar >::PAMatrix().
| Algorithm Intrepid2::PAMatrixAssemblyOptions::algorithm = Algorithm::Automatic |
Definition at line 47 of file Intrepid2_PAMatrix.hpp.
| SparseLastStage Intrepid2::PAMatrixAssemblyOptions::sparseLastStage = SparseLastStage::Automatic |
Definition at line 59 of file Intrepid2_PAMatrix.hpp.
| double Intrepid2::PAMatrixAssemblyOptions::workspaceMB = 512.0 |
Workspace budget, in MB, used to choose the workset size for assembly.
Definition at line 50 of file Intrepid2_PAMatrix.hpp.
Referenced by Intrepid2::PAMatrix< DeviceType, Scalar >::assembleByApply(), Intrepid2::PAMatrix< DeviceType, Scalar >::assembleDirect(), Intrepid2::PAMatrix< DeviceType, Scalar >::assembleUnitColumns(), and defaultsWithEnvironmentOverrides().