Intrepid
Defines | Functions
http://trilinos.sandia.gov/packages/docs/r10.12/packages/intrepid/test/Discretization/Integration/test_01.cpp File Reference

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

#include "Intrepid_CubatureDirectLineGauss.hpp"
#include "Intrepid_CubatureDirectTriDefault.hpp"
#include "Intrepid_CubatureDirectTetDefault.hpp"
#include "Intrepid_CubatureTensor.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.

Defines

#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.


Define 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 62 of file test_01.cpp.