PeriDEM 0.2.0
PeriDEM -- Peridynamics-based high-fidelity model for granular media
|
#include <string>
#include <vector>
Go to the source code of this file.
Namespaces | |
namespace | test |
Namespace to group the methods used in testing of the library. | |
Functions | |
double | test::getExactIntegrationRefTri (size_t alpha, size_t beta) |
Computes integration of polynomial exactly over reference triangle. | |
double | test::getExactIntegrationRefQuad (size_t alpha, size_t beta) |
Computes integration of polynomial exactly over reference quadrangle. | |
double | test::getExactIntegrationRefTet (size_t alpha, size_t beta, size_t theta) |
Computes integration of polynomial exactly over reference tetrahedral. | |
double | test::getNChooseR (size_t n, size_t r) |
Computes \( {n\choose r}\) "n choose r". | |
void | test::testLineElem (size_t n, std::string filepath) |
Perform test on quadrature points on line elements (NOT IMPLEMENTED) | |
void | test::testTriElem (size_t n, std::string filepath) |
Perform test on quadrature points on triangle elements. | |
void | test::testQuadElem (size_t n, std::string filepath) |
Perform test on quadrature points on quadrangle elements. | |
void | test::testTetElem (size_t n, std::string filepath) |
Perform test on quadrature points on tetrahedral elements. | |
void | test::testTriElemTime (size_t n, size_t N) |
Computes the time needed when quad data for elements are stored and when they are computed as and when needed. | |