Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
Stokhos_AdaptivityToolsUnitTest.cpp File Reference
#include <Teuchos_ConfigDefs.hpp>
#include <Teuchos_UnitTestHarness.hpp>
#include <Teuchos_TimeMonitor.hpp>
#include <Teuchos_RCP.hpp>
#include "Stokhos_InterlacedTestSupport.hpp"
#include "Stokhos_BasisInteractionGraph.hpp"
#include "Stokhos_EpetraSparse3Tensor.hpp"
#include "Stokhos_ParallelData.hpp"
#include "Stokhos_AdaptivityManager.hpp"
#include "Stokhos_AdaptivityUtils.hpp"
#include "Epetra_SerialComm.h"
#include "EpetraExt_MultiSerialComm.h"
#include "Epetra_CrsGraph.h"
#include "EpetraExt_RowMatrixOut.h"
Include dependency graph for Stokhos_AdaptivityToolsUnitTest.cpp:

Go to the source code of this file.

Functions

Teuchos::RCP< Epetra_CrsGraphbuildTridiagonalGraph (int numUnks, const Epetra_Comm &Comm)
 
Teuchos::RCP< Epetra_CrsMatrixbuildTridiagonalOp (const Epetra_CrsGraph &graph, double *stencil)
 
template<typename ScalarT , typename OrdinalT >
bool ord_func (std::pair< ScalarT, OrdinalT > const &a, std::pair< ScalarT, OrdinalT > const &b)
 
template<typename ScalarT >
void generate_sorted_order (const std::vector< ScalarT > &values, std::vector< std::size_t > &order)
 
template<typename ScalarT >
void apply_ordering (std::vector< ScalarT > &values, const std::vector< std::size_t > &order)
 
 TEUCHOS_UNIT_TEST (tAdaptivityManager, test_interface)
 
 TEUCHOS_UNIT_TEST (tAdaptivityManager, sum_in_op_eq_order)
 
 TEUCHOS_UNIT_TEST (tAdaptivityManager, sum_in_op_var_order)
 
 TEUCHOS_UNIT_TEST (tBuildAdaptLA, test_uniform)
 
 TEUCHOS_UNIT_TEST (tBuildAdaptLA, test_graph)
 

Function Documentation

Teuchos::RCP<Epetra_CrsGraph> buildTridiagonalGraph ( int  numUnks,
const Epetra_Comm Comm 
)

Definition at line 70 of file Stokhos_AdaptivityToolsUnitTest.cpp.

Teuchos::RCP<Epetra_CrsMatrix> buildTridiagonalOp ( const Epetra_CrsGraph graph,
double stencil 
)

Definition at line 103 of file Stokhos_AdaptivityToolsUnitTest.cpp.

template<typename ScalarT , typename OrdinalT >
bool ord_func ( std::pair< ScalarT, OrdinalT > const &  a,
std::pair< ScalarT, OrdinalT > const &  b 
)

Definition at line 140 of file Stokhos_AdaptivityToolsUnitTest.cpp.

template<typename ScalarT >
void generate_sorted_order ( const std::vector< ScalarT > &  values,
std::vector< std::size_t > &  order 
)

Definition at line 144 of file Stokhos_AdaptivityToolsUnitTest.cpp.

template<typename ScalarT >
void apply_ordering ( std::vector< ScalarT > &  values,
const std::vector< std::size_t > &  order 
)

Definition at line 163 of file Stokhos_AdaptivityToolsUnitTest.cpp.

TEUCHOS_UNIT_TEST ( tAdaptivityManager  ,
test_interface   
)

Definition at line 181 of file Stokhos_AdaptivityToolsUnitTest.cpp.

TEUCHOS_UNIT_TEST ( tAdaptivityManager  ,
sum_in_op_eq_order   
)

Definition at line 226 of file Stokhos_AdaptivityToolsUnitTest.cpp.

TEUCHOS_UNIT_TEST ( tAdaptivityManager  ,
sum_in_op_var_order   
)

Definition at line 371 of file Stokhos_AdaptivityToolsUnitTest.cpp.

TEUCHOS_UNIT_TEST ( tBuildAdaptLA  ,
test_uniform   
)

Definition at line 468 of file Stokhos_AdaptivityToolsUnitTest.cpp.

TEUCHOS_UNIT_TEST ( tBuildAdaptLA  ,
test_graph   
)

Definition at line 539 of file Stokhos_AdaptivityToolsUnitTest.cpp.