Intrepid2
|
Definition file for utility functions for handling external data in tests. More...
Go to the source code of this file.
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. | |
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. | |
Definition file for utility functions for handling external data in tests.
Definition in file Intrepid2_Utils_ExtDataDef.hpp.
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.
inputFile | [in] - input file |
testMat | [in] - test matrix |
reltol | [in] - relative tolerance for equality comparisons |
iprint | [in] - if 0, no output; if 1, details are printed |
analyticDataType | [in] - type of analytic data for comparison:
|
Definition at line 61 of file Intrepid2_Utils_ExtDataDef.hpp.
References Intrepid2::compareToAnalytic().
Referenced by Intrepid2::compareToAnalytic().
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.
testMat | [in] - test matrix |
inputFile | [in] - input file |
analyticDataType | [in] - type of analytic data for comparison:
|
Definition at line 143 of file Intrepid2_Utils_ExtDataDef.hpp.
References Intrepid2::getAnalytic().
Referenced by Intrepid2::getAnalytic().