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 36 of file Stokhos_AdaptivityToolsUnitTest.cpp.

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

Definition at line 69 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 106 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 110 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 129 of file Stokhos_AdaptivityToolsUnitTest.cpp.

TEUCHOS_UNIT_TEST ( tAdaptivityManager  ,
test_interface   
)

Definition at line 147 of file Stokhos_AdaptivityToolsUnitTest.cpp.

TEUCHOS_UNIT_TEST ( tAdaptivityManager  ,
sum_in_op_eq_order   
)

Definition at line 192 of file Stokhos_AdaptivityToolsUnitTest.cpp.

TEUCHOS_UNIT_TEST ( tAdaptivityManager  ,
sum_in_op_var_order   
)

Definition at line 337 of file Stokhos_AdaptivityToolsUnitTest.cpp.

TEUCHOS_UNIT_TEST ( tBuildAdaptLA  ,
test_uniform   
)

Definition at line 434 of file Stokhos_AdaptivityToolsUnitTest.cpp.

TEUCHOS_UNIT_TEST ( tBuildAdaptLA  ,
test_graph   
)

Definition at line 505 of file Stokhos_AdaptivityToolsUnitTest.cpp.