Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Typedefs | Functions | Variables
Stokhos_SDMUtilsUnitTest.cpp File Reference
#include "Teuchos_UnitTestHarness.hpp"
#include "Teuchos_TestingHelpers.hpp"
#include "Teuchos_UnitTestRepository.hpp"
#include "Teuchos_GlobalMPISession.hpp"
#include "Stokhos_SDMUtils.hpp"
#include "Stokhos_UnitTestHelpers.hpp"
Include dependency graph for Stokhos_SDMUtilsUnitTest.cpp:

Go to the source code of this file.

Namespaces

 SDMUtilsUnitTest
 

Typedefs

typedef int SDMUtilsUnitTest::ordinal_type
 
typedef double SDMUtilsUnitTest::scalar_type
 
typedef
Teuchos::SerialDenseMatrix
< ordinal_type, scalar_type > 
SDMUtilsUnitTest::SDM
 
typedef void(* SDMUtilsUnitTest::qr_func_type )(ordinal_type, const SDM &, const Teuchos::Array< scalar_type > &, SDM &, SDM &)
 
typedef void(* SDMUtilsUnitTest::cpqr_func_type )(const SDM &, SDM &, SDM &, Teuchos::Array< ordinal_type > &)
 
typedef ordinal_type(* SDMUtilsUnitTest::wcpqr_func_type )(const scalar_type &, const SDM &, const Teuchos::Array< scalar_type > &, SDM &, SDM &, Teuchos::Array< ordinal_type > &)
 

Functions

void SDMUtilsUnitTest::generateRandomMatrix (SDM &A, ordinal_type rank)
 
bool SDMUtilsUnitTest::test_QR (qr_func_type qr_func, ordinal_type m, ordinal_type n, scalar_type rtol, scalar_type atol, Teuchos::FancyOStream &out)
 
bool SDMUtilsUnitTest::test_CPQR (cpqr_func_type qr_func, ordinal_type m, ordinal_type n, scalar_type rtol, scalar_type atol, Teuchos::FancyOStream &out)
 
bool SDMUtilsUnitTest::test_weighted_CPQR (wcpqr_func_type qr_func, ordinal_type m, ordinal_type n, ordinal_type k, scalar_type rtol, scalar_type atol, Teuchos::FancyOStream &out)
 
 SDMUtilsUnitTest::TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, QR_CGS_TallSkinny)
 
 SDMUtilsUnitTest::TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, QR_CGS_ShortFat)
 
 SDMUtilsUnitTest::TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, QR_MGS_TallSkinny)
 
 SDMUtilsUnitTest::TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, QR_MGS_ShortFat)
 
 SDMUtilsUnitTest::TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, QR_MGS2_TallSkinny)
 
 SDMUtilsUnitTest::TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, QR_MGS2_ShortFat)
 
 SDMUtilsUnitTest::TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, QR_Householder_TallSkinny)
 
 SDMUtilsUnitTest::TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, QR_Householder_ShortFat)
 
 SDMUtilsUnitTest::TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, CPQR_Householder3_TallSkinny)
 
 SDMUtilsUnitTest::TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, CPQR_Householder3_ShortFat)
 
 SDMUtilsUnitTest::TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, CPQR_Householder_threshold_TallSkinny)
 
 SDMUtilsUnitTest::TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, CPQR_Householder_threshold_ShortFat)
 
 SDMUtilsUnitTest::TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, CPQR_MGS_threshold_TallSkinny)
 
 SDMUtilsUnitTest::TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, CPQR_MGS_threshold_ShortFat)
 
 SDMUtilsUnitTest::TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, CPQR_MGS_reorthog_threshold_TallSkinny)
 
 SDMUtilsUnitTest::TEUCHOS_UNIT_TEST (Stokhos_SDMUtils, CPQR_MGS_reorthog_threshold_ShortFat)
 
int main (int argc, char *argv[])
 

Variables

scalar_type SDMUtilsUnitTest::rtol = 1.0e-11
 
scalar_type SDMUtilsUnitTest::atol = 1.0e-11
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 270 of file Stokhos_SDMUtilsUnitTest.cpp.