Intrepid2
Enumerations | Functions
Intrepid2_Utils_ExtData.hpp File Reference

Header file for external data utility functions. More...

#include "Intrepid2_ConfigDefs.hpp"
#include "Intrepid2_Types.hpp"
#include "Teuchos_oblackholestream.hpp"
#include "Teuchos_RCP.hpp"
#include "Intrepid2_Utils_ExtDataDef.hpp"

Go to the source code of this file.

Enumerations

enum  TypeOfExactData { INTREPID2_UTILS_FRACTION = 0, INTREPID2_UTILS_SCALAR }
 Declarations of templated utility functions. More...
 

Functions

template<typename ValueType , class... testMatProperties>
ordinal_type Intrepid2::compareToAnalytic (std::ifstream &inputFile, const Kokkos::DynRankView< ValueType, testMatProperties...> testMat, const ValueType reltol, const ordinal_type iprint, const TypeOfExactData analyticDataType=INTREPID2_UTILS_FRACTION)
 Compares the values in the test matrix testMat to precomputed analytic values stored in a file, where the input matrix is an array of arrays. More...
 
template<typename ValueType , class... testMatProperties>
void Intrepid2::getAnalytic (Kokkos::DynRankView< ValueType, testMatProperties...> testMat, std::ifstream &inputFile, const TypeOfExactData analyticDataType=INTREPID2_UTILS_FRACTION)
 Loads analytic values stored in a file into the matrix testMat, where the output matrix is an array of arrays. More...
 

Detailed Description

Header file for external data utility functions.

Author
Created by P. Bochev and D. Ridzal and Kyungjoo Kim.

Definition in file Intrepid2_Utils_ExtData.hpp.