Intrepid
Macros | Functions
test_01.cpp File Reference

Unit test (CubatureDirect,CubatureTensor): correctness of volume computations for reference cells. More...

#include "Intrepid_CubatureDirectLineGauss.hpp"
#include "Intrepid_CubatureDirectLineGaussJacobi20.hpp"
#include "Intrepid_CubatureDirectTriDefault.hpp"
#include "Intrepid_CubatureDirectTetDefault.hpp"
#include "Intrepid_CubatureTensor.hpp"
#include "Intrepid_CubatureTensorPyr.hpp"
#include "Shards_CellTopology.hpp"
#include "Teuchos_oblackholestream.hpp"
#include "Teuchos_RCP.hpp"
#include "Teuchos_GlobalMPISession.hpp"

Go to the source code of this file.

Macros

#define INTREPID_TEST_COMMAND(S)
 

Functions

double computeRefVolume (shards::CellTopology &cellTopology, int cubDegree)
 
int main (int argc, char *argv[])
 

Detailed Description

Unit test (CubatureDirect,CubatureTensor): correctness of volume computations for reference cells.

Author
Created by P. Bochev and D. Ridzal.

Definition in file test_01.cpp.

Macro Definition Documentation

#define INTREPID_TEST_COMMAND (   S)
Value:
{ \
try { \
S ; \
} \
catch (std::logic_error err) { \
*outStream << "Expected Error ----------------------------------------------------------------\n"; \
*outStream << err.what() << '\n'; \
*outStream << "-------------------------------------------------------------------------------" << "\n\n"; \
}; \
}

Definition at line 64 of file test_01.cpp.